This commit is contained in:
2023-04-28 11:46:58 +03:00
parent 7d6cda7119
commit aaf0857ff0
38 changed files with 744 additions and 86 deletions

View File

@@ -9,8 +9,8 @@ import (
// Request struct for get list types of disks
type ListTypesRequest struct {
// Show detailed disk types by seps
// Required: false
Detailed bool `url:"detailed,omitempty" json:"detailed,omitempty"`
// Required: true
Detailed bool `url:"detailed" json:"detailed" validate:"required"`
}
// ListTypes gets list defined disk types

View File

@@ -377,7 +377,7 @@ type RecordDisk struct {
ParentID uint64 `json:"parentId"`
// PCI slot
PCISlot uint64 `json:"pciSlot"`
PCISlot int64 `json:"pciSlot"`
// Pool
Pool string `json:"pool"`