From e06c06a210d541450de7ef313b42e5149dfaff92 Mon Sep 17 00:00:00 2001 From: powervs-ibm <137309855+powervs-ibm@users.noreply.github.com> Date: Tue, 20 Feb 2024 09:29:19 -0600 Subject: [PATCH] Generated Swagger client from service-broker commit 1934a037720ab008f5cb8142490f413804bf254d (#318) --- power/models/p_vm_instance_action.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/power/models/p_vm_instance_action.go b/power/models/p_vm_instance_action.go index 3c927919..ee89da8e 100644 --- a/power/models/p_vm_instance_action.go +++ b/power/models/p_vm_instance_action.go @@ -20,9 +20,9 @@ import ( // swagger:model PVMInstanceAction type PVMInstanceAction struct { - // Name of the action to take; can be start, stop, hard-reboot, soft-reboot, immediate-shutdown, reset-state + // Name of the action to take; can be start, stop, hard-reboot, soft-reboot, immediate-shutdown, reset-state, dhcp-ip-sync (on-prem only) // Required: true - // Enum: [start stop immediate-shutdown hard-reboot soft-reboot reset-state] + // Enum: [start stop immediate-shutdown hard-reboot soft-reboot reset-state dhcp-ip-sync] Action *string `json:"action"` } @@ -44,7 +44,7 @@ var pVmInstanceActionTypeActionPropEnum []interface{} func init() { var res []string - if err := json.Unmarshal([]byte(`["start","stop","immediate-shutdown","hard-reboot","soft-reboot","reset-state"]`), &res); err != nil { + if err := json.Unmarshal([]byte(`["start","stop","immediate-shutdown","hard-reboot","soft-reboot","reset-state","dhcp-ip-sync"]`), &res); err != nil { panic(err) } for _, v := range res { @@ -71,6 +71,9 @@ const ( // PVMInstanceActionActionResetDashState captures enum value "reset-state" PVMInstanceActionActionResetDashState string = "reset-state" + + // PVMInstanceActionActionDhcpDashIPDashSync captures enum value "dhcp-ip-sync" + PVMInstanceActionActionDhcpDashIPDashSync string = "dhcp-ip-sync" ) // prop value enum