public class NetworkPolicyRuleServiceApi extends Object
| 构造器和说明 |
|---|
NetworkPolicyRuleServiceApi() |
NetworkPolicyRuleServiceApi(ApiClient apiClient) |
public NetworkPolicyRuleServiceApi()
public NetworkPolicyRuleServiceApi(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 createNetworkPolicyRuleServiceCall(List<NetworkPolicyRuleServiceCreationParams> networkPolicyRuleServiceCreationParams, ApiCallback _callback) throws ApiException
networkPolicyRuleServiceCreationParams - (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<WithTaskNetworkPolicyRuleService> createNetworkPolicyRuleService(List<NetworkPolicyRuleServiceCreationParams> networkPolicyRuleServiceCreationParams) throws ApiException
networkPolicyRuleServiceCreationParams - (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<WithTaskNetworkPolicyRuleService>> createNetworkPolicyRuleServiceWithHttpInfo(List<NetworkPolicyRuleServiceCreationParams> networkPolicyRuleServiceCreationParams) throws ApiException
networkPolicyRuleServiceCreationParams - (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 createNetworkPolicyRuleServiceAsync(List<NetworkPolicyRuleServiceCreationParams> networkPolicyRuleServiceCreationParams, ApiCallback<List<WithTaskNetworkPolicyRuleService>> _callback) throws ApiException
networkPolicyRuleServiceCreationParams - (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 deleteNetworkPolicyRuleServiceCall(NetworkPolicyRuleServiceDeletionParams networkPolicyRuleServiceDeletionParams, ApiCallback _callback) throws ApiException
networkPolicyRuleServiceDeletionParams - (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<WithTaskDeleteNetworkPolicyRuleService> deleteNetworkPolicyRuleService(NetworkPolicyRuleServiceDeletionParams networkPolicyRuleServiceDeletionParams) throws ApiException
networkPolicyRuleServiceDeletionParams - (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<WithTaskDeleteNetworkPolicyRuleService>> deleteNetworkPolicyRuleServiceWithHttpInfo(NetworkPolicyRuleServiceDeletionParams networkPolicyRuleServiceDeletionParams) throws ApiException
networkPolicyRuleServiceDeletionParams - (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 deleteNetworkPolicyRuleServiceAsync(NetworkPolicyRuleServiceDeletionParams networkPolicyRuleServiceDeletionParams, ApiCallback<List<WithTaskDeleteNetworkPolicyRuleService>> _callback) throws ApiException
networkPolicyRuleServiceDeletionParams - (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 getNetworkPolicyRuleServicesCall(GetNetworkPolicyRuleServicesRequestBody getNetworkPolicyRuleServicesRequestBody, ApiCallback _callback) throws ApiException
getNetworkPolicyRuleServicesRequestBody - (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<NetworkPolicyRuleService> getNetworkPolicyRuleServices(GetNetworkPolicyRuleServicesRequestBody getNetworkPolicyRuleServicesRequestBody) throws ApiException
getNetworkPolicyRuleServicesRequestBody - (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<NetworkPolicyRuleService>> getNetworkPolicyRuleServicesWithHttpInfo(GetNetworkPolicyRuleServicesRequestBody getNetworkPolicyRuleServicesRequestBody) throws ApiException
getNetworkPolicyRuleServicesRequestBody - (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 getNetworkPolicyRuleServicesAsync(GetNetworkPolicyRuleServicesRequestBody getNetworkPolicyRuleServicesRequestBody, ApiCallback<List<NetworkPolicyRuleService>> _callback) throws ApiException
getNetworkPolicyRuleServicesRequestBody - (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 getNetworkPolicyRuleServicesConnectionCall(GetNetworkPolicyRuleServicesConnectionRequestBody getNetworkPolicyRuleServicesConnectionRequestBody, ApiCallback _callback) throws ApiException
getNetworkPolicyRuleServicesConnectionRequestBody - (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 NetworkPolicyRuleServiceConnection getNetworkPolicyRuleServicesConnection(GetNetworkPolicyRuleServicesConnectionRequestBody getNetworkPolicyRuleServicesConnectionRequestBody) throws ApiException
getNetworkPolicyRuleServicesConnectionRequestBody - (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<NetworkPolicyRuleServiceConnection> getNetworkPolicyRuleServicesConnectionWithHttpInfo(GetNetworkPolicyRuleServicesConnectionRequestBody getNetworkPolicyRuleServicesConnectionRequestBody) throws ApiException
getNetworkPolicyRuleServicesConnectionRequestBody - (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 getNetworkPolicyRuleServicesConnectionAsync(GetNetworkPolicyRuleServicesConnectionRequestBody getNetworkPolicyRuleServicesConnectionRequestBody, ApiCallback<NetworkPolicyRuleServiceConnection> _callback) throws ApiException
getNetworkPolicyRuleServicesConnectionRequestBody - (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 updateNetworkPolicyRuleServiceCall(NetworkPolicyRuleServiceUpdationParams networkPolicyRuleServiceUpdationParams, ApiCallback _callback) throws ApiException
networkPolicyRuleServiceUpdationParams - (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<WithTaskNetworkPolicyRuleService> updateNetworkPolicyRuleService(NetworkPolicyRuleServiceUpdationParams networkPolicyRuleServiceUpdationParams) throws ApiException
networkPolicyRuleServiceUpdationParams - (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<WithTaskNetworkPolicyRuleService>> updateNetworkPolicyRuleServiceWithHttpInfo(NetworkPolicyRuleServiceUpdationParams networkPolicyRuleServiceUpdationParams) throws ApiException
networkPolicyRuleServiceUpdationParams - (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 updateNetworkPolicyRuleServiceAsync(NetworkPolicyRuleServiceUpdationParams networkPolicyRuleServiceUpdationParams, ApiCallback<List<WithTaskNetworkPolicyRuleService>> _callback) throws ApiException
networkPolicyRuleServiceUpdationParams - (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.