public class AlertsApi extends Object
| Constructor and Description |
|---|
AlertsApi() |
AlertsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
AlertTypesListDTO |
getAdminAlertTypes()
Get the list of admin alert types.
|
com.squareup.okhttp.Call |
getAdminAlertTypesAsync(ApiCallback<AlertTypesListDTO> callback)
Get the list of admin alert types.
|
com.squareup.okhttp.Call |
getAdminAlertTypesCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getAdminAlertTypes
|
ApiResponse<AlertTypesListDTO> |
getAdminAlertTypesWithHttpInfo()
Get the list of admin alert types.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public AlertsApi()
public AlertsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call getAdminAlertTypesCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic AlertTypesListDTO getAdminAlertTypes() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<AlertTypesListDTO> getAdminAlertTypesWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getAdminAlertTypesAsync(ApiCallback<AlertTypesListDTO> callback) throws ApiException
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.