Class GatewayLifecycleApi
- java.lang.Object
-
- org.wso2.am.integration.clients.internal.api.GatewayLifecycleApi
-
public class GatewayLifecycleApi extends Object
-
-
Constructor Summary
Constructors Constructor Description GatewayLifecycleApi()GatewayLifecycleApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()NotifyGatewayStatusResponseDTOnotifyGatewayPost(NotifyGatewayPayloadDTO body)Gateway Register or Heartbeat Accepts a payload indicating either a gateway registration or a heartbeat update.com.squareup.okhttp.CallnotifyGatewayPostAsync(NotifyGatewayPayloadDTO body, ApiCallback<NotifyGatewayStatusResponseDTO> callback)Gateway Register or Heartbeat (asynchronously) Accepts a payload indicating either a gateway registration or a heartbeat update.com.squareup.okhttp.CallnotifyGatewayPostCall(NotifyGatewayPayloadDTO body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for notifyGatewayPostApiResponse<NotifyGatewayStatusResponseDTO>notifyGatewayPostWithHttpInfo(NotifyGatewayPayloadDTO body)Gateway Register or Heartbeat Accepts a payload indicating either a gateway registration or a heartbeat update.voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
GatewayLifecycleApi
public GatewayLifecycleApi()
-
GatewayLifecycleApi
public GatewayLifecycleApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
notifyGatewayPostCall
public com.squareup.okhttp.Call notifyGatewayPostCall(NotifyGatewayPayloadDTO body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for notifyGatewayPost- Parameters:
body- Gateway notification payload (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
notifyGatewayPost
public NotifyGatewayStatusResponseDTO notifyGatewayPost(NotifyGatewayPayloadDTO body) throws ApiException
Gateway Register or Heartbeat Accepts a payload indicating either a gateway registration or a heartbeat update. The `payloadType` field distinguishes the operation.- Parameters:
body- Gateway notification payload (required)- Returns:
- NotifyGatewayStatusResponseDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
notifyGatewayPostWithHttpInfo
public ApiResponse<NotifyGatewayStatusResponseDTO> notifyGatewayPostWithHttpInfo(NotifyGatewayPayloadDTO body) throws ApiException
Gateway Register or Heartbeat Accepts a payload indicating either a gateway registration or a heartbeat update. The `payloadType` field distinguishes the operation.- Parameters:
body- Gateway notification payload (required)- Returns:
- ApiResponse<NotifyGatewayStatusResponseDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
notifyGatewayPostAsync
public com.squareup.okhttp.Call notifyGatewayPostAsync(NotifyGatewayPayloadDTO body, ApiCallback<NotifyGatewayStatusResponseDTO> callback) throws ApiException
Gateway Register or Heartbeat (asynchronously) Accepts a payload indicating either a gateway registration or a heartbeat update. The `payloadType` field distinguishes the operation.- Parameters:
body- Gateway notification payload (required)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
-
-