public class AlertSubscriptionsApi extends Object
| Constructor and Description |
|---|
AlertSubscriptionsApi() |
AlertSubscriptionsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
AlertsInfoDTO |
getSubscribedAlertTypes()
Get the list of API Store alert types subscribed by the user.
|
com.squareup.okhttp.Call |
getSubscribedAlertTypesAsync(ApiCallback<AlertsInfoDTO> callback)
Get the list of API Store alert types subscribed by the user.
|
com.squareup.okhttp.Call |
getSubscribedAlertTypesCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getSubscribedAlertTypes
|
ApiResponse<AlertsInfoDTO> |
getSubscribedAlertTypesWithHttpInfo()
Get the list of API Store alert types subscribed by the user.
|
void |
setApiClient(ApiClient apiClient) |
AlertsInfoResponseDTO |
subscribeToAlerts(AlertsInfoDTO body)
Subscribe to the selected alert types by the user.
|
com.squareup.okhttp.Call |
subscribeToAlertsAsync(AlertsInfoDTO body,
ApiCallback<AlertsInfoResponseDTO> callback)
Subscribe to the selected alert types by the user.
|
com.squareup.okhttp.Call |
subscribeToAlertsCall(AlertsInfoDTO body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for subscribeToAlerts
|
ApiResponse<AlertsInfoResponseDTO> |
subscribeToAlertsWithHttpInfo(AlertsInfoDTO body)
Subscribe to the selected alert types by the user.
|
void |
unsubscribeAllAlerts()
Unsubscribe user from all the alert types.
|
com.squareup.okhttp.Call |
unsubscribeAllAlertsAsync(ApiCallback<Void> callback)
Unsubscribe user from all the alert types.
|
com.squareup.okhttp.Call |
unsubscribeAllAlertsCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for unsubscribeAllAlerts
|
ApiResponse<Void> |
unsubscribeAllAlertsWithHttpInfo()
Unsubscribe user from all the alert types.
|
public AlertSubscriptionsApi()
public AlertSubscriptionsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call getSubscribedAlertTypesCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic AlertsInfoDTO getSubscribedAlertTypes() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<AlertsInfoDTO> getSubscribedAlertTypesWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getSubscribedAlertTypesAsync(ApiCallback<AlertsInfoDTO> 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 subscribeToAlertsCall(AlertsInfoDTO body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - The alerts list and the email list to subscribe. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic AlertsInfoResponseDTO subscribeToAlerts(AlertsInfoDTO body) throws ApiException
body - 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<AlertsInfoResponseDTO> subscribeToAlertsWithHttpInfo(AlertsInfoDTO body) throws ApiException
body - 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 com.squareup.okhttp.Call subscribeToAlertsAsync(AlertsInfoDTO body, ApiCallback<AlertsInfoResponseDTO> callback) throws ApiException
body - 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 com.squareup.okhttp.Call unsubscribeAllAlertsCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - 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 com.squareup.okhttp.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 © 2020 WSO2 Inc. All rights reserved.