Skip to content

Commit 35cb8ef

Browse files
chore(all): re-generate OpenAPI client(s) (#658)
Co-authored-by: app-services-ci <[email protected]>
1 parent 6bc6222 commit 35cb8ef

9 files changed

+263
-3
lines changed

kafkamgmt/apiv1/client/api/openapi.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1673,6 +1673,7 @@ components:
16731673
billing_cloud_account_id: "123456789012"
16741674
marketplace: aws
16751675
billing_model: marketplace
1676+
cluster_id: 21grk30a21grk30a21grk30a21grk30a
16761677
KafkaRequestFailedCreationStatusExample:
16771678
value:
16781679
id: 1iSY6RQ3JKI8Q0OTmjQFd3ocFRg
@@ -2234,6 +2235,7 @@ components:
22342235
description: Schema for the request body sent to /kafkas POST
22352236
example:
22362237
reauthentication_enabled: true
2238+
cluster_id: cluster_id
22372239
marketplace: marketplace
22382240
billing_model: billing_model
22392241
billing_cloud_account_id: billing_cloud_account_id
@@ -2275,6 +2277,10 @@ components:
22752277
description: billing model to use
22762278
nullable: true
22772279
type: string
2280+
cluster_id:
2281+
description: enterprise OSD cluster ID to be used for kafka creation
2282+
nullable: true
2283+
type: string
22782284
required:
22792285
- name
22802286
type: object
@@ -2346,7 +2352,7 @@ components:
23462352
type: string
23472353
ams_product:
23482354
description: 'AMS product to be used. Accepted values: [''RHOSAK'', ''RHOSAKTrial'',
2349-
''RHOSAKEval'']'
2355+
''RHOSAKEval'', ''RHOSAKCC'']'
23502356
minLength: 1
23512357
type: string
23522358
ams_billing_models:
@@ -2760,6 +2766,11 @@ components:
27602766
description: 'Status of the Kafka request promotion. Possible values: [''promoting'',
27612767
''failed'']. If unset it means no promotion is in progress.'
27622768
type: string
2769+
cluster_id:
2770+
description: The ID of the data plane where Kafka is deployed on. This information
2771+
is only returned for kafka whose billing model is enterprise
2772+
nullable: true
2773+
type: string
27632774
promotion_details:
27642775
description: Details of the Kafka request promotion. It can be set when
27652776
a Kafka request promotion is in progress or has failed

