public class AlertConfigurationApi extends Object
| Constructor and Description |
|---|
AlertConfigurationApi() |
AlertConfigurationApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
AlertConfigDTO |
addAlertConfig(String alertType,
String configurationId,
AlertConfigInfoDTO body)
Add AbnormalRequestsPerMin alert configurations.
|
com.squareup.okhttp.Call |
addAlertConfigAsync(String alertType,
String configurationId,
AlertConfigInfoDTO body,
ApiCallback<AlertConfigDTO> callback)
Add AbnormalRequestsPerMin alert configurations.
|
com.squareup.okhttp.Call |
addAlertConfigCall(String alertType,
String configurationId,
AlertConfigInfoDTO body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for addAlertConfig
|
ApiResponse<AlertConfigDTO> |
addAlertConfigWithHttpInfo(String alertType,
String configurationId,
AlertConfigInfoDTO body)
Add AbnormalRequestsPerMin alert configurations.
|
void |
deleteAlertConfig(String alertType,
String configurationId)
Delete the selected configuration from AbnormalRequestsPerMin alert type.
|
com.squareup.okhttp.Call |
deleteAlertConfigAsync(String alertType,
String configurationId,
ApiCallback<Void> callback)
Delete the selected configuration from AbnormalRequestsPerMin alert type.
|
com.squareup.okhttp.Call |
deleteAlertConfigCall(String alertType,
String configurationId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteAlertConfig
|
ApiResponse<Void> |
deleteAlertConfigWithHttpInfo(String alertType,
String configurationId)
Delete the selected configuration from AbnormalRequestsPerMin alert type.
|
AlertConfigListDTO |
getAllAlertConfigs(String alertType)
Get all AbnormalRequestsPerMin alert configurations
This operation is used to get all configurations of the AbnormalRequestsPerMin alert type.
|
com.squareup.okhttp.Call |
getAllAlertConfigsAsync(String alertType,
ApiCallback<AlertConfigListDTO> callback)
Get all AbnormalRequestsPerMin alert configurations (asynchronously)
This operation is used to get all configurations of the AbnormalRequestsPerMin alert type.
|
com.squareup.okhttp.Call |
getAllAlertConfigsCall(String alertType,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getAllAlertConfigs
|
ApiResponse<AlertConfigListDTO> |
getAllAlertConfigsWithHttpInfo(String alertType)
Get all AbnormalRequestsPerMin alert configurations
This operation is used to get all configurations of the AbnormalRequestsPerMin alert type.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public AlertConfigurationApi()
public AlertConfigurationApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call addAlertConfigCall(String alertType, String configurationId, AlertConfigInfoDTO body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
alertType - The alert type. (required)configurationId - The alert configuration id. (required)body - Configuration for AbnormalRequestCount alert type (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic AlertConfigDTO addAlertConfig(String alertType, String configurationId, AlertConfigInfoDTO body) throws ApiException
alertType - The alert type. (required)configurationId - The alert configuration id. (required)body - Configuration for AbnormalRequestCount alert type (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<AlertConfigDTO> addAlertConfigWithHttpInfo(String alertType, String configurationId, AlertConfigInfoDTO body) throws ApiException
alertType - The alert type. (required)configurationId - The alert configuration id. (required)body - Configuration for AbnormalRequestCount alert type (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call addAlertConfigAsync(String alertType, String configurationId, AlertConfigInfoDTO body, ApiCallback<AlertConfigDTO> callback) throws ApiException
alertType - The alert type. (required)configurationId - The alert configuration id. (required)body - Configuration for AbnormalRequestCount alert type (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 objectpublic com.squareup.okhttp.Call deleteAlertConfigCall(String alertType, String configurationId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
alertType - The alert type. (required)configurationId - The alert configuration id. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void deleteAlertConfig(String alertType, String configurationId) throws ApiException
alertType - The alert type. (required)configurationId - The alert configuration id. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteAlertConfigWithHttpInfo(String alertType, String configurationId) throws ApiException
alertType - The alert type. (required)configurationId - The alert configuration id. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteAlertConfigAsync(String alertType, String configurationId, ApiCallback<Void> callback) throws ApiException
alertType - The alert type. (required)configurationId - The alert configuration id. (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 objectpublic com.squareup.okhttp.Call getAllAlertConfigsCall(String alertType, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
alertType - The alert type. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic AlertConfigListDTO getAllAlertConfigs(String alertType) throws ApiException
alertType - The alert type. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<AlertConfigListDTO> getAllAlertConfigsWithHttpInfo(String alertType) throws ApiException
alertType - The alert type. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getAllAlertConfigsAsync(String alertType, ApiCallback<AlertConfigListDTO> callback) throws ApiException
alertType - The alert type. (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 objectCopyright © 2020 WSO2 Inc. All rights reserved.