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 Developer Portal Alert Types Subscribed by the User.
|
okhttp3.Call |
getSubscribedAlertTypesAsync(ApiCallback<AlertsInfoDTO> _callback)
Get the List of API Developer Portal Alert Types Subscribed by the User.
|
okhttp3.Call |
getSubscribedAlertTypesCall(ApiCallback _callback)
Build call for getSubscribedAlertTypes
|
ApiResponse<AlertsInfoDTO> |
getSubscribedAlertTypesWithHttpInfo()
Get the List of API Developer Portal Alert Types Subscribed by the User.
|
void |
setApiClient(ApiClient apiClient) |
AlertsInfoResponseDTO |
subscribeToAlerts(AlertsInfoDTO alertsInfoDTO)
Subscribe to the Selected Alert Types by the User.
|
okhttp3.Call |
subscribeToAlertsAsync(AlertsInfoDTO alertsInfoDTO,
ApiCallback<AlertsInfoResponseDTO> _callback)
Subscribe to the Selected Alert Types by the User.
|
okhttp3.Call |
subscribeToAlertsCall(AlertsInfoDTO alertsInfoDTO,
ApiCallback _callback)
Build call for subscribeToAlerts
|
ApiResponse<AlertsInfoResponseDTO> |
subscribeToAlertsWithHttpInfo(AlertsInfoDTO alertsInfoDTO)
Subscribe to the Selected Alert Types by the User.
|
void |
unsubscribeAllAlerts()
Unsubscribe User from All the Alert Types.
|
okhttp3.Call |
unsubscribeAllAlertsAsync(ApiCallback<Void> _callback)
Unsubscribe User from All the Alert Types.
|
okhttp3.Call |
unsubscribeAllAlertsCall(ApiCallback _callback)
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 okhttp3.Call getSubscribedAlertTypesCall(ApiCallback _callback) throws ApiException
_callback - Callback for upload/download progressApiException - 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 okhttp3.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 okhttp3.Call subscribeToAlertsCall(AlertsInfoDTO alertsInfoDTO, ApiCallback _callback) throws ApiException
alertsInfoDTO - The alerts list and the email list to subscribe. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic AlertsInfoResponseDTO subscribeToAlerts(AlertsInfoDTO alertsInfoDTO) throws ApiException
alertsInfoDTO - 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 alertsInfoDTO) throws ApiException
alertsInfoDTO - 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(AlertsInfoDTO alertsInfoDTO, ApiCallback<AlertsInfoResponseDTO> _callback) throws ApiException
alertsInfoDTO - 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.