44 * Connector Service Fleet Manager
55 * Connector Service Fleet Manager is a Rest API to manage connectors.
66 *
7- * The version of the OpenAPI document: 0.0.3
7+ * The version of the OpenAPI document: 0.1.0
88 *
99 *
1010 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -31,7 +31,7 @@ import { ConnectorTypeList } from '../model';
3131export const ConnectorTypesApiAxiosParamCreator = function ( configuration ?: Configuration ) {
3232 return {
3333 /**
34- *
34+ * Get a connector type by id
3535 * @summary Get a connector type by id
3636 * @param {string } connectorTypeId The id of the connector type
3737 * @param {* } [options] Override http request option.
@@ -69,7 +69,7 @@ export const ConnectorTypesApiAxiosParamCreator = function (configuration?: Conf
6969 } ;
7070 } ,
7171 /**
72- *
72+ * Returns a list of connector types
7373 * @summary Returns a list of connector types
7474 * @param {string } [page] Page index
7575 * @param {string } [size] Number of items in each page
@@ -78,7 +78,7 @@ export const ConnectorTypesApiAxiosParamCreator = function (configuration?: Conf
7878 * @param {* } [options] Override http request option.
7979 * @throws {RequiredError }
8080 */
81- listConnectorTypes : async ( page ?: string , size ?: string , orderBy ?: string , search ?: string , options : any = { } ) : Promise < RequestArgs > => {
81+ getConnectorTypes : async ( page ?: string , size ?: string , orderBy ?: string , search ?: string , options : any = { } ) : Promise < RequestArgs > => {
8282 const localVarPath = `/api/connector_mgmt/v1/kafka_connector_types` ;
8383 // use dummy base URL string because the URL constructor only accepts absolute URLs.
8484 const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ;
@@ -133,7 +133,7 @@ export const ConnectorTypesApiFp = function(configuration?: Configuration) {
133133 const localVarAxiosParamCreator = ConnectorTypesApiAxiosParamCreator ( configuration )
134134 return {
135135 /**
136- *
136+ * Get a connector type by id
137137 * @summary Get a connector type by id
138138 * @param {string } connectorTypeId The id of the connector type
139139 * @param {* } [options] Override http request option.
@@ -144,7 +144,7 @@ export const ConnectorTypesApiFp = function(configuration?: Configuration) {
144144 return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ;
145145 } ,
146146 /**
147- *
147+ * Returns a list of connector types
148148 * @summary Returns a list of connector types
149149 * @param {string } [page] Page index
150150 * @param {string } [size] Number of items in each page
@@ -153,8 +153,8 @@ export const ConnectorTypesApiFp = function(configuration?: Configuration) {
153153 * @param {* } [options] Override http request option.
154154 * @throws {RequiredError }
155155 */
156- async listConnectorTypes ( page ?: string , size ?: string , orderBy ?: string , search ?: string , options ?: any ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < ConnectorTypeList > > {
157- const localVarAxiosArgs = await localVarAxiosParamCreator . listConnectorTypes ( page , size , orderBy , search , options ) ;
156+ async getConnectorTypes ( page ?: string , size ?: string , orderBy ?: string , search ?: string , options ?: any ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < ConnectorTypeList > > {
157+ const localVarAxiosArgs = await localVarAxiosParamCreator . getConnectorTypes ( page , size , orderBy , search , options ) ;
158158 return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ;
159159 } ,
160160 }
@@ -168,7 +168,7 @@ export const ConnectorTypesApiFactory = function (configuration?: Configuration,
168168 const localVarFp = ConnectorTypesApiFp ( configuration )
169169 return {
170170 /**
171- *
171+ * Get a connector type by id
172172 * @summary Get a connector type by id
173173 * @param {string } connectorTypeId The id of the connector type
174174 * @param {* } [options] Override http request option.
@@ -178,7 +178,7 @@ export const ConnectorTypesApiFactory = function (configuration?: Configuration,
178178 return localVarFp . getConnectorTypeByID ( connectorTypeId , options ) . then ( ( request ) => request ( axios , basePath ) ) ;
179179 } ,
180180 /**
181- *
181+ * Returns a list of connector types
182182 * @summary Returns a list of connector types
183183 * @param {string } [page] Page index
184184 * @param {string } [size] Number of items in each page
@@ -187,8 +187,8 @@ export const ConnectorTypesApiFactory = function (configuration?: Configuration,
187187 * @param {* } [options] Override http request option.
188188 * @throws {RequiredError }
189189 */
190- listConnectorTypes ( page ?: string , size ?: string , orderBy ?: string , search ?: string , options ?: any ) : AxiosPromise < ConnectorTypeList > {
191- return localVarFp . listConnectorTypes ( page , size , orderBy , search , options ) . then ( ( request ) => request ( axios , basePath ) ) ;
190+ getConnectorTypes ( page ?: string , size ?: string , orderBy ?: string , search ?: string , options ?: any ) : AxiosPromise < ConnectorTypeList > {
191+ return localVarFp . getConnectorTypes ( page , size , orderBy , search , options ) . then ( ( request ) => request ( axios , basePath ) ) ;
192192 } ,
193193 } ;
194194} ;
@@ -200,7 +200,7 @@ export const ConnectorTypesApiFactory = function (configuration?: Configuration,
200200 */
201201export interface ConnectorTypesApiInterface {
202202 /**
203- *
203+ * Get a connector type by id
204204 * @summary Get a connector type by id
205205 * @param {string } connectorTypeId The id of the connector type
206206 * @param {* } [options] Override http request option.
@@ -210,7 +210,7 @@ export interface ConnectorTypesApiInterface {
210210 getConnectorTypeByID ( connectorTypeId : string , options ?: any ) : AxiosPromise < ConnectorType > ;
211211
212212 /**
213- *
213+ * Returns a list of connector types
214214 * @summary Returns a list of connector types
215215 * @param {string } [page] Page index
216216 * @param {string } [size] Number of items in each page
@@ -220,7 +220,7 @@ export interface ConnectorTypesApiInterface {
220220 * @throws {RequiredError }
221221 * @memberof ConnectorTypesApiInterface
222222 */
223- listConnectorTypes ( page ?: string , size ?: string , orderBy ?: string , search ?: string , options ?: any ) : AxiosPromise < ConnectorTypeList > ;
223+ getConnectorTypes ( page ?: string , size ?: string , orderBy ?: string , search ?: string , options ?: any ) : AxiosPromise < ConnectorTypeList > ;
224224
225225}
226226
@@ -232,7 +232,7 @@ export interface ConnectorTypesApiInterface {
232232 */
233233export class ConnectorTypesApi extends BaseAPI implements ConnectorTypesApiInterface {
234234 /**
235- *
235+ * Get a connector type by id
236236 * @summary Get a connector type by id
237237 * @param {string } connectorTypeId The id of the connector type
238238 * @param {* } [options] Override http request option.
@@ -244,7 +244,7 @@ export class ConnectorTypesApi extends BaseAPI implements ConnectorTypesApiInter
244244 }
245245
246246 /**
247- *
247+ * Returns a list of connector types
248248 * @summary Returns a list of connector types
249249 * @param {string } [page] Page index
250250 * @param {string } [size] Number of items in each page
@@ -254,7 +254,7 @@ export class ConnectorTypesApi extends BaseAPI implements ConnectorTypesApiInter
254254 * @throws {RequiredError }
255255 * @memberof ConnectorTypesApi
256256 */
257- public listConnectorTypes ( page ?: string , size ?: string , orderBy ?: string , search ?: string , options ?: any ) {
258- return ConnectorTypesApiFp ( this . configuration ) . listConnectorTypes ( page , size , orderBy , search , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ;
257+ public getConnectorTypes ( page ?: string , size ?: string , orderBy ?: string , search ?: string , options ?: any ) {
258+ return ConnectorTypesApiFp ( this . configuration ) . getConnectorTypes ( page , size , orderBy , search , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ;
259259 }
260260}
0 commit comments