kafkamgmt/apiv1/client/docs/KafkaRequest.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Name | Type | Description | Notes
3737
**Marketplace** | Pointer to **string** | | [optional]
3838
**BillingModel** | Pointer to **string** | | [optional]
3939
**PromotionStatus** | Pointer to **string** | Status of the Kafka request promotion. Possible values: [&#39;promoting&#39;, &#39;failed&#39;]. If unset it means no promotion is in progress. | [optional]
40+
**ClusterId** | Pointer to **NullableString** | The ID of the data plane where Kafka is deployed on. This information is only returned for kafka whose billing model is enterprise | [optional]
4041
**PromotionDetails** | Pointer to **string** | Details of the Kafka request promotion. It can be set when a Kafka request promotion is in progress or has failed | [optional]
4142

4243
## Methods
@@ -868,6 +869,41 @@ SetPromotionStatus sets PromotionStatus field to given value.
868869

869870
HasPromotionStatus returns a boolean if a field has been set.
870871

872+
### GetClusterId
873+
874+
`func (o *KafkaRequest) GetClusterId() string`
875+
876+
GetClusterId returns the ClusterId field if non-nil, zero value otherwise.
877+
878+
### GetClusterIdOk
879+
880+
`func (o *KafkaRequest) GetClusterIdOk() (*string, bool)`
881+
882+
GetClusterIdOk returns a tuple with the ClusterId field if it's non-nil, zero value otherwise
883+
and a boolean to check if the value has been set.
884+
885+
### SetClusterId
886+
887+
`func (o *KafkaRequest) SetClusterId(v string)`
888+
889+
SetClusterId sets ClusterId field to given value.
890+
891+
### HasClusterId
892+
893+
`func (o *KafkaRequest) HasClusterId() bool`
894+
895+
HasClusterId returns a boolean if a field has been set.
896+
897+
### SetClusterIdNil
898+
899+
`func (o *KafkaRequest) SetClusterIdNil(b bool)`
900+
901+
SetClusterIdNil sets the value for ClusterId to be an explicit nil
902+
903+
### UnsetClusterId
904+
`func (o *KafkaRequest) UnsetClusterId()`
905+
906+
UnsetClusterId ensures that no value is present for ClusterId, not even an explicit nil
871907
### GetPromotionDetails
872908

873909
`func (o *KafkaRequest) GetPromotionDetails() string`

kafkamgmt/apiv1/client/docs/KafkaRequestAllOf.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ Name | Type | Description | Notes
3434
**Marketplace** | Pointer to **string** | | [optional]
3535
**BillingModel** | Pointer to **string** | | [optional]
3636
**PromotionStatus** | Pointer to **string** | Status of the Kafka request promotion. Possible values: [&#39;promoting&#39;, &#39;failed&#39;]. If unset it means no promotion is in progress. | [optional]
37+
**ClusterId** | Pointer to **NullableString** | The ID of the data plane where Kafka is deployed on. This information is only returned for kafka whose billing model is enterprise | [optional]
3738
**PromotionDetails** | Pointer to **string** | Details of the Kafka request promotion. It can be set when a Kafka request promotion is in progress or has failed | [optional]
3839

3940
## Methods
@@ -805,6 +806,41 @@ SetPromotionStatus sets PromotionStatus field to given value.
805806

806807
HasPromotionStatus returns a boolean if a field has been set.
807808

809+
### GetClusterId
810+
811+
`func (o *KafkaRequestAllOf) GetClusterId() string`
812+
813+
GetClusterId returns the ClusterId field if non-nil, zero value otherwise.
814+
815+
### GetClusterIdOk
816+
817+
`func (o *KafkaRequestAllOf) GetClusterIdOk() (*string, bool)`
818+
819+
GetClusterIdOk returns a tuple with the ClusterId field if it's non-nil, zero value otherwise
820+
and a boolean to check if the value has been set.
821+
822+
### SetClusterId
823+
824+
`func (o *KafkaRequestAllOf) SetClusterId(v string)`
825+
826+
SetClusterId sets ClusterId field to given value.
827+
828+
### HasClusterId
829+
830+
`func (o *KafkaRequestAllOf) HasClusterId() bool`
831+
832+
HasClusterId returns a boolean if a field has been set.
833+
834+
### SetClusterIdNil
835+
836+
`func (o *KafkaRequestAllOf) SetClusterIdNil(b bool)`
837+
838+
SetClusterIdNil sets the value for ClusterId to be an explicit nil
839+
840+
### UnsetClusterId
841+
`func (o *KafkaRequestAllOf) UnsetClusterId()`
842+
843+
UnsetClusterId ensures that no value is present for ClusterId, not even an explicit nil
808844
### GetPromotionDetails
809845

810846
`func (o *KafkaRequestAllOf) GetPromotionDetails() string`

kafkamgmt/apiv1/client/docs/KafkaRequestPayload.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
1212
**BillingCloudAccountId** | Pointer to **NullableString** | cloud account id used to purchase the instance | [optional]
1313
**Marketplace** | Pointer to **NullableString** | marketplace where the instance is purchased on | [optional]
1414
**BillingModel** | Pointer to **NullableString** | billing model to use | [optional]
15+
**ClusterId** | Pointer to **NullableString** | enterprise OSD cluster ID to be used for kafka creation | [optional]
1516

1617
## Methods
1718

@@ -267,6 +268,41 @@ HasBillingModel returns a boolean if a field has been set.
267268
`func (o *KafkaRequestPayload) UnsetBillingModel()`
268269

269270
UnsetBillingModel ensures that no value is present for BillingModel, not even an explicit nil
271+
### GetClusterId
272+
273+
`func (o *KafkaRequestPayload) GetClusterId() string`
274+
275+
GetClusterId returns the ClusterId field if non-nil, zero value otherwise.
276+
277+
### GetClusterIdOk
278+
279+
`func (o *KafkaRequestPayload) GetClusterIdOk() (*string, bool)`
280+
281+
GetClusterIdOk returns a tuple with the ClusterId field if it's non-nil, zero value otherwise
282+
and a boolean to check if the value has been set.
283+
284+
### SetClusterId
285+
286+
`func (o *KafkaRequestPayload) SetClusterId(v string)`
287+
288+
SetClusterId sets ClusterId field to given value.
289+
290+
### HasClusterId
291+
292+
`func (o *KafkaRequestPayload) HasClusterId() bool`
293+
294+
HasClusterId returns a boolean if a field has been set.
295+
296+
### SetClusterIdNil
297+
298+
`func (o *KafkaRequestPayload) SetClusterIdNil(b bool)`
299+
300+
SetClusterIdNil sets the value for ClusterId to be an explicit nil
301+
302+
### UnsetClusterId
303+
`func (o *KafkaRequestPayload) UnsetClusterId()`
304+
305+
UnsetClusterId ensures that no value is present for ClusterId, not even an explicit nil
270306

271307
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
272308

kafkamgmt/apiv1/client/docs/SupportedKafkaBillingModel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**Id** | **string** | Identifier for the Kafka billing model |
88
**AmsResource** | **string** | AMS resource to be used. Accepted values: [&#39;rhosak&#39;] |
9-
**AmsProduct** | **string** | AMS product to be used. Accepted values: [&#39;RHOSAK&#39;, &#39;RHOSAKTrial&#39;, &#39;RHOSAKEval&#39;] |
9+
**AmsProduct** | **string** | AMS product to be used. Accepted values: [&#39;RHOSAK&#39;, &#39;RHOSAKTrial&#39;, &#39;RHOSAKEval&#39;, &#39;RHOSAKCC&#39;] |
1010
**AmsBillingModels** | **[]string** | List of AMS available billing models: Accepted values: [&#39;marketplace&#39;, &#39;marketplace-rhm&#39;, &#39;marketplace-aws&#39;] |
1111

1212
## Methods

kafkamgmt/apiv1/client/model_kafka_request.go

Lines changed: 47 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

kafkamgmt/apiv1/client/model_kafka_request_all_of.go

Lines changed: 47 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)