From bda4ef33674598985e974f18f03a75b1aea57f0b Mon Sep 17 00:00:00 2001 From: powervs-ibm Date: Mon, 25 Mar 2024 20:19:15 +0000 Subject: [PATCH] Generated Swagger client from service-broker commit 70b0722398f5a64ea1e7bf1fbd07c6b3e7f8c9fc --- power/models/hostgroup_summary.go | 56 ---------------------------- power/models/p_vm_instance_create.go | 3 -- 2 files changed, 59 deletions(-) delete mode 100644 power/models/hostgroup_summary.go diff --git a/power/models/hostgroup_summary.go b/power/models/hostgroup_summary.go deleted file mode 100644 index 6112fd1d..00000000 --- a/power/models/hostgroup_summary.go +++ /dev/null @@ -1,56 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - "context" - - "github.com/go-openapi/strfmt" - "github.com/go-openapi/swag" -) - -// HostgroupSummary hostgroup summary -// -// swagger:model HostgroupSummary -type HostgroupSummary struct { - - // Whether the hostgroup is a primary or secondary hostgroup - Access string `json:"access,omitempty"` - - // Link to the hostgroup resource - Href string `json:"href,omitempty"` - - // Name of the hostgroup - Name string `json:"name,omitempty"` -} - -// Validate validates this hostgroup summary -func (m *HostgroupSummary) Validate(formats strfmt.Registry) error { - return nil -} - -// ContextValidate validates this hostgroup summary based on context it is used -func (m *HostgroupSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error { - return nil -} - -// MarshalBinary interface implementation -func (m *HostgroupSummary) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *HostgroupSummary) UnmarshalBinary(b []byte) error { - var res HostgroupSummary - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/power/models/p_vm_instance_create.go b/power/models/p_vm_instance_create.go index 14852eb4..1528dc54 100644 --- a/power/models/p_vm_instance_create.go +++ b/power/models/p_vm_instance_create.go @@ -21,9 +21,6 @@ import ( // swagger:model PVMInstanceCreate type PVMInstanceCreate struct { - // The name of the host or host group where to deploy the VM - DeployTarget string `json:"deployTarget,omitempty"` - // The deployment of a dedicated host DeploymentTarget *DeploymentTarget `json:"deploymentTarget,omitempty"`