Class AlertSubscriptionsApi


  • public class AlertSubscriptionsApi
    extends Object
    • Constructor Detail

      • AlertSubscriptionsApi

        public AlertSubscriptionsApi()
      • AlertSubscriptionsApi

        public AlertSubscriptionsApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • getSubscribedAlertTypesCall

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

        public AlertsSubscriptionDTO getSubscribedAlertTypes()
                                                      throws ApiException
        Get Subscribed Alert Types This operation is used to get the list of subscribed alert types by the user.
        Returns:
        AlertsSubscriptionDTO
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getSubscribedAlertTypesWithHttpInfo

        public ApiResponse<AlertsSubscriptionDTO> getSubscribedAlertTypesWithHttpInfo()
                                                                               throws ApiException
        Get Subscribed Alert Types This operation is used to get the list of subscribed alert types by the user.
        Returns:
        ApiResponse<AlertsSubscriptionDTO>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getSubscribedAlertTypesAsync

        public okhttp3.Call getSubscribedAlertTypesAsync​(ApiCallback<AlertsSubscriptionDTO> _callback)
                                                  throws ApiException
        Get Subscribed Alert Types (asynchronously) This operation is used to get the list of subscribed alert types by the user.
        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
      • subscribeToAlertsCall

        public okhttp3.Call subscribeToAlertsCall​(AlertsSubscriptionDTO alertsSubscriptionDTO,
                                                  ApiCallback _callback)
                                           throws ApiException
        Build call for subscribeToAlerts
        Parameters:
        alertsSubscriptionDTO - The alerts list and the email list to subscribe. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • subscribeToAlerts

        public AlertsSubscriptionDTO subscribeToAlerts​(AlertsSubscriptionDTO alertsSubscriptionDTO)
                                                throws ApiException
        Subscribe to an Admin Alert This operation is used to subscribe to admin alerts
        Parameters:
        alertsSubscriptionDTO - The alerts list and the email list to subscribe. (required)
        Returns:
        AlertsSubscriptionDTO
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • subscribeToAlertsWithHttpInfo

        public ApiResponse<AlertsSubscriptionDTO> subscribeToAlertsWithHttpInfo​(AlertsSubscriptionDTO alertsSubscriptionDTO)
                                                                         throws ApiException
        Subscribe to an Admin Alert This operation is used to subscribe to admin alerts
        Parameters:
        alertsSubscriptionDTO - The alerts list and the email list to subscribe. (required)
        Returns:
        ApiResponse<AlertsSubscriptionDTO>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • subscribeToAlertsAsync

        public okhttp3.Call subscribeToAlertsAsync​(AlertsSubscriptionDTO alertsSubscriptionDTO,
                                                   ApiCallback<AlertsSubscriptionDTO> _callback)
                                            throws ApiException
        Subscribe to an Admin Alert (asynchronously) This operation is used to subscribe to admin alerts
        Parameters:
        alertsSubscriptionDTO - The alerts list and the email list to subscribe. (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
      • unsubscribeAllAlertsCall

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

        public void unsubscribeAllAlerts()
                                  throws ApiException
        Unsubscribe User from all Admin Alerts This operation is used to unsubscribe the respective user from all the admin alert types.
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • unsubscribeAllAlertsWithHttpInfo

        public ApiResponse<Void> unsubscribeAllAlertsWithHttpInfo()
                                                           throws ApiException
        Unsubscribe User from all Admin Alerts This operation is used to unsubscribe the respective user from all the admin alert types.
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • unsubscribeAllAlertsAsync

        public okhttp3.Call unsubscribeAllAlertsAsync​(ApiCallback<Void> _callback)
                                               throws ApiException
        Unsubscribe User from all Admin Alerts (asynchronously) This operation is used to unsubscribe the respective user from all the admin alert types.
        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