Skip to content

Commit 8633547

Browse files
chore(all): re-generate OpenAPI client(s) (#598)
Co-authored-by: app-services-ci <app-services-ci@users.noreply.github.com>
1 parent 4c0aa62 commit 8633547

112 files changed

Lines changed: 733 additions & 3363 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

kafkamgmt/apiv1/client/.openapi-generator/FILES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ docs/ServiceAccountListItemAllOf.md
4242
docs/ServiceAccountRequest.md
4343
docs/SsoProvider.md
4444
docs/SsoProviderAllOf.md
45+
docs/SupportedKafkaBillingModel.md
4546
docs/SupportedKafkaInstanceType.md
4647
docs/SupportedKafkaInstanceTypesList.md
4748
docs/SupportedKafkaInstanceTypesListAllOf.md
@@ -83,6 +84,7 @@ model_service_account_list_item_all_of.go
8384
model_service_account_request.go
8485
model_sso_provider.go
8586
model_sso_provider_all_of.go
87+
model_supported_kafka_billing_model.go
8688
model_supported_kafka_instance_type.go
8789
model_supported_kafka_instance_types_list.go
8890
model_supported_kafka_instance_types_list_all_of.go

kafkamgmt/apiv1/client/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Kafka Management API is a REST API to manage Kafka instances
55
## Overview
66
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.
77

8-
- API version: 1.11.0
8+
- API version: 1.14.0
99
- Package version: 1.0.0
1010
- Build package: org.openapitools.codegen.languages.GoClientCodegen
1111

@@ -135,6 +135,7 @@ Class | Method | HTTP request | Description
135135
- [ServiceAccountRequest](docs/ServiceAccountRequest.md)
136136
- [SsoProvider](docs/SsoProvider.md)
137137
- [SsoProviderAllOf](docs/SsoProviderAllOf.md)
138+
- [SupportedKafkaBillingModel](docs/SupportedKafkaBillingModel.md)
138139
- [SupportedKafkaInstanceType](docs/SupportedKafkaInstanceType.md)
139140
- [SupportedKafkaInstanceTypesList](docs/SupportedKafkaInstanceTypesList.md)
140141
- [SupportedKafkaInstanceTypesListAllOf](docs/SupportedKafkaInstanceTypesListAllOf.md)

kafkamgmt/apiv1/client/api/openapi.yaml

Lines changed: 59 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ info:
88
name: Apache 2.0
99
url: https://www.apache.org/licenses/LICENSE-2.0
1010
title: Kafka Management API
11-
version: 1.11.0
11+
version: 1.14.0
1212
servers:
1313
- description: Main (production) server
1414
url: https://api.openshift.com
@@ -1247,6 +1247,12 @@ components:
12471247
value:
12481248
id: developer
12491249
display_name: Trial
1250+
supported_billing_models:
1251+
- id: trial
1252+
ams_resource: rhosak
1253+
ams_product: RHOSAKTrial
1254+
ams_billing_models:
1255+
- standard
12501256
sizes:
12511257
- id: x1
12521258
display_name: "1"
@@ -1695,16 +1701,24 @@ components:
16951701
href: href
16961702
properties:
16971703
reason:
1704+
description: Human-readable description of the error. Intended for human
1705+
consumption
16981706
type: string
16991707
operation_id:
1708+
description: Relatively unique operation ID of the request associated to
1709+
the error
17001710
type: string
17011711
id:
1712+
description: The unique and immutable identifier of the resource
17021713
type: string
17031714
kind:
1715+
description: The kind of the resource
17041716
type: string
17051717
href:
1718+
description: The absolute path of the resource
17061719
type: string
17071720
code:
1721+
description: Code of the error
17081722
type: string
17091723
required:
17101724
- code
@@ -1789,13 +1803,52 @@ components:
17891803
display_name:
17901804
description: Human readable name of the supported Kafka instance type
17911805
type: string
1806+
supported_billing_models:
1807+
description: A list of available kafka billing models for the instance type.
1808+
Each kafka billing model item has a unique 'id'
1809+
items:
1810+
$ref: '#/components/schemas/SupportedKafkaBillingModel'
1811+
minItems: 1
1812+
type: array
17921813
sizes:
1793-
description: ' A list of Kafka instance sizes available for this instance
1794-
type'
1814+
description: A list of Kafka instance sizes available for this instance
1815+
type
17951816
items:
17961817
allOf:
17971818
- $ref: '#/components/schemas/SupportedKafkaSize'
17981819
type: array
1820+
required:
1821+
- supported_billing_models
1822+
type: object
1823+
SupportedKafkaBillingModel:
1824+
description: Supported Kafka Billing Model
1825+
properties:
1826+
id:
1827+
description: Identifier for the Kafka billing model
1828+
minLength: 1
1829+
type: string
1830+
ams_resource:
1831+
description: 'AMS resource to be used. Accepted values: [''rhosak'']'
1832+
minLength: 1
1833+
type: string
1834+
ams_product:
1835+
description: 'AMS product to be used. Accepted values: [''RHOSAK'', ''RHOSAKTrial'',
1836+
''RHOSAKEval'']'
1837+
minLength: 1
1838+
type: string
1839+
ams_billing_models:
1840+
description: 'List of AMS available billing models: Accepted values: [''marketplace'',
1841+
''marketplace-rhm'', ''marketplace-aws'']'
1842+
items:
1843+
minLength: 1
1844+
type: string
1845+
minItems: 1
1846+
type: array
1847+
required:
1848+
- ams_billing_models
1849+
- ams_product
1850+
- ams_resource
1851+
- id
17991852
type: object
18001853
SupportedKafkaSize:
18011854
description: Supported Kafka Size
@@ -1851,7 +1904,9 @@ components:
18511904
description: Quota consumed by this Kafka instance size.
18521905
type: integer
18531906
quota_type:
1854-
description: Quota type used by this Kafka instance size.
1907+
deprecated: true
1908+
description: Quota type used by this Kafka instance size. This is now deprecated,
1909+
please refer to supported_billing_models at instance-type level instead.
18551910
type: string
18561911
capacity_consumed:
18571912
description: Data plane cluster capacity consumed by this Kafka instance

