public class BotDetectionAlertSubscriptionsApi extends Object
| Constructor and Description |
|---|
BotDetectionAlertSubscriptionsApi() |
BotDetectionAlertSubscriptionsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
BotDetectionAlertSubscriptionListDTO |
getBotDetectionAlertSubscriptions()
Get the list of subscriptions for bot detection
Get the list of subscriptions which are subscribed to receive email alerts for bot detection
|
com.squareup.okhttp.Call |
getBotDetectionAlertSubscriptionsAsync(ApiCallback<BotDetectionAlertSubscriptionListDTO> callback)
Get the list of subscriptions for bot detection (asynchronously)
Get the list of subscriptions which are subscribed to receive email alerts for bot detection
|
com.squareup.okhttp.Call |
getBotDetectionAlertSubscriptionsCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getBotDetectionAlertSubscriptions
|
ApiResponse<BotDetectionAlertSubscriptionListDTO> |
getBotDetectionAlertSubscriptionsWithHttpInfo()
Get the list of subscriptions for bot detection
Get the list of subscriptions which are subscribed to receive email alerts for bot detection
|
void |
setApiClient(ApiClient apiClient) |
BotDetectionAlertSubscriptionDTO |
subscribeForBotDetectionAlerts(BotDetectionAlertSubscriptionDTO body)
Subscribe for bot detection alerts
Register a subscription for bot detection alerts
|
com.squareup.okhttp.Call |
subscribeForBotDetectionAlertsAsync(BotDetectionAlertSubscriptionDTO body,
ApiCallback<BotDetectionAlertSubscriptionDTO> callback)
Subscribe for bot detection alerts (asynchronously)
Register a subscription for bot detection alerts
|
com.squareup.okhttp.Call |
subscribeForBotDetectionAlertsCall(BotDetectionAlertSubscriptionDTO body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for subscribeForBotDetectionAlerts
|
ApiResponse<BotDetectionAlertSubscriptionDTO> |
subscribeForBotDetectionAlertsWithHttpInfo(BotDetectionAlertSubscriptionDTO body)
Subscribe for bot detection alerts
Register a subscription for bot detection alerts
|
void |
unsubscribeFromBotDetectionAlerts(String uuid)
Unsubscribe from bot detection alerts.
|
com.squareup.okhttp.Call |
unsubscribeFromBotDetectionAlertsAsync(String uuid,
ApiCallback<Void> callback)
Unsubscribe from bot detection alerts.
|
com.squareup.okhttp.Call |
unsubscribeFromBotDetectionAlertsCall(String uuid,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for unsubscribeFromBotDetectionAlerts
|
ApiResponse<Void> |
unsubscribeFromBotDetectionAlertsWithHttpInfo(String uuid)
Unsubscribe from bot detection alerts.
|
public BotDetectionAlertSubscriptionsApi()
public BotDetectionAlertSubscriptionsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call getBotDetectionAlertSubscriptionsCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic BotDetectionAlertSubscriptionListDTO getBotDetectionAlertSubscriptions() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<BotDetectionAlertSubscriptionListDTO> getBotDetectionAlertSubscriptionsWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getBotDetectionAlertSubscriptionsAsync(ApiCallback<BotDetectionAlertSubscriptionListDTO> 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 objectpublic com.squareup.okhttp.Call subscribeForBotDetectionAlertsCall(BotDetectionAlertSubscriptionDTO body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - The email to register to receive bot detection alerts (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic BotDetectionAlertSubscriptionDTO subscribeForBotDetectionAlerts(BotDetectionAlertSubscriptionDTO body) throws ApiException
body - The email to register to receive bot detection alerts (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<BotDetectionAlertSubscriptionDTO> subscribeForBotDetectionAlertsWithHttpInfo(BotDetectionAlertSubscriptionDTO body) throws ApiException
body - The email to register to receive bot detection alerts (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call subscribeForBotDetectionAlertsAsync(BotDetectionAlertSubscriptionDTO body, ApiCallback<BotDetectionAlertSubscriptionDTO> callback) throws ApiException
body - The email to register to receive bot detection alerts (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 unsubscribeFromBotDetectionAlertsCall(String uuid, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
uuid - uuid of the subscription (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void unsubscribeFromBotDetectionAlerts(String uuid) throws ApiException
uuid - uuid of the subscription (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> unsubscribeFromBotDetectionAlertsWithHttpInfo(String uuid) throws ApiException
uuid - uuid of the subscription (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call unsubscribeFromBotDetectionAlertsAsync(String uuid, ApiCallback<Void> callback) throws ApiException
uuid - uuid of the subscription (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.