Class GatewayLifecycleApi

java.lang.Object
org.wso2.am.integration.clients.internal.api.GatewayLifecycleApi

public class GatewayLifecycleApi extends Object
  • Constructor Details

    • GatewayLifecycleApi

      public GatewayLifecycleApi()
    • GatewayLifecycleApi

      public GatewayLifecycleApi(ApiClient apiClient)
  • Method Details

    • 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 listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • notifyGatewayPost

      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