@@ -278,12 +278,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
278278 * @summary Returns the list of supported Kafka instance types and sizes filtered by cloud provider and region
279279 * @param {string } cloudId ID of the supported cloud provider
280280 * @param {string } cloudRegion Name of the supported cloud provider region
281- * @param {string } [page] Page index
282- * @param {string } [size] Number of items in each page
283281 * @param {* } [options] Override http request option.
284282 * @throws {RequiredError }
285283 */
286- getInstanceTypesByCloudProviderAndRegion : async ( cloudId : string , cloudRegion : string , page ?: string , size ?: string , options : AxiosRequestConfig = { } ) : Promise < RequestArgs > => {
284+ getInstanceTypesByCloudProviderAndRegion : async ( cloudId : string , cloudRegion : string , options : AxiosRequestConfig = { } ) : Promise < RequestArgs > => {
287285 // verify required parameter 'cloudId' is not null or undefined
288286 assertParamExists ( 'getInstanceTypesByCloudProviderAndRegion' , 'cloudId' , cloudId )
289287 // verify required parameter 'cloudRegion' is not null or undefined
@@ -306,14 +304,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
306304 // http bearer authentication required
307305 await setBearerAuthToObject ( localVarHeaderParameter , configuration )
308306
309- if ( page !== undefined ) {
310- localVarQueryParameter [ 'page' ] = page ;
311- }
312-
313- if ( size !== undefined ) {
314- localVarQueryParameter [ 'size' ] = size ;
315- }
316-
317307
318308
319309 setSearchParams ( localVarUrlObj , localVarQueryParameter ) ;
@@ -667,13 +657,11 @@ export const DefaultApiFp = function(configuration?: Configuration) {
667657 * @summary Returns the list of supported Kafka instance types and sizes filtered by cloud provider and region
668658 * @param {string } cloudId ID of the supported cloud provider
669659 * @param {string } cloudRegion Name of the supported cloud provider region
670- * @param {string } [page] Page index
671- * @param {string } [size] Number of items in each page
672660 * @param {* } [options] Override http request option.
673661 * @throws {RequiredError }
674662 */
675- async getInstanceTypesByCloudProviderAndRegion ( cloudId : string , cloudRegion : string , page ?: string , size ?: string , options ?: AxiosRequestConfig ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < SupportedKafkaInstanceTypesList > > {
676- const localVarAxiosArgs = await localVarAxiosParamCreator . getInstanceTypesByCloudProviderAndRegion ( cloudId , cloudRegion , page , size , options ) ;
663+ async getInstanceTypesByCloudProviderAndRegion ( cloudId : string , cloudRegion : string , options ?: AxiosRequestConfig ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < SupportedKafkaInstanceTypesList > > {
664+ const localVarAxiosArgs = await localVarAxiosParamCreator . getInstanceTypesByCloudProviderAndRegion ( cloudId , cloudRegion , options ) ;
677665 return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ;
678666 } ,
679667 /**
@@ -820,13 +808,11 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
820808 * @summary Returns the list of supported Kafka instance types and sizes filtered by cloud provider and region
821809 * @param {string } cloudId ID of the supported cloud provider
822810 * @param {string } cloudRegion Name of the supported cloud provider region
823- * @param {string } [page] Page index
824- * @param {string } [size] Number of items in each page
825811 * @param {* } [options] Override http request option.
826812 * @throws {RequiredError }
827813 */
828- getInstanceTypesByCloudProviderAndRegion ( cloudId : string , cloudRegion : string , page ?: string , size ?: string , options ?: any ) : AxiosPromise < SupportedKafkaInstanceTypesList > {
829- return localVarFp . getInstanceTypesByCloudProviderAndRegion ( cloudId , cloudRegion , page , size , options ) . then ( ( request ) => request ( axios , basePath ) ) ;
814+ getInstanceTypesByCloudProviderAndRegion ( cloudId : string , cloudRegion : string , options ?: any ) : AxiosPromise < SupportedKafkaInstanceTypesList > {
815+ return localVarFp . getInstanceTypesByCloudProviderAndRegion ( cloudId , cloudRegion , options ) . then ( ( request ) => request ( axios , basePath ) ) ;
830816 } ,
831817 /**
832818 *
@@ -965,13 +951,11 @@ export interface DefaultApiInterface {
965951 * @summary Returns the list of supported Kafka instance types and sizes filtered by cloud provider and region
966952 * @param {string } cloudId ID of the supported cloud provider
967953 * @param {string } cloudRegion Name of the supported cloud provider region
968- * @param {string } [page] Page index
969- * @param {string } [size] Number of items in each page
970954 * @param {* } [options] Override http request option.
971955 * @throws {RequiredError }
972956 * @memberof DefaultApiInterface
973957 */
974- getInstanceTypesByCloudProviderAndRegion ( cloudId : string , cloudRegion : string , page ?: string , size ?: string , options ?: AxiosRequestConfig ) : AxiosPromise < SupportedKafkaInstanceTypesList > ;
958+ getInstanceTypesByCloudProviderAndRegion ( cloudId : string , cloudRegion : string , options ?: AxiosRequestConfig ) : AxiosPromise < SupportedKafkaInstanceTypesList > ;
975959
976960 /**
977961 *
@@ -1120,14 +1104,12 @@ export class DefaultApi extends BaseAPI implements DefaultApiInterface {
11201104 * @summary Returns the list of supported Kafka instance types and sizes filtered by cloud provider and region
11211105 * @param {string } cloudId ID of the supported cloud provider
11221106 * @param {string } cloudRegion Name of the supported cloud provider region
1123- * @param {string } [page] Page index
1124- * @param {string } [size] Number of items in each page
11251107 * @param {* } [options] Override http request option.
11261108 * @throws {RequiredError }
11271109 * @memberof DefaultApi
11281110 */
1129- public getInstanceTypesByCloudProviderAndRegion ( cloudId : string , cloudRegion : string , page ?: string , size ?: string , options ?: AxiosRequestConfig ) {
1130- return DefaultApiFp ( this . configuration ) . getInstanceTypesByCloudProviderAndRegion ( cloudId , cloudRegion , page , size , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ;
1111+ public getInstanceTypesByCloudProviderAndRegion ( cloudId : string , cloudRegion : string , options ?: AxiosRequestConfig ) {
1112+ return DefaultApiFp ( this . configuration ) . getInstanceTypesByCloudProviderAndRegion ( cloudId , cloudRegion , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ;
11311113 }
11321114
11331115 /**
0 commit comments