diff --git a/.openapi/kas-fleet-manager.yaml b/.openapi/kas-fleet-manager.yaml index 4b9e579a..7bb706a3 100644 --- a/.openapi/kas-fleet-manager.yaml +++ b/.openapi/kas-fleet-manager.yaml @@ -1259,7 +1259,6 @@ components: $ref: "#/components/schemas/RegionCapacityListItem" required: - enabled - - supported_instance_types - capacity ServiceAccount: description: 'Service Account created in MAS-SSO for the Kafka Cluster for authentication' diff --git a/kafkamgmt/apiv1/client/api/openapi.yaml b/kafkamgmt/apiv1/client/api/openapi.yaml index 1d7d0420..25121f6a 100644 --- a/kafkamgmt/apiv1/client/api/openapi.yaml +++ b/kafkamgmt/apiv1/client/api/openapi.yaml @@ -1879,7 +1879,6 @@ components: required: - capacity - enabled - - supported_instance_types ServiceAccount: allOf: - $ref: '#/components/schemas/ObjectReference' diff --git a/kafkamgmt/apiv1/client/docs/CloudRegion.md b/kafkamgmt/apiv1/client/docs/CloudRegion.md index b8f054f4..0cbf2f89 100644 --- a/kafkamgmt/apiv1/client/docs/CloudRegion.md +++ b/kafkamgmt/apiv1/client/docs/CloudRegion.md @@ -15,7 +15,7 @@ Name | Type | Description | Notes ### NewCloudRegion -`func NewCloudRegion(enabled bool, supportedInstanceTypes []string, capacity []RegionCapacityListItem, ) *CloudRegion` +`func NewCloudRegion(enabled bool, capacity []RegionCapacityListItem, ) *CloudRegion` NewCloudRegion instantiates a new CloudRegion object This constructor will assign default values to properties that have it defined, diff --git a/kafkamgmt/apiv1/client/model_cloud_region.go b/kafkamgmt/apiv1/client/model_cloud_region.go index cf6ad9ce..a51a550c 100644 --- a/kafkamgmt/apiv1/client/model_cloud_region.go +++ b/kafkamgmt/apiv1/client/model_cloud_region.go @@ -38,10 +38,9 @@ type CloudRegion struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewCloudRegion(enabled bool, supportedInstanceTypes []string, capacity []RegionCapacityListItem) *CloudRegion { +func NewCloudRegion(enabled bool, capacity []RegionCapacityListItem) *CloudRegion { this := CloudRegion{} this.Enabled = enabled - this.SupportedInstanceTypes = supportedInstanceTypes this.Capacity = capacity return &this }