Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(kafka-mgmt/v1): automated SDK update #406

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .openapi/kas-fleet-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2207,7 +2207,7 @@ components:

```
name = my-kafka and cloud_provider = aws
```[p-]
```

To return a Kafka instance with a name that starts with `my`, use the following syntax:

Expand Down
4 changes: 2 additions & 2 deletions packages/kafka-management-sdk/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ paths:

```
name = my-kafka and cloud_provider = aws
```[p-]
```

To return a Kafka instance with a name that starts with `my`, use the following syntax:

Expand Down Expand Up @@ -2146,7 +2146,7 @@ components:

```
name = my-kafka and cloud_provider = aws
```[p-]
```

To return a Kafka instance with a name that starts with `my`, use the following syntax:

Expand Down
4 changes: 2 additions & 2 deletions packages/kafka-management-sdk/docs/DefaultApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ public class Example {
String page = "1"; // String | Page index
String size = "100"; // String | Number of items in each page
String orderBy = "name asc"; // String | Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the `order by` clause of an SQL statement. Each query can be ordered by any of the following `kafkaRequests` fields: * bootstrap_server_host * admin_api_server_url * cloud_provider * cluster_id * created_at * href * id * instance_type * multi_az * name * organisation_id * owner * reauthentication_enabled * region * status * updated_at * version For example, to return all Kafka instances ordered by their name, use the following syntax: ```sql name asc ``` To return all Kafka instances ordered by their name _and_ created date, use the following syntax: ```sql name asc, created_at asc ``` If the parameter isn't provided, or if the value is empty, then the results are ordered by name.
String search = "name = my-kafka and cloud_provider = aws"; // String | Search criteria. The syntax of this parameter is similar to the syntax of the `where` clause of an SQL statement. Allowed fields in the search are `cloud_provider`, `name`, `owner`, `region`, and `status`. Allowed comparators are `<>`, `=`, `LIKE`, or `ILIKE`. Allowed joins are `AND` and `OR`. However, you can use a maximum of 10 joins in a search query. Examples: To return a Kafka instance with the name `my-kafka` and the region `aws`, use the following syntax: ``` name = my-kafka and cloud_provider = aws ```[p-] To return a Kafka instance with a name that starts with `my`, use the following syntax: ``` name like my%25 ``` To return a Kafka instance with a name containing `test` matching any character case combinations, use the following syntax: ``` name ilike %25test%25 ``` If the parameter isn't provided, or if the value is empty, then all the Kafka instances that the user has permission to see are returned. Note. If the query is invalid, an error is returned.
String search = "name = my-kafka and cloud_provider = aws"; // String | Search criteria. The syntax of this parameter is similar to the syntax of the `where` clause of an SQL statement. Allowed fields in the search are `cloud_provider`, `name`, `owner`, `region`, and `status`. Allowed comparators are `<>`, `=`, `LIKE`, or `ILIKE`. Allowed joins are `AND` and `OR`. However, you can use a maximum of 10 joins in a search query. Examples: To return a Kafka instance with the name `my-kafka` and the region `aws`, use the following syntax: ``` name = my-kafka and cloud_provider = aws ``` To return a Kafka instance with a name that starts with `my`, use the following syntax: ``` name like my%25 ``` To return a Kafka instance with a name containing `test` matching any character case combinations, use the following syntax: ``` name ilike %25test%25 ``` If the parameter isn't provided, or if the value is empty, then all the Kafka instances that the user has permission to see are returned. Note. If the query is invalid, an error is returned.
try {
KafkaRequestList result = apiInstance.getKafkas(page, size, orderBy, search);
System.out.println(result);
Expand All @@ -610,7 +610,7 @@ Name | Type | Description | Notes
**page** | **String**| Page index | [optional]
**size** | **String**| Number of items in each page | [optional]
**orderBy** | **String**| Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the &#x60;order by&#x60; clause of an SQL statement. Each query can be ordered by any of the following &#x60;kafkaRequests&#x60; fields: * bootstrap_server_host * admin_api_server_url * cloud_provider * cluster_id * created_at * href * id * instance_type * multi_az * name * organisation_id * owner * reauthentication_enabled * region * status * updated_at * version For example, to return all Kafka instances ordered by their name, use the following syntax: &#x60;&#x60;&#x60;sql name asc &#x60;&#x60;&#x60; To return all Kafka instances ordered by their name _and_ created date, use the following syntax: &#x60;&#x60;&#x60;sql name asc, created_at asc &#x60;&#x60;&#x60; If the parameter isn&#39;t provided, or if the value is empty, then the results are ordered by name. | [optional]
**search** | **String**| Search criteria. The syntax of this parameter is similar to the syntax of the &#x60;where&#x60; clause of an SQL statement. Allowed fields in the search are &#x60;cloud_provider&#x60;, &#x60;name&#x60;, &#x60;owner&#x60;, &#x60;region&#x60;, and &#x60;status&#x60;. Allowed comparators are &#x60;&lt;&gt;&#x60;, &#x60;&#x3D;&#x60;, &#x60;LIKE&#x60;, or &#x60;ILIKE&#x60;. Allowed joins are &#x60;AND&#x60; and &#x60;OR&#x60;. However, you can use a maximum of 10 joins in a search query. Examples: To return a Kafka instance with the name &#x60;my-kafka&#x60; and the region &#x60;aws&#x60;, use the following syntax: &#x60;&#x60;&#x60; name &#x3D; my-kafka and cloud_provider &#x3D; aws &#x60;&#x60;&#x60;[p-] To return a Kafka instance with a name that starts with &#x60;my&#x60;, use the following syntax: &#x60;&#x60;&#x60; name like my%25 &#x60;&#x60;&#x60; To return a Kafka instance with a name containing &#x60;test&#x60; matching any character case combinations, use the following syntax: &#x60;&#x60;&#x60; name ilike %25test%25 &#x60;&#x60;&#x60; If the parameter isn&#39;t provided, or if the value is empty, then all the Kafka instances that the user has permission to see are returned. Note. If the query is invalid, an error is returned. | [optional]
**search** | **String**| Search criteria. The syntax of this parameter is similar to the syntax of the &#x60;where&#x60; clause of an SQL statement. Allowed fields in the search are &#x60;cloud_provider&#x60;, &#x60;name&#x60;, &#x60;owner&#x60;, &#x60;region&#x60;, and &#x60;status&#x60;. Allowed comparators are &#x60;&lt;&gt;&#x60;, &#x60;&#x3D;&#x60;, &#x60;LIKE&#x60;, or &#x60;ILIKE&#x60;. Allowed joins are &#x60;AND&#x60; and &#x60;OR&#x60;. However, you can use a maximum of 10 joins in a search query. Examples: To return a Kafka instance with the name &#x60;my-kafka&#x60; and the region &#x60;aws&#x60;, use the following syntax: &#x60;&#x60;&#x60; name &#x3D; my-kafka and cloud_provider &#x3D; aws &#x60;&#x60;&#x60; To return a Kafka instance with a name that starts with &#x60;my&#x60;, use the following syntax: &#x60;&#x60;&#x60; name like my%25 &#x60;&#x60;&#x60; To return a Kafka instance with a name containing &#x60;test&#x60; matching any character case combinations, use the following syntax: &#x60;&#x60;&#x60; name ilike %25test%25 &#x60;&#x60;&#x60; If the parameter isn&#39;t provided, or if the value is empty, then all the Kafka instances that the user has permission to see are returned. Note. If the query is invalid, an error is returned. | [optional]

### Return type

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ public KafkaRequest getKafkaById(String id) throws ApiException {
* @param page Page index (optional)
* @param size Number of items in each page (optional)
* @param orderBy Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the &#x60;order by&#x60; clause of an SQL statement. Each query can be ordered by any of the following &#x60;kafkaRequests&#x60; fields: * bootstrap_server_host * admin_api_server_url * cloud_provider * cluster_id * created_at * href * id * instance_type * multi_az * name * organisation_id * owner * reauthentication_enabled * region * status * updated_at * version For example, to return all Kafka instances ordered by their name, use the following syntax: &#x60;&#x60;&#x60;sql name asc &#x60;&#x60;&#x60; To return all Kafka instances ordered by their name _and_ created date, use the following syntax: &#x60;&#x60;&#x60;sql name asc, created_at asc &#x60;&#x60;&#x60; If the parameter isn&#39;t provided, or if the value is empty, then the results are ordered by name. (optional)
* @param search Search criteria. The syntax of this parameter is similar to the syntax of the &#x60;where&#x60; clause of an SQL statement. Allowed fields in the search are &#x60;cloud_provider&#x60;, &#x60;name&#x60;, &#x60;owner&#x60;, &#x60;region&#x60;, and &#x60;status&#x60;. Allowed comparators are &#x60;&lt;&gt;&#x60;, &#x60;&#x3D;&#x60;, &#x60;LIKE&#x60;, or &#x60;ILIKE&#x60;. Allowed joins are &#x60;AND&#x60; and &#x60;OR&#x60;. However, you can use a maximum of 10 joins in a search query. Examples: To return a Kafka instance with the name &#x60;my-kafka&#x60; and the region &#x60;aws&#x60;, use the following syntax: &#x60;&#x60;&#x60; name &#x3D; my-kafka and cloud_provider &#x3D; aws &#x60;&#x60;&#x60;[p-] To return a Kafka instance with a name that starts with &#x60;my&#x60;, use the following syntax: &#x60;&#x60;&#x60; name like my%25 &#x60;&#x60;&#x60; To return a Kafka instance with a name containing &#x60;test&#x60; matching any character case combinations, use the following syntax: &#x60;&#x60;&#x60; name ilike %25test%25 &#x60;&#x60;&#x60; If the parameter isn&#39;t provided, or if the value is empty, then all the Kafka instances that the user has permission to see are returned. Note. If the query is invalid, an error is returned. (optional)
* @param search Search criteria. The syntax of this parameter is similar to the syntax of the &#x60;where&#x60; clause of an SQL statement. Allowed fields in the search are &#x60;cloud_provider&#x60;, &#x60;name&#x60;, &#x60;owner&#x60;, &#x60;region&#x60;, and &#x60;status&#x60;. Allowed comparators are &#x60;&lt;&gt;&#x60;, &#x60;&#x3D;&#x60;, &#x60;LIKE&#x60;, or &#x60;ILIKE&#x60;. Allowed joins are &#x60;AND&#x60; and &#x60;OR&#x60;. However, you can use a maximum of 10 joins in a search query. Examples: To return a Kafka instance with the name &#x60;my-kafka&#x60; and the region &#x60;aws&#x60;, use the following syntax: &#x60;&#x60;&#x60; name &#x3D; my-kafka and cloud_provider &#x3D; aws &#x60;&#x60;&#x60; To return a Kafka instance with a name that starts with &#x60;my&#x60;, use the following syntax: &#x60;&#x60;&#x60; name like my%25 &#x60;&#x60;&#x60; To return a Kafka instance with a name containing &#x60;test&#x60; matching any character case combinations, use the following syntax: &#x60;&#x60;&#x60; name ilike %25test%25 &#x60;&#x60;&#x60; If the parameter isn&#39;t provided, or if the value is empty, then all the Kafka instances that the user has permission to see are returned. Note. If the query is invalid, an error is returned. (optional)
* @return a {@code KafkaRequestList}
* @throws ApiException if fails to make API call
*/
Expand Down