@@ -91,7 +91,7 @@ Name | Type | Description | Notes
9191
9292## deleteConnector
9393
94- > Error deleteConnector(id, kafkaId )
94+ > Error deleteConnector(id)
9595
9696Delete a connector
9797
@@ -119,9 +119,8 @@ public class Example {
119119
120120 ConnectorsApi apiInstance = new ConnectorsApi (defaultClient);
121121 String id = " id_example" ; // String | The ID of record
122- String kafkaId = " kafkaId_example" ; // String | The kafka cluster id
123122 try {
124- Error result = apiInstance. deleteConnector(id, kafkaId );
123+ Error result = apiInstance. deleteConnector(id);
125124 System . out. println(result);
126125 } catch (ApiException e) {
127126 System . err. println(" Exception when calling ConnectorsApi#deleteConnector" );
@@ -140,7 +139,6 @@ public class Example {
140139Name | Type | Description | Notes
141140------------- | ------------- | ------------- | -------------
142141 ** id** | ** String** | The ID of record |
143- ** kafkaId** | ** String** | The kafka cluster id | [ optional]
144142
145143### Return type
146144
@@ -167,7 +165,7 @@ Name | Type | Description | Notes
167165
168166## getConnector
169167
170- > Connector getConnector(id, kafkaId )
168+ > Connector getConnector(id)
171169
172170Get a connector
173171
@@ -195,9 +193,8 @@ public class Example {
195193
196194 ConnectorsApi apiInstance = new ConnectorsApi (defaultClient);
197195 String id = " id_example" ; // String | The ID of record
198- String kafkaId = " kafkaId_example" ; // String | The kafka cluster id
199196 try {
200- Connector result = apiInstance. getConnector(id, kafkaId );
197+ Connector result = apiInstance. getConnector(id);
201198 System . out. println(result);
202199 } catch (ApiException e) {
203200 System . err. println(" Exception when calling ConnectorsApi#getConnector" );
@@ -216,7 +213,6 @@ public class Example {
216213Name | Type | Description | Notes
217214------------- | ------------- | ------------- | -------------
218215 ** id** | ** String** | The ID of record |
219- ** kafkaId** | ** String** | The kafka cluster id | [ optional]
220216
221217### Return type
222218
@@ -243,7 +239,7 @@ Name | Type | Description | Notes
243239
244240## listConnectors
245241
246- > ConnectorList listConnectors(page, size, kafkaId )
242+ > ConnectorList listConnectors(page, size)
247243
248244Returns a list of connector types
249245
@@ -272,9 +268,8 @@ public class Example {
272268 ConnectorsApi apiInstance = new ConnectorsApi (defaultClient);
273269 String page = " 1" ; // String | Page index
274270 String size = " 100" ; // String | Number of items in each page
275- String kafkaId = " kafkaId_example" ; // String | The kafka cluster id
276271 try {
277- ConnectorList result = apiInstance. listConnectors(page, size, kafkaId );
272+ ConnectorList result = apiInstance. listConnectors(page, size);
278273 System . out. println(result);
279274 } catch (ApiException e) {
280275 System . err. println(" Exception when calling ConnectorsApi#listConnectors" );
@@ -294,7 +289,6 @@ Name | Type | Description | Notes
294289------------- | ------------- | ------------- | -------------
295290 ** page** | ** String** | Page index | [ optional]
296291 ** size** | ** String** | Number of items in each page | [ optional]
297- ** kafkaId** | ** String** | The kafka cluster id | [ optional]
298292
299293### Return type
300294
@@ -320,7 +314,7 @@ Name | Type | Description | Notes
320314
321315## patchConnector
322316
323- > Connector patchConnector(id, connectorRequest, kafkaId )
317+ > Connector patchConnector(id, body )
324318
325319Patch a connector
326320
@@ -348,10 +342,9 @@ public class Example {
348342
349343 ConnectorsApi apiInstance = new ConnectorsApi (defaultClient);
350344 String id = " id_example" ; // String | The ID of record
351- ConnectorRequest connectorRequest = new ConnectorRequest (); // ConnectorRequest | Data to patch the connector with
352- String kafkaId = " kafkaId_example" ; // String | The kafka cluster id
345+ Object body = null ; // Object | Data to patch the connector with
353346 try {
354- Connector result = apiInstance. patchConnector(id, connectorRequest, kafkaId );
347+ Connector result = apiInstance. patchConnector(id, body );
355348 System . out. println(result);
356349 } catch (ApiException e) {
357350 System . err. println(" Exception when calling ConnectorsApi#patchConnector" );
@@ -370,8 +363,7 @@ public class Example {
370363Name | Type | Description | Notes
371364------------- | ------------- | ------------- | -------------
372365 ** id** | ** String** | The ID of record |
373- ** connectorRequest** | [ ** ConnectorRequest** ] ( ConnectorRequest.md ) | Data to patch the connector with |
374- ** kafkaId** | ** String** | The kafka cluster id | [ optional]
366+ ** body** | ** Object** | Data to patch the connector with |
375367
376368### Return type
377369
@@ -383,7 +375,7 @@ Name | Type | Description | Notes
383375
384376### HTTP request headers
385377
386- - ** Content-Type** : application/json, application/ merge-patch+json, application/json-patch+json
378+ - ** Content-Type** : application/merge-patch+json, application/json-patch+json, application/ json
387379- ** Accept** : application/json
388380
389381
0 commit comments