Skip to content

Commit b518d01

Browse files
app-services-cisecondsun
authored andcommitted
chore(all): re-generate OpenAPI client(s)
1 parent 21bb725 commit b518d01

3 files changed

Lines changed: 34 additions & 3 deletions

File tree

packages/kafka-management-sdk/api/openapi.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,19 @@ paths:
611611
schema:
612612
type: string
613613
style: form
614+
- description: The Kafka instance type to filter the results by
615+
examples:
616+
eval_instance_type:
617+
value: eval
618+
standard_instance_type:
619+
value: standard
620+
explode: true
621+
in: query
622+
name: instance_type
623+
required: false
624+
schema:
625+
type: string
626+
style: form
614627
responses:
615628
"200":
616629
content:
@@ -1436,6 +1449,20 @@ components:
14361449
schema:
14371450
type: string
14381451
style: form
1452+
instance_type:
1453+
description: The Kafka instance type to filter the results by
1454+
examples:
1455+
eval_instance_type:
1456+
value: eval
1457+
standard_instance_type:
1458+
value: standard
1459+
explode: true
1460+
in: query
1461+
name: instance_type
1462+
required: false
1463+
schema:
1464+
type: string
1465+
style: form
14391466
schemas:
14401467
ObjectReference:
14411468
properties:

packages/kafka-management-sdk/docs/DefaultApi.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ Name | Type | Description | Notes
247247

248248
## getCloudProviderRegions
249249

250-
> CloudRegionList getCloudProviderRegions(id, page, size)
250+
> CloudRegionList getCloudProviderRegions(id, page, size, instanceType)
251251
252252
Returns the list of supported regions of the supported cloud provider
253253

@@ -275,8 +275,9 @@ public class Example {
275275
String id = "id_example"; // String | The ID of record
276276
String page = "1"; // String | Page index
277277
String size = "100"; // String | Number of items in each page
278+
String instanceType = "eval"; // String | The Kafka instance type to filter the results by
278279
try {
279-
CloudRegionList result = apiInstance.getCloudProviderRegions(id, page, size);
280+
CloudRegionList result = apiInstance.getCloudProviderRegions(id, page, size, instanceType);
280281
System.out.println(result);
281282
} catch (ApiException e) {
282283
System.err.println("Exception when calling DefaultApi#getCloudProviderRegions");
@@ -297,6 +298,7 @@ Name | Type | Description | Notes
297298
**id** | **String**| The ID of record |
298299
**page** | **String**| Page index | [optional]
299300
**size** | **String**| Number of items in each page | [optional]
301+
**instanceType** | **String**| The Kafka instance type to filter the results by | [optional]
300302

301303
### Return type
302304

packages/kafka-management-sdk/src/main/java/com/openshift/cloud/api/kas/DefaultApi.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,10 +195,11 @@ public String federateMetrics(String id) throws ApiException {
195195
* @param id The ID of record (required)
196196
* @param page Page index (optional)
197197
* @param size Number of items in each page (optional)
198+
* @param instanceType The Kafka instance type to filter the results by (optional)
198199
* @return a {@code CloudRegionList}
199200
* @throws ApiException if fails to make API call
200201
*/
201-
public CloudRegionList getCloudProviderRegions(String id, String page, String size) throws ApiException {
202+
public CloudRegionList getCloudProviderRegions(String id, String page, String size, String instanceType) throws ApiException {
202203
Object localVarPostBody = null;
203204

204205
// verify the required parameter 'id' is set
@@ -218,6 +219,7 @@ public CloudRegionList getCloudProviderRegions(String id, String page, String si
218219

219220
localVarQueryParams.addAll(apiClient.parameterToPairs("", "page", page));
220221
localVarQueryParams.addAll(apiClient.parameterToPairs("", "size", size));
222+
localVarQueryParams.addAll(apiClient.parameterToPairs("", "instance_type", instanceType));
221223

222224

223225

0 commit comments

Comments
 (0)