Class GatewayLifecycleApi


  • public class GatewayLifecycleApi
    extends Object
    • Constructor Detail

      • GatewayLifecycleApi

        public GatewayLifecycleApi()
      • GatewayLifecycleApi

        public GatewayLifecycleApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • 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