|
4 | 4 | * Kafka Service Fleet Manager |
5 | 5 | * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. |
6 | 6 | * |
7 | | - * The version of the OpenAPI document: 1.8.0 |
| 7 | + * The version of the OpenAPI document: 1.10.0 |
8 | 8 | * |
9 | 9 | * |
10 | 10 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). |
@@ -182,11 +182,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati |
182 | 182 | * @param {string} id The ID of record |
183 | 183 | * @param {string} [page] Page index |
184 | 184 | * @param {string} [size] Number of items in each page |
185 | | - * @param {string} [instanceType] The Kafka instance type to filter the results by DEPRECATION NOTICE - instance_type will be deprecated |
186 | 185 | * @param {*} [options] Override http request option. |
187 | 186 | * @throws {RequiredError} |
188 | 187 | */ |
189 | | - getCloudProviderRegions: async (id: string, page?: string, size?: string, instanceType?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => { |
| 188 | + getCloudProviderRegions: async (id: string, page?: string, size?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => { |
190 | 189 | // verify required parameter 'id' is not null or undefined |
191 | 190 | assertParamExists('getCloudProviderRegions', 'id', id) |
192 | 191 | const localVarPath = `/api/kafkas_mgmt/v1/cloud_providers/{id}/regions` |
@@ -214,10 +213,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati |
214 | 213 | localVarQueryParameter['size'] = size; |
215 | 214 | } |
216 | 215 |
|
217 | | - if (instanceType !== undefined) { |
218 | | - localVarQueryParameter['instance_type'] = instanceType; |
219 | | - } |
220 | | - |
221 | 216 |
|
222 | 217 |
|
223 | 218 | setSearchParams(localVarUrlObj, localVarQueryParameter); |
@@ -632,12 +627,11 @@ export const DefaultApiFp = function(configuration?: Configuration) { |
632 | 627 | * @param {string} id The ID of record |
633 | 628 | * @param {string} [page] Page index |
634 | 629 | * @param {string} [size] Number of items in each page |
635 | | - * @param {string} [instanceType] The Kafka instance type to filter the results by DEPRECATION NOTICE - instance_type will be deprecated |
636 | 630 | * @param {*} [options] Override http request option. |
637 | 631 | * @throws {RequiredError} |
638 | 632 | */ |
639 | | - async getCloudProviderRegions(id: string, page?: string, size?: string, instanceType?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CloudRegionList>> { |
640 | | - const localVarAxiosArgs = await localVarAxiosParamCreator.getCloudProviderRegions(id, page, size, instanceType, options); |
| 633 | + async getCloudProviderRegions(id: string, page?: string, size?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CloudRegionList>> { |
| 634 | + const localVarAxiosArgs = await localVarAxiosParamCreator.getCloudProviderRegions(id, page, size, options); |
641 | 635 | return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); |
642 | 636 | }, |
643 | 637 | /** |
@@ -785,12 +779,11 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa |
785 | 779 | * @param {string} id The ID of record |
786 | 780 | * @param {string} [page] Page index |
787 | 781 | * @param {string} [size] Number of items in each page |
788 | | - * @param {string} [instanceType] The Kafka instance type to filter the results by DEPRECATION NOTICE - instance_type will be deprecated |
789 | 782 | * @param {*} [options] Override http request option. |
790 | 783 | * @throws {RequiredError} |
791 | 784 | */ |
792 | | - getCloudProviderRegions(id: string, page?: string, size?: string, instanceType?: string, options?: any): AxiosPromise<CloudRegionList> { |
793 | | - return localVarFp.getCloudProviderRegions(id, page, size, instanceType, options).then((request) => request(axios, basePath)); |
| 785 | + getCloudProviderRegions(id: string, page?: string, size?: string, options?: any): AxiosPromise<CloudRegionList> { |
| 786 | + return localVarFp.getCloudProviderRegions(id, page, size, options).then((request) => request(axios, basePath)); |
794 | 787 | }, |
795 | 788 | /** |
796 | 789 | * |
@@ -928,12 +921,11 @@ export interface DefaultApiInterface { |
928 | 921 | * @param {string} id The ID of record |
929 | 922 | * @param {string} [page] Page index |
930 | 923 | * @param {string} [size] Number of items in each page |
931 | | - * @param {string} [instanceType] The Kafka instance type to filter the results by DEPRECATION NOTICE - instance_type will be deprecated |
932 | 924 | * @param {*} [options] Override http request option. |
933 | 925 | * @throws {RequiredError} |
934 | 926 | * @memberof DefaultApiInterface |
935 | 927 | */ |
936 | | - getCloudProviderRegions(id: string, page?: string, size?: string, instanceType?: string, options?: AxiosRequestConfig): AxiosPromise<CloudRegionList>; |
| 928 | + getCloudProviderRegions(id: string, page?: string, size?: string, options?: AxiosRequestConfig): AxiosPromise<CloudRegionList>; |
937 | 929 |
|
938 | 930 | /** |
939 | 931 | * |
@@ -1077,13 +1069,12 @@ export class DefaultApi extends BaseAPI implements DefaultApiInterface { |
1077 | 1069 | * @param {string} id The ID of record |
1078 | 1070 | * @param {string} [page] Page index |
1079 | 1071 | * @param {string} [size] Number of items in each page |
1080 | | - * @param {string} [instanceType] The Kafka instance type to filter the results by DEPRECATION NOTICE - instance_type will be deprecated |
1081 | 1072 | * @param {*} [options] Override http request option. |
1082 | 1073 | * @throws {RequiredError} |
1083 | 1074 | * @memberof DefaultApi |
1084 | 1075 | */ |
1085 | | - public getCloudProviderRegions(id: string, page?: string, size?: string, instanceType?: string, options?: AxiosRequestConfig) { |
1086 | | - return DefaultApiFp(this.configuration).getCloudProviderRegions(id, page, size, instanceType, options).then((request) => request(this.axios, this.basePath)); |
| 1076 | + public getCloudProviderRegions(id: string, page?: string, size?: string, options?: AxiosRequestConfig) { |
| 1077 | + return DefaultApiFp(this.configuration).getCloudProviderRegions(id, page, size, options).then((request) => request(this.axios, this.basePath)); |
1087 | 1078 | } |
1088 | 1079 |
|
1089 | 1080 | /** |
|
0 commit comments