v1.5.0-gamma

This commit is contained in:
2023-06-30 11:21:47 +03:00
parent 29c7f143fe
commit f50f71ab0d
98 changed files with 2369 additions and 1150 deletions

View File

@@ -248,11 +248,24 @@ type ItemDiskUnattached struct {
VMID uint64 `json:"vmid"`
}
// List of disks searched
type ListSearchDisks []ItemDisk
// List of disks
type ListDisks []ItemDisk
type ListDisks struct {
// Data
Data []ItemDisk `json:"data"`
// Entry count
EntryCount uint64 `json:"entryCount"`
}
// List of unattached disks
type ListDisksUnattached []ItemDiskUnattached
type ListDisksUnattached struct {
Data []ItemDiskUnattached `json:"data"`
EntryCount uint64 `json:"entryCount"`
}
// Main information about snapshot
type ItemSnapshot struct {
@@ -262,6 +275,8 @@ type ItemSnapshot struct {
// Label
Label string `json:"label"`
ReferenceID string `json:"referenceId"`
// Resource ID
ResID string `json:"resId"`