public class NamespaceGroupApi extends Object
| 构造器和说明 |
|---|
NamespaceGroupApi() |
NamespaceGroupApi(ApiClient apiClient) |
public NamespaceGroupApi()
public NamespaceGroupApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public String getCustomBaseUrl()
public void setCustomBaseUrl(String customBaseUrl)
public okhttp3.Call createNamespaceGroupCall(List<NamespaceGroupCreationParams> namespaceGroupCreationParams, ApiCallback _callback) throws ApiException
namespaceGroupCreationParams - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public List<WithTaskNamespaceGroup> createNamespaceGroup(List<NamespaceGroupCreationParams> namespaceGroupCreationParams) throws ApiException
namespaceGroupCreationParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public ApiResponse<List<WithTaskNamespaceGroup>> createNamespaceGroupWithHttpInfo(List<NamespaceGroupCreationParams> namespaceGroupCreationParams) throws ApiException
namespaceGroupCreationParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call createNamespaceGroupAsync(List<NamespaceGroupCreationParams> namespaceGroupCreationParams, ApiCallback<List<WithTaskNamespaceGroup>> _callback) throws ApiException
namespaceGroupCreationParams - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call deleteNamespaceGroupCall(NamespaceGroupDeletionParams namespaceGroupDeletionParams, ApiCallback _callback) throws ApiException
namespaceGroupDeletionParams - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public List<WithTaskDeleteNamespaceGroup> deleteNamespaceGroup(NamespaceGroupDeletionParams namespaceGroupDeletionParams) throws ApiException
namespaceGroupDeletionParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public ApiResponse<List<WithTaskDeleteNamespaceGroup>> deleteNamespaceGroupWithHttpInfo(NamespaceGroupDeletionParams namespaceGroupDeletionParams) throws ApiException
namespaceGroupDeletionParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call deleteNamespaceGroupAsync(NamespaceGroupDeletionParams namespaceGroupDeletionParams, ApiCallback<List<WithTaskDeleteNamespaceGroup>> _callback) throws ApiException
namespaceGroupDeletionParams - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call getNamespaceGroupsCall(GetNamespaceGroupsRequestBody getNamespaceGroupsRequestBody, ApiCallback _callback) throws ApiException
getNamespaceGroupsRequestBody - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | * x-tower-request-id - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public List<NamespaceGroup> getNamespaceGroups(GetNamespaceGroupsRequestBody getNamespaceGroupsRequestBody) throws ApiException
getNamespaceGroupsRequestBody - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * x-tower-request-id - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public ApiResponse<List<NamespaceGroup>> getNamespaceGroupsWithHttpInfo(GetNamespaceGroupsRequestBody getNamespaceGroupsRequestBody) throws ApiException
getNamespaceGroupsRequestBody - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * x-tower-request-id - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call getNamespaceGroupsAsync(GetNamespaceGroupsRequestBody getNamespaceGroupsRequestBody, ApiCallback<List<NamespaceGroup>> _callback) throws ApiException
getNamespaceGroupsRequestBody - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | * x-tower-request-id - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call getNamespaceGroupsConnectionCall(GetNamespaceGroupsConnectionRequestBody getNamespaceGroupsConnectionRequestBody, ApiCallback _callback) throws ApiException
getNamespaceGroupsConnectionRequestBody - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | * x-tower-request-id - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public NamespaceGroupConnection getNamespaceGroupsConnection(GetNamespaceGroupsConnectionRequestBody getNamespaceGroupsConnectionRequestBody) throws ApiException
getNamespaceGroupsConnectionRequestBody - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * x-tower-request-id - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public ApiResponse<NamespaceGroupConnection> getNamespaceGroupsConnectionWithHttpInfo(GetNamespaceGroupsConnectionRequestBody getNamespaceGroupsConnectionRequestBody) throws ApiException
getNamespaceGroupsConnectionRequestBody - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * x-tower-request-id - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call getNamespaceGroupsConnectionAsync(GetNamespaceGroupsConnectionRequestBody getNamespaceGroupsConnectionRequestBody, ApiCallback<NamespaceGroupConnection> _callback) throws ApiException
getNamespaceGroupsConnectionRequestBody - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | * x-tower-request-id - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call updateNamespaceGroupCall(NamespaceGroupUpdationParams namespaceGroupUpdationParams, ApiCallback _callback) throws ApiException
namespaceGroupUpdationParams - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public List<WithTaskNamespaceGroup> updateNamespaceGroup(NamespaceGroupUpdationParams namespaceGroupUpdationParams) throws ApiException
namespaceGroupUpdationParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public ApiResponse<List<WithTaskNamespaceGroup>> updateNamespaceGroupWithHttpInfo(NamespaceGroupUpdationParams namespaceGroupUpdationParams) throws ApiException
namespaceGroupUpdationParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call updateNamespaceGroupAsync(NamespaceGroupUpdationParams namespaceGroupUpdationParams, ApiCallback<List<WithTaskNamespaceGroup>> _callback) throws ApiException
namespaceGroupUpdationParams - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
Copyright © 2025. All rights reserved.