public class NotificationApi extends Object
| Constructor and Description |
|---|
NotificationApi() |
NotificationApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
Object |
notifyPost(String xWSO2KEYMANAGER,
String body)
Push notification events into nodes.
|
com.squareup.okhttp.Call |
notifyPostAsync(String xWSO2KEYMANAGER,
String body,
ApiCallback<Object> callback)
Push notification events into nodes.
|
com.squareup.okhttp.Call |
notifyPostCall(String xWSO2KEYMANAGER,
String body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for notifyPost
|
ApiResponse<Object> |
notifyPostWithHttpInfo(String xWSO2KEYMANAGER,
String body)
Push notification events into nodes.
|
void |
setApiClient(ApiClient apiClient) |
public NotificationApi()
public NotificationApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call notifyPostCall(String xWSO2KEYMANAGER, String body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
xWSO2KEYMANAGER - This is used to specify the tenant domain, where the resource need to be retrieved from. (required)body - Notification event payload (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Object notifyPost(String xWSO2KEYMANAGER, String body) throws ApiException
xWSO2KEYMANAGER - This is used to specify the tenant domain, where the resource need to be retrieved from. (required)body - Notification event payload (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Object> notifyPostWithHttpInfo(String xWSO2KEYMANAGER, String body) throws ApiException
xWSO2KEYMANAGER - This is used to specify the tenant domain, where the resource need to be retrieved from. (required)body - Notification event payload (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call notifyPostAsync(String xWSO2KEYMANAGER, String body, ApiCallback<Object> callback) throws ApiException
xWSO2KEYMANAGER - This is used to specify the tenant domain, where the resource need to be retrieved from. (required)body - Notification event payload (optional)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.