public class IsolationPolicyApi extends Object
| 构造器和说明 |
|---|
IsolationPolicyApi() |
IsolationPolicyApi(ApiClient apiClient) |
public IsolationPolicyApi()
public IsolationPolicyApi(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 getIsolationPoliciesCall(GetIsolationPoliciesRequestBody getIsolationPoliciesRequestBody, ApiCallback _callback) throws ApiException
getIsolationPoliciesRequestBody - (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<IsolationPolicy> getIsolationPolicies(GetIsolationPoliciesRequestBody getIsolationPoliciesRequestBody) throws ApiException
getIsolationPoliciesRequestBody - (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<IsolationPolicy>> getIsolationPoliciesWithHttpInfo(GetIsolationPoliciesRequestBody getIsolationPoliciesRequestBody) throws ApiException
getIsolationPoliciesRequestBody - (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 getIsolationPoliciesAsync(GetIsolationPoliciesRequestBody getIsolationPoliciesRequestBody, ApiCallback<List<IsolationPolicy>> _callback) throws ApiException
getIsolationPoliciesRequestBody - (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 getIsolationPoliciesConnectionCall(GetIsolationPoliciesConnectionRequestBody getIsolationPoliciesConnectionRequestBody, ApiCallback _callback) throws ApiException
getIsolationPoliciesConnectionRequestBody - (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 IsolationPolicyConnection getIsolationPoliciesConnection(GetIsolationPoliciesConnectionRequestBody getIsolationPoliciesConnectionRequestBody) throws ApiException
getIsolationPoliciesConnectionRequestBody - (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<IsolationPolicyConnection> getIsolationPoliciesConnectionWithHttpInfo(GetIsolationPoliciesConnectionRequestBody getIsolationPoliciesConnectionRequestBody) throws ApiException
getIsolationPoliciesConnectionRequestBody - (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 getIsolationPoliciesConnectionAsync(GetIsolationPoliciesConnectionRequestBody getIsolationPoliciesConnectionRequestBody, ApiCallback<IsolationPolicyConnection> _callback) throws ApiException
getIsolationPoliciesConnectionRequestBody - (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 - |
Copyright © 2025. All rights reserved.