Class BotDetectionAlertSubscriptionsApi


  • public class BotDetectionAlertSubscriptionsApi
    extends Object
    • Constructor Detail

      • BotDetectionAlertSubscriptionsApi

        public BotDetectionAlertSubscriptionsApi()
      • BotDetectionAlertSubscriptionsApi

        public BotDetectionAlertSubscriptionsApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • getBotDetectionAlertSubscriptionsCall

        public okhttp3.Call getBotDetectionAlertSubscriptionsCall​(ApiCallback _callback)
                                                           throws ApiException
        Build call for getBotDetectionAlertSubscriptions
        Parameters:
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getBotDetectionAlertSubscriptions

        public BotDetectionAlertSubscriptionListDTO getBotDetectionAlertSubscriptions()
                                                                               throws ApiException
        Get Subscriptions for Bot Detection Get the list of subscriptions which are subscribed to receive email alerts for bot detection
        Returns:
        BotDetectionAlertSubscriptionListDTO
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getBotDetectionAlertSubscriptionsWithHttpInfo

        public ApiResponse<BotDetectionAlertSubscriptionListDTO> getBotDetectionAlertSubscriptionsWithHttpInfo()
                                                                                                        throws ApiException
        Get Subscriptions for Bot Detection Get the list of subscriptions which are subscribed to receive email alerts for bot detection
        Returns:
        ApiResponse<BotDetectionAlertSubscriptionListDTO>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getBotDetectionAlertSubscriptionsAsync

        public okhttp3.Call getBotDetectionAlertSubscriptionsAsync​(ApiCallback<BotDetectionAlertSubscriptionListDTO> _callback)
                                                            throws ApiException
        Get Subscriptions for Bot Detection (asynchronously) Get the list of subscriptions which are subscribed to receive email alerts for bot detection
        Parameters:
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • subscribeForBotDetectionAlertsCall

        public okhttp3.Call subscribeForBotDetectionAlertsCall​(BotDetectionAlertSubscriptionDTO botDetectionAlertSubscriptionDTO,
                                                               ApiCallback _callback)
                                                        throws ApiException
        Build call for subscribeForBotDetectionAlerts
        Parameters:
        botDetectionAlertSubscriptionDTO - The email to register to receive bot detection alerts (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • subscribeForBotDetectionAlerts

        public BotDetectionAlertSubscriptionDTO subscribeForBotDetectionAlerts​(BotDetectionAlertSubscriptionDTO botDetectionAlertSubscriptionDTO)
                                                                        throws ApiException
        Subscribe for Bot Detection Alerts Register a subscription for bot detection alerts
        Parameters:
        botDetectionAlertSubscriptionDTO - The email to register to receive bot detection alerts (required)
        Returns:
        BotDetectionAlertSubscriptionDTO
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • subscribeForBotDetectionAlertsWithHttpInfo

        public ApiResponse<BotDetectionAlertSubscriptionDTO> subscribeForBotDetectionAlertsWithHttpInfo​(BotDetectionAlertSubscriptionDTO botDetectionAlertSubscriptionDTO)
                                                                                                 throws ApiException
        Subscribe for Bot Detection Alerts Register a subscription for bot detection alerts
        Parameters:
        botDetectionAlertSubscriptionDTO - The email to register to receive bot detection alerts (required)
        Returns:
        ApiResponse<BotDetectionAlertSubscriptionDTO>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • subscribeForBotDetectionAlertsAsync

        public okhttp3.Call subscribeForBotDetectionAlertsAsync​(BotDetectionAlertSubscriptionDTO botDetectionAlertSubscriptionDTO,
                                                                ApiCallback<BotDetectionAlertSubscriptionDTO> _callback)
                                                         throws ApiException
        Subscribe for Bot Detection Alerts (asynchronously) Register a subscription for bot detection alerts
        Parameters:
        botDetectionAlertSubscriptionDTO - The email to register to receive bot detection alerts (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • unsubscribeFromBotDetectionAlertsCall

        public okhttp3.Call unsubscribeFromBotDetectionAlertsCall​(String uuid,
                                                                  ApiCallback _callback)
                                                           throws ApiException
        Build call for unsubscribeFromBotDetectionAlerts
        Parameters:
        uuid - uuid of the subscription (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • unsubscribeFromBotDetectionAlerts

        public void unsubscribeFromBotDetectionAlerts​(String uuid)
                                               throws ApiException
        Unsubscribe from bot detection alerts. Delete a Bot Detection Alert Subscription
        Parameters:
        uuid - uuid of the subscription (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • unsubscribeFromBotDetectionAlertsWithHttpInfo

        public ApiResponse<Void> unsubscribeFromBotDetectionAlertsWithHttpInfo​(String uuid)
                                                                        throws ApiException
        Unsubscribe from bot detection alerts. Delete a Bot Detection Alert Subscription
        Parameters:
        uuid - uuid of the subscription (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • unsubscribeFromBotDetectionAlertsAsync

        public okhttp3.Call unsubscribeFromBotDetectionAlertsAsync​(String uuid,
                                                                   ApiCallback<Void> _callback)
                                                            throws ApiException
        Unsubscribe from bot detection alerts. (asynchronously) Delete a Bot Detection Alert Subscription
        Parameters:
        uuid - uuid of the subscription (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object