Class WebhookReferenceApi
java.lang.Object
sendpost_java_sdk.WebhookReferenceApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidsendPostWebhooksPost(WebhookObject webhookObject) SendPost Webhook Objectokhttp3.CallsendPostWebhooksPostAsync(WebhookObject webhookObject, ApiCallback<Void> _callback) SendPost Webhook Object (asynchronously)okhttp3.CallsendPostWebhooksPostCall(WebhookObject webhookObject, ApiCallback _callback) Build call for sendPostWebhooksPostsendPostWebhooksPostWithHttpInfo(WebhookObject webhookObject) SendPost Webhook ObjectvoidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex)
-
Constructor Details
-
WebhookReferenceApi
public WebhookReferenceApi() -
WebhookReferenceApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
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
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 -
-