Class NotificationApi
- java.lang.Object
-
- org.wso2.am.integration.clients.internal.api.NotificationApi
-
public class NotificationApi extends Object
-
-
Constructor Summary
Constructors Constructor Description NotificationApi()NotificationApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()ObjectnotifyPost(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 notifyPostApiResponse<Object>notifyPostWithHttpInfo(String xWSO2KEYMANAGER, String body)Push notification events into nodes.voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
NotificationApi
public NotificationApi()
-
NotificationApi
public NotificationApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
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
public Object notifyPost(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:
- 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
-
-