package vmfolder // Detailed information about a folder type RecordVMFolder struct { // ID ID uint64 `json:"id"` // RG ID RGID uint64 `json:"rg_id"` // GID GID uint64 `json:"gid"` // Name of a folder Name string `json:"name"` // ACL ACL []ACL `json:"acl"` // Time of creation CreatedTime uint64 `json:"created_time"` // Parent ID ParentID uint64 `json:"parent_id"` // Status of a folder Status string `json:"status"` // Compute IDs ComputeIDs []uint64 `json:"compute_ids"` // Time of update UpdatedTime uint64 `json:"updated_time"` } // ACL type ACL struct { // Explicit Explicit bool `json:"explicit"` // Right Right string `json:"right"` // Status Status string `json:"status"` // Type Type string `json:"type"` // User group ID UserGroupID string `json:"userGroupId"` } // List of vm folders type ListVMFolder struct { // Entry count EntryCount uint64 `json:"entryCount"` // Data Data []ItemVMFolder `json:"data"` } // Detailed information about a folder item type ItemVMFolder struct { // Folder ID ID uint64 `json:"id"` // Parent ID ParentID uint64 `json:"parent_id"` // Name Name string `json:"name"` // ACL ACL []ACL `json:"acl"` // Status Status string `json:"status"` // VM count VMCount uint64 `json:"vm_count"` }