Class NotificationApi
java.lang.Object
org.wso2.am.integration.clients.internal.api.NotificationApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnotifyPost(String xWSO2KEYMANAGER, String body) Push notification events into nodes.com.squareup.okhttp.CallnotifyPostAsync(String xWSO2KEYMANAGER, String body, ApiCallback<Object> callback) Push notification events into nodes.com.squareup.okhttp.CallnotifyPostCall(String xWSO2KEYMANAGER, String body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for notifyPostnotifyPostWithHttpInfo(String xWSO2KEYMANAGER, String body) Push notification events into nodes.voidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
NotificationApi
public NotificationApi() -
NotificationApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
notifyPostCall
public com.squareup.okhttp.Call notifyPostCall(String xWSO2KEYMANAGER, String body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for notifyPost- Parameters:
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 listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
notifyPost
Push notification events into nodes. This pushes events to the other nodes.- Parameters:
xWSO2KEYMANAGER- This is used to specify the tenant domain, where the resource need to be retrieved from. (required)body- Notification event payload (optional)- Returns:
- Object
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
notifyPostWithHttpInfo
public ApiResponse<Object> notifyPostWithHttpInfo(String xWSO2KEYMANAGER, String body) throws ApiException Push notification events into nodes. This pushes events to the other nodes.- Parameters:
xWSO2KEYMANAGER- This is used to specify the tenant domain, where the resource need to be retrieved from. (required)body- Notification event payload (optional)- Returns:
- ApiResponse<Object>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
notifyPostAsync
public com.squareup.okhttp.Call notifyPostAsync(String xWSO2KEYMANAGER, String body, ApiCallback<Object> callback) throws ApiException Push notification events into nodes. (asynchronously) This pushes events to the other nodes.- Parameters:
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 finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-