public class GlobalAlertRuleApi extends Object
| 构造器和说明 |
|---|
GlobalAlertRuleApi() |
GlobalAlertRuleApi(ApiClient apiClient) |
public GlobalAlertRuleApi()
public GlobalAlertRuleApi(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 getGlobalAlertRulesCall(GetGlobalAlertRulesRequestBody getGlobalAlertRulesRequestBody, ApiCallback _callback) throws ApiException
getGlobalAlertRulesRequestBody - (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<GlobalAlertRule> getGlobalAlertRules(GetGlobalAlertRulesRequestBody getGlobalAlertRulesRequestBody) throws ApiException
getGlobalAlertRulesRequestBody - (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<GlobalAlertRule>> getGlobalAlertRulesWithHttpInfo(GetGlobalAlertRulesRequestBody getGlobalAlertRulesRequestBody) throws ApiException
getGlobalAlertRulesRequestBody - (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 getGlobalAlertRulesAsync(GetGlobalAlertRulesRequestBody getGlobalAlertRulesRequestBody, ApiCallback<List<GlobalAlertRule>> _callback) throws ApiException
getGlobalAlertRulesRequestBody - (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 getGlobalAlertRulesConnectionCall(GetGlobalAlertRulesConnectionRequestBody getGlobalAlertRulesConnectionRequestBody, ApiCallback _callback) throws ApiException
getGlobalAlertRulesConnectionRequestBody - (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 GlobalAlertRuleConnection getGlobalAlertRulesConnection(GetGlobalAlertRulesConnectionRequestBody getGlobalAlertRulesConnectionRequestBody) throws ApiException
getGlobalAlertRulesConnectionRequestBody - (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<GlobalAlertRuleConnection> getGlobalAlertRulesConnectionWithHttpInfo(GetGlobalAlertRulesConnectionRequestBody getGlobalAlertRulesConnectionRequestBody) throws ApiException
getGlobalAlertRulesConnectionRequestBody - (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 getGlobalAlertRulesConnectionAsync(GetGlobalAlertRulesConnectionRequestBody getGlobalAlertRulesConnectionRequestBody, ApiCallback<GlobalAlertRuleConnection> _callback) throws ApiException
getGlobalAlertRulesConnectionRequestBody - (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 updateCustomizeAlertRuleCall(CustomizeAlertRuleUpdationParams customizeAlertRuleUpdationParams, ApiCallback _callback) throws ApiException
customizeAlertRuleUpdationParams - (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<WithTaskGlobalAlertRule> updateCustomizeAlertRule(CustomizeAlertRuleUpdationParams customizeAlertRuleUpdationParams) throws ApiException
customizeAlertRuleUpdationParams - (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<WithTaskGlobalAlertRule>> updateCustomizeAlertRuleWithHttpInfo(CustomizeAlertRuleUpdationParams customizeAlertRuleUpdationParams) throws ApiException
customizeAlertRuleUpdationParams - (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 updateCustomizeAlertRuleAsync(CustomizeAlertRuleUpdationParams customizeAlertRuleUpdationParams, ApiCallback<List<WithTaskGlobalAlertRule>> _callback) throws ApiException
customizeAlertRuleUpdationParams - (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 updateGlobalAlertRuleCall(GlobalAlertRuleUpdationParams globalAlertRuleUpdationParams, ApiCallback _callback) throws ApiException
globalAlertRuleUpdationParams - (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<WithTaskGlobalAlertRule> updateGlobalAlertRule(GlobalAlertRuleUpdationParams globalAlertRuleUpdationParams) throws ApiException
globalAlertRuleUpdationParams - (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<WithTaskGlobalAlertRule>> updateGlobalAlertRuleWithHttpInfo(GlobalAlertRuleUpdationParams globalAlertRuleUpdationParams) throws ApiException
globalAlertRuleUpdationParams - (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 updateGlobalAlertRuleAsync(GlobalAlertRuleUpdationParams globalAlertRuleUpdationParams, ApiCallback<List<WithTaskGlobalAlertRule>> _callback) throws ApiException
globalAlertRuleUpdationParams - (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.