kafkamgmt/apiv1/client/api_default.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

kafkamgmt/apiv1/client/api_errors.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

kafkamgmt/apiv1/client/api_security.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

kafkamgmt/apiv1/client/client.go

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

kafkamgmt/apiv1/client/configuration.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

kafkamgmt/apiv1/client/docs/Error.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**Reason** | **string** | |
8-
**OperationId** | Pointer to **string** | | [optional]
9-
**Id** | **string** | |
10-
**Kind** | **string** | |
11-
**Href** | **string** | |
12-
**Code** | **string** | |
7+
**Reason** | **string** | Human-readable description of the error. Intended for human consumption |
8+
**OperationId** | Pointer to **string** | Relatively unique operation ID of the request associated to the error | [optional]
9+
**Id** | **string** | The unique and immutable identifier of the resource |
10+
**Kind** | **string** | The kind of the resource |
11+
**Href** | **string** | The absolute path of the resource |
12+
**Code** | **string** | Code of the error |
1313

1414
## Methods
1515

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
# SupportedKafkaBillingModel
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**Id** | **string** | Identifier for the Kafka billing model |
8+
**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;] |
10+
**AmsBillingModels** | **[]string** | List of AMS available billing models: Accepted values: [&#39;marketplace&#39;, &#39;marketplace-rhm&#39;, &#39;marketplace-aws&#39;] |
11+
12+
## Methods
13+
14+
### NewSupportedKafkaBillingModel
15+
16+
`func NewSupportedKafkaBillingModel(id string, amsResource string, amsProduct string, amsBillingModels []string, ) *SupportedKafkaBillingModel`
17+
18+
NewSupportedKafkaBillingModel instantiates a new SupportedKafkaBillingModel object
19+
This constructor will assign default values to properties that have it defined,
20+
and makes sure properties required by API are set, but the set of arguments
21+
will change when the set of required properties is changed
22+
23+
### NewSupportedKafkaBillingModelWithDefaults
24+
25+
`func NewSupportedKafkaBillingModelWithDefaults() *SupportedKafkaBillingModel`
26+
27+
NewSupportedKafkaBillingModelWithDefaults instantiates a new SupportedKafkaBillingModel object
28+
This constructor will only assign default values to properties that have it defined,
29+
but it doesn't guarantee that properties required by API are set
30+
31+
### GetId
32+
33+
`func (o *SupportedKafkaBillingModel) GetId() string`
34+
35+
GetId returns the Id field if non-nil, zero value otherwise.
36+
37+
### GetIdOk
38+
39+
`func (o *SupportedKafkaBillingModel) GetIdOk() (*string, bool)`
40+
41+
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
42+
and a boolean to check if the value has been set.
43+
44+
### SetId
45+
46+
`func (o *SupportedKafkaBillingModel) SetId(v string)`
47+
48+
SetId sets Id field to given value.
49+
50+
51+
### GetAmsResource
52+
53+
`func (o *SupportedKafkaBillingModel) GetAmsResource() string`
54+
55+
GetAmsResource returns the AmsResource field if non-nil, zero value otherwise.
56+
57+
### GetAmsResourceOk
58+
59+
`func (o *SupportedKafkaBillingModel) GetAmsResourceOk() (*string, bool)`
60+
61+
GetAmsResourceOk returns a tuple with the AmsResource field if it's non-nil, zero value otherwise
62+
and a boolean to check if the value has been set.
63+
64+
### SetAmsResource
65+
66+
`func (o *SupportedKafkaBillingModel) SetAmsResource(v string)`
67+
68+
SetAmsResource sets AmsResource field to given value.
69+
70+
71+
### GetAmsProduct
72+
73+
`func (o *SupportedKafkaBillingModel) GetAmsProduct() string`
74+
75+
GetAmsProduct returns the AmsProduct field if non-nil, zero value otherwise.
76+
77+
### GetAmsProductOk
78+
79+
`func (o *SupportedKafkaBillingModel) GetAmsProductOk() (*string, bool)`
80+
81+
GetAmsProductOk returns a tuple with the AmsProduct field if it's non-nil, zero value otherwise
82+
and a boolean to check if the value has been set.
83+
84+
### SetAmsProduct
85+
86+
`func (o *SupportedKafkaBillingModel) SetAmsProduct(v string)`
87+
88+
SetAmsProduct sets AmsProduct field to given value.
89+
90+
91+
### GetAmsBillingModels
92+
93+
`func (o *SupportedKafkaBillingModel) GetAmsBillingModels() []string`
94+
95+
GetAmsBillingModels returns the AmsBillingModels field if non-nil, zero value otherwise.
96+
97+
### GetAmsBillingModelsOk
98+
99+
`func (o *SupportedKafkaBillingModel) GetAmsBillingModelsOk() (*[]string, bool)`
100+
101+
GetAmsBillingModelsOk returns a tuple with the AmsBillingModels field if it's non-nil, zero value otherwise
102+
and a boolean to check if the value has been set.
103+
104+
### SetAmsBillingModels
105+
106+
`func (o *SupportedKafkaBillingModel) SetAmsBillingModels(v []string)`
107+
108+
SetAmsBillingModels sets AmsBillingModels field to given value.
109+
110+
111+
112+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
113+
114+

0 commit comments

Comments
 (0)