Class WebhookReferenceApi

java.lang.Object
sendpost_java_sdk.WebhookReferenceApi

public class WebhookReferenceApi extends Object
  • Constructor Details

    • WebhookReferenceApi

      public WebhookReferenceApi()
    • WebhookReferenceApi

      public WebhookReferenceApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getHostIndex

      public int getHostIndex()
    • setHostIndex

      public void setHostIndex(int hostIndex)
    • getCustomBaseUrl

      public String getCustomBaseUrl()
    • setCustomBaseUrl

      public void setCustomBaseUrl(String customBaseUrl)
    • sendPostWebhooksPostCall

      public okhttp3.Call sendPostWebhooksPostCall(@Nullable WebhookObject webhookObject, ApiCallback _callback) throws ApiException
      Build call for sendPostWebhooksPost
      Parameters:
      webhookObject - (optional)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      200 Return a 200 status to indicate that the data was received successfully -
    • sendPostWebhooksPost

      public void sendPostWebhooksPost(@Nullable WebhookObject webhookObject) throws ApiException
      SendPost Webhook Object
      Parameters:
      webhookObject - (optional)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      200 Return a 200 status to indicate that the data was received successfully -
    • sendPostWebhooksPostWithHttpInfo

      public ApiResponse<Void> sendPostWebhooksPostWithHttpInfo(@Nullable WebhookObject webhookObject) throws ApiException
      SendPost Webhook Object
      Parameters:
      webhookObject - (optional)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      200 Return a 200 status to indicate that the data was received successfully -
    • sendPostWebhooksPostAsync

      public okhttp3.Call sendPostWebhooksPostAsync(@Nullable WebhookObject webhookObject, ApiCallback<Void> _callback) throws ApiException
      SendPost Webhook Object (asynchronously)
      Parameters:
      webhookObject - (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
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      200 Return a 200 status to indicate that the data was received successfully -