public class AlertSubscriptionsApi extends Object
| Constructor and Description |
|---|
AlertSubscriptionsApi() |
AlertSubscriptionsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
AlertsSubscriptionDTO |
getSubscribedAlertTypes()
Get Subscribed Alert Types
This operation is used to get the list of subscribed alert types by the user.
|
okhttp3.Call |
getSubscribedAlertTypesAsync(ApiCallback<AlertsSubscriptionDTO> _callback)
Get Subscribed Alert Types (asynchronously)
This operation is used to get the list of subscribed alert types by the user.
|
okhttp3.Call |
getSubscribedAlertTypesCall(ApiCallback _callback)
Build call for getSubscribedAlertTypes
|
ApiResponse<AlertsSubscriptionDTO> |
getSubscribedAlertTypesWithHttpInfo()
Get Subscribed Alert Types
This operation is used to get the list of subscribed alert types by the user.
|
void |
setApiClient(ApiClient apiClient) |
AlertsSubscriptionDTO |
subscribeToAlerts(AlertsSubscriptionDTO alertsSubscriptionDTO)
Subscribe to an Admin Alert
This operation is used to subscribe to admin alerts
|
okhttp3.Call |
subscribeToAlertsAsync(AlertsSubscriptionDTO alertsSubscriptionDTO,
ApiCallback<AlertsSubscriptionDTO> _callback)
Subscribe to an Admin Alert (asynchronously)
This operation is used to subscribe to admin alerts
|
okhttp3.Call |
subscribeToAlertsCall(AlertsSubscriptionDTO alertsSubscriptionDTO,
ApiCallback _callback)
Build call for subscribeToAlerts
|
ApiResponse<AlertsSubscriptionDTO> |
subscribeToAlertsWithHttpInfo(AlertsSubscriptionDTO alertsSubscriptionDTO)
Subscribe to an Admin Alert
This operation is used to subscribe to admin alerts
|
void |
unsubscribeAllAlerts()
Unsubscribe User from all Admin Alerts
This operation is used to unsubscribe the respective user from all the admin alert types.
|
okhttp3.Call |
unsubscribeAllAlertsAsync(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.Call |
unsubscribeAllAlertsCall(ApiCallback _callback)
Build call for unsubscribeAllAlerts
|
ApiResponse<Void> |
unsubscribeAllAlertsWithHttpInfo()
Unsubscribe User from all Admin Alerts
This operation is used to unsubscribe the respective user from all the admin alert types.
|
public AlertSubscriptionsApi()
public AlertSubscriptionsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call getSubscribedAlertTypesCall(ApiCallback _callback) throws ApiException
_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic AlertsSubscriptionDTO getSubscribedAlertTypes() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<AlertsSubscriptionDTO> getSubscribedAlertTypesWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getSubscribedAlertTypesAsync(ApiCallback<AlertsSubscriptionDTO> _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 okhttp3.Call subscribeToAlertsCall(AlertsSubscriptionDTO alertsSubscriptionDTO, ApiCallback _callback) throws ApiException
alertsSubscriptionDTO - The alerts list and the email list to subscribe. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic AlertsSubscriptionDTO subscribeToAlerts(AlertsSubscriptionDTO alertsSubscriptionDTO) throws ApiException
alertsSubscriptionDTO - The alerts list and the email list to subscribe. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<AlertsSubscriptionDTO> subscribeToAlertsWithHttpInfo(AlertsSubscriptionDTO alertsSubscriptionDTO) throws ApiException
alertsSubscriptionDTO - The alerts list and the email list to subscribe. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call subscribeToAlertsAsync(AlertsSubscriptionDTO alertsSubscriptionDTO, ApiCallback<AlertsSubscriptionDTO> _callback) throws ApiException
alertsSubscriptionDTO - The alerts list and the email list to subscribe. (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 okhttp3.Call unsubscribeAllAlertsCall(ApiCallback _callback) throws ApiException
_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic void unsubscribeAllAlerts()
throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> unsubscribeAllAlertsWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call unsubscribeAllAlertsAsync(ApiCallback<Void> _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 © 2021 WSO2 Inc. All rights reserved.