public class WebhooksApi
extends java.lang.Object
| Constructor and Description |
|---|
WebhooksApi() |
WebhooksApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
CreateWebhooksSubscriptionResponse |
createWebhooksSubscription(java.lang.Integer companyId,
CreateWebhooksSubscriptionRequest createWebhooksSubscriptionRequest)
Create a Webhook Subscription Register some webhooks Subscriptions.
|
okhttp3.Call |
createWebhooksSubscriptionAsync(java.lang.Integer companyId,
CreateWebhooksSubscriptionRequest createWebhooksSubscriptionRequest,
ApiCallback<CreateWebhooksSubscriptionResponse> _callback)
Create a Webhook Subscription (asynchronously) Register some webhooks Subscriptions.
|
okhttp3.Call |
createWebhooksSubscriptionCall(java.lang.Integer companyId,
CreateWebhooksSubscriptionRequest createWebhooksSubscriptionRequest,
ApiCallback _callback)
Build call for createWebhooksSubscription
|
ApiResponse<CreateWebhooksSubscriptionResponse> |
createWebhooksSubscriptionWithHttpInfo(java.lang.Integer companyId,
CreateWebhooksSubscriptionRequest createWebhooksSubscriptionRequest)
Create a Webhook Subscription Register some webhooks Subscriptions.
|
void |
deleteWebhooksSubscription(java.lang.Integer companyId,
java.lang.String subscriptionId)
Delete Webhooks Subscription Delete a webhooks subscription.
|
okhttp3.Call |
deleteWebhooksSubscriptionAsync(java.lang.Integer companyId,
java.lang.String subscriptionId,
ApiCallback<java.lang.Void> _callback)
Delete Webhooks Subscription (asynchronously) Delete a webhooks subscription.
|
okhttp3.Call |
deleteWebhooksSubscriptionCall(java.lang.Integer companyId,
java.lang.String subscriptionId,
ApiCallback _callback)
Build call for deleteWebhooksSubscription
|
ApiResponse<java.lang.Void> |
deleteWebhooksSubscriptionWithHttpInfo(java.lang.Integer companyId,
java.lang.String subscriptionId)
Delete Webhooks Subscription Delete a webhooks subscription.
|
ApiClient |
getApiClient() |
java.lang.String |
getCustomBaseUrl() |
int |
getHostIndex() |
GetWebhooksSubscriptionResponse |
getWebhooksSubscription(java.lang.Integer companyId,
java.lang.String subscriptionId)
Get Webhooks Subscription Get a webhooks subscription.
|
okhttp3.Call |
getWebhooksSubscriptionAsync(java.lang.Integer companyId,
java.lang.String subscriptionId,
ApiCallback<GetWebhooksSubscriptionResponse> _callback)
Get Webhooks Subscription (asynchronously) Get a webhooks subscription.
|
okhttp3.Call |
getWebhooksSubscriptionCall(java.lang.Integer companyId,
java.lang.String subscriptionId,
ApiCallback _callback)
Build call for getWebhooksSubscription
|
ApiResponse<GetWebhooksSubscriptionResponse> |
getWebhooksSubscriptionWithHttpInfo(java.lang.Integer companyId,
java.lang.String subscriptionId)
Get Webhooks Subscription Get a webhooks subscription.
|
ListWebhooksSubscriptionsResponse |
listWebhooksSubscriptions(java.lang.Integer companyId)
List Webhooks Subscriptions List active webhooks subscriptions.
|
okhttp3.Call |
listWebhooksSubscriptionsAsync(java.lang.Integer companyId,
ApiCallback<ListWebhooksSubscriptionsResponse> _callback)
List Webhooks Subscriptions (asynchronously) List active webhooks subscriptions.
|
okhttp3.Call |
listWebhooksSubscriptionsCall(java.lang.Integer companyId,
ApiCallback _callback)
Build call for listWebhooksSubscriptions
|
ApiResponse<ListWebhooksSubscriptionsResponse> |
listWebhooksSubscriptionsWithHttpInfo(java.lang.Integer companyId)
List Webhooks Subscriptions List active webhooks subscriptions.
|
ModifyWebhooksSubscriptionResponse |
modifyWebhooksSubscription(java.lang.Integer companyId,
java.lang.String subscriptionId,
ModifyWebhooksSubscriptionRequest modifyWebhooksSubscriptionRequest)
Modify Webhooks Subscription Edit a webhooks subscription.
|
okhttp3.Call |
modifyWebhooksSubscriptionAsync(java.lang.Integer companyId,
java.lang.String subscriptionId,
ModifyWebhooksSubscriptionRequest modifyWebhooksSubscriptionRequest,
ApiCallback<ModifyWebhooksSubscriptionResponse> _callback)
Modify Webhooks Subscription (asynchronously) Edit a webhooks subscription.
|
okhttp3.Call |
modifyWebhooksSubscriptionCall(java.lang.Integer companyId,
java.lang.String subscriptionId,
ModifyWebhooksSubscriptionRequest modifyWebhooksSubscriptionRequest,
ApiCallback _callback)
Build call for modifyWebhooksSubscription
|
ApiResponse<ModifyWebhooksSubscriptionResponse> |
modifyWebhooksSubscriptionWithHttpInfo(java.lang.Integer companyId,
java.lang.String subscriptionId,
ModifyWebhooksSubscriptionRequest modifyWebhooksSubscriptionRequest)
Modify Webhooks Subscription Edit a webhooks subscription.
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(java.lang.String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public WebhooksApi()
public WebhooksApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public java.lang.String getCustomBaseUrl()
public void setCustomBaseUrl(java.lang.String customBaseUrl)
public okhttp3.Call createWebhooksSubscriptionCall(java.lang.Integer companyId,
CreateWebhooksSubscriptionRequest createWebhooksSubscriptionRequest,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)createWebhooksSubscriptionRequest - (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Example response | - |
public CreateWebhooksSubscriptionResponse createWebhooksSubscription(java.lang.Integer companyId, CreateWebhooksSubscriptionRequest createWebhooksSubscriptionRequest) throws ApiException
companyId - The ID of the company. (required)createWebhooksSubscriptionRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
public ApiResponse<CreateWebhooksSubscriptionResponse> createWebhooksSubscriptionWithHttpInfo(java.lang.Integer companyId, CreateWebhooksSubscriptionRequest createWebhooksSubscriptionRequest) throws ApiException
companyId - The ID of the company. (required)createWebhooksSubscriptionRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
public okhttp3.Call createWebhooksSubscriptionAsync(java.lang.Integer companyId,
CreateWebhooksSubscriptionRequest createWebhooksSubscriptionRequest,
ApiCallback<CreateWebhooksSubscriptionResponse> _callback)
throws ApiException
companyId - The ID of the company. (required)createWebhooksSubscriptionRequest - (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Example response | - |
public okhttp3.Call deleteWebhooksSubscriptionCall(java.lang.Integer companyId,
java.lang.String subscriptionId,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)subscriptionId - The ID of the subscription. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | OK | - |
public void deleteWebhooksSubscription(java.lang.Integer companyId,
java.lang.String subscriptionId)
throws ApiException
companyId - The ID of the company. (required)subscriptionId - The ID of the subscription. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | OK | - |
public ApiResponse<java.lang.Void> deleteWebhooksSubscriptionWithHttpInfo(java.lang.Integer companyId, java.lang.String subscriptionId) throws ApiException
companyId - The ID of the company. (required)subscriptionId - The ID of the subscription. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | OK | - |
public okhttp3.Call deleteWebhooksSubscriptionAsync(java.lang.Integer companyId,
java.lang.String subscriptionId,
ApiCallback<java.lang.Void> _callback)
throws ApiException
companyId - The ID of the company. (required)subscriptionId - The ID of the subscription. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | OK | - |
public okhttp3.Call getWebhooksSubscriptionCall(java.lang.Integer companyId,
java.lang.String subscriptionId,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)subscriptionId - The ID of the subscription. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Example response | - |
public GetWebhooksSubscriptionResponse getWebhooksSubscription(java.lang.Integer companyId, java.lang.String subscriptionId) throws ApiException
companyId - The ID of the company. (required)subscriptionId - The ID of the subscription. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
public ApiResponse<GetWebhooksSubscriptionResponse> getWebhooksSubscriptionWithHttpInfo(java.lang.Integer companyId, java.lang.String subscriptionId) throws ApiException
companyId - The ID of the company. (required)subscriptionId - The ID of the subscription. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
public okhttp3.Call getWebhooksSubscriptionAsync(java.lang.Integer companyId,
java.lang.String subscriptionId,
ApiCallback<GetWebhooksSubscriptionResponse> _callback)
throws ApiException
companyId - The ID of the company. (required)subscriptionId - The ID of the subscription. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Example response | - |
public okhttp3.Call listWebhooksSubscriptionsCall(java.lang.Integer companyId,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Example response | - |
public ListWebhooksSubscriptionsResponse listWebhooksSubscriptions(java.lang.Integer companyId) throws ApiException
companyId - The ID of the company. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
public ApiResponse<ListWebhooksSubscriptionsResponse> listWebhooksSubscriptionsWithHttpInfo(java.lang.Integer companyId) throws ApiException
companyId - The ID of the company. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
public okhttp3.Call listWebhooksSubscriptionsAsync(java.lang.Integer companyId,
ApiCallback<ListWebhooksSubscriptionsResponse> _callback)
throws ApiException
companyId - The ID of the company. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Example response | - |
public okhttp3.Call modifyWebhooksSubscriptionCall(java.lang.Integer companyId,
java.lang.String subscriptionId,
ModifyWebhooksSubscriptionRequest modifyWebhooksSubscriptionRequest,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)subscriptionId - The ID of the subscription. (required)modifyWebhooksSubscriptionRequest - (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Example response | - |
public ModifyWebhooksSubscriptionResponse modifyWebhooksSubscription(java.lang.Integer companyId, java.lang.String subscriptionId, ModifyWebhooksSubscriptionRequest modifyWebhooksSubscriptionRequest) throws ApiException
companyId - The ID of the company. (required)subscriptionId - The ID of the subscription. (required)modifyWebhooksSubscriptionRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
public ApiResponse<ModifyWebhooksSubscriptionResponse> modifyWebhooksSubscriptionWithHttpInfo(java.lang.Integer companyId, java.lang.String subscriptionId, ModifyWebhooksSubscriptionRequest modifyWebhooksSubscriptionRequest) throws ApiException
companyId - The ID of the company. (required)subscriptionId - The ID of the subscription. (required)modifyWebhooksSubscriptionRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
public okhttp3.Call modifyWebhooksSubscriptionAsync(java.lang.Integer companyId,
java.lang.String subscriptionId,
ModifyWebhooksSubscriptionRequest modifyWebhooksSubscriptionRequest,
ApiCallback<ModifyWebhooksSubscriptionResponse> _callback)
throws ApiException
companyId - The ID of the company. (required)subscriptionId - The ID of the subscription. (required)modifyWebhooksSubscriptionRequest - (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Example response | - |