Class AlertSubscriptionsApi
java.lang.Object
org.wso2.am.integration.clients.admin.api.AlertSubscriptionsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet Subscribed Alert Types This operation is used to get the list of subscribed alert types by the user.okhttp3.CallGet Subscribed Alert Types (asynchronously) This operation is used to get the list of subscribed alert types by the user.okhttp3.CallgetSubscribedAlertTypesCall(ApiCallback _callback) Build call for getSubscribedAlertTypesGet Subscribed Alert Types This operation is used to get the list of subscribed alert types by the user.voidsetApiClient(ApiClient apiClient) subscribeToAlerts(AlertsSubscriptionDTO alertsSubscriptionDTO) Subscribe to an Admin Alert This operation is used to subscribe to admin alertsokhttp3.CallsubscribeToAlertsAsync(AlertsSubscriptionDTO alertsSubscriptionDTO, ApiCallback<AlertsSubscriptionDTO> _callback) Subscribe to an Admin Alert (asynchronously) This operation is used to subscribe to admin alertsokhttp3.CallsubscribeToAlertsCall(AlertsSubscriptionDTO alertsSubscriptionDTO, ApiCallback _callback) Build call for subscribeToAlertssubscribeToAlertsWithHttpInfo(AlertsSubscriptionDTO alertsSubscriptionDTO) Subscribe to an Admin Alert This operation is used to subscribe to admin alertsvoidUnsubscribe User from all Admin Alerts This operation is used to unsubscribe the respective user from all the admin alert types.okhttp3.CallunsubscribeAllAlertsAsync(ApiCallback<Void> _callback) Unsubscribe User from all Admin Alerts (asynchronously) This operation is used to unsubscribe the respective user from all the admin alert types.okhttp3.CallunsubscribeAllAlertsCall(ApiCallback _callback) Build call for unsubscribeAllAlertsUnsubscribe User from all Admin Alerts This operation is used to unsubscribe the respective user from all the admin alert types.
-
Constructor Details
-
AlertSubscriptionsApi
public AlertSubscriptionsApi() -
AlertSubscriptionsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getSubscribedAlertTypesCall
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
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
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
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
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
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
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
-