@@ -74,8 +74,9 @@ func (s *Storages) UnmarshalJSON(b []byte) error {
7474
7575// Storage represents a storage device
7676type Storage struct {
77- Access string `json:"access"`
78- License float64 `json:"license"`
77+ Access string `json:"access"`
78+ Encrypted Boolean `json:"encrypted"`
79+ License float64 `json:"license"`
7980 // TODO: Convert to boolean
8081 PartOfPlan string `json:"part_of_plan"`
8182 Size int `json:"size"`
@@ -148,7 +149,8 @@ type BackupRule struct {
148149
149150// ServerStorageDevice represents a storage device in the context of server requests or server details
150151type ServerStorageDevice struct {
151- Address string `json:"address"`
152+ Address string `json:"address"`
153+ Encrypted Boolean `json:"storage_encrypted"`
152154 // TODO: Convert to boolean
153155 PartOfPlan string `json:"part_of_plan"`
154156 UUID string `json:"storage"`
@@ -159,7 +161,7 @@ type ServerStorageDevice struct {
159161 BootDisk int `json:"boot_disk,string"`
160162}
161163
162- // StorageImportDetails represents the details of an ongoing or completed storge import operation.
164+ // StorageImportDetails represents the details of an ongoing or completed storage import operation.
163165type StorageImportDetails struct {
164166 ClientContentLength int `json:"client_content_length"`
165167 ClientContentType string `json:"client_content_type"`
0 commit comments