From 6ba1f67250212a7de4ba1d84720d8d2bd935b6f6 Mon Sep 17 00:00:00 2001 From: powervs-ibm <137309855+powervs-ibm@users.noreply.github.com> Date: Thu, 2 May 2024 08:36:31 -0500 Subject: [PATCH] Generated Swagger client from service-broker commit bfe8b85d361707cf82c025266813ecb7889a556c (#388) --- power/models/p_vm_instance_create.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/power/models/p_vm_instance_create.go b/power/models/p_vm_instance_create.go index 72d5e0cc..b01489d4 100644 --- a/power/models/p_vm_instance_create.go +++ b/power/models/p_vm_instance_create.go @@ -90,7 +90,7 @@ type PVMInstanceCreate struct { StorageAffinity *StorageAffinity `json:"storageAffinity,omitempty"` // The storage connection type - // Enum: [vSCSI] + // Enum: [vSCSI maxVolumeSupport] StorageConnection string `json:"storageConnection,omitempty"` // The storage connection type @@ -462,7 +462,7 @@ var pVmInstanceCreateTypeStorageConnectionPropEnum []interface{} func init() { var res []string - if err := json.Unmarshal([]byte(`["vSCSI"]`), &res); err != nil { + if err := json.Unmarshal([]byte(`["vSCSI","maxVolumeSupport"]`), &res); err != nil { panic(err) } for _, v := range res { @@ -474,6 +474,9 @@ const ( // PVMInstanceCreateStorageConnectionVSCSI captures enum value "vSCSI" PVMInstanceCreateStorageConnectionVSCSI string = "vSCSI" + + // PVMInstanceCreateStorageConnectionMaxVolumeSupport captures enum value "maxVolumeSupport" + PVMInstanceCreateStorageConnectionMaxVolumeSupport string = "maxVolumeSupport" ) // prop value enum