public class WebhooksApi
extends java.lang.Object
| Constructor and Description |
|---|
WebhooksApi() |
WebhooksApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
WebhookModel |
createWebhook(java.util.UUID configId,
java.util.UUID environmentId,
WebHookRequest webHookRequest)
Create Webhook
This endpoint creates a new Webhook in a specified Product identified by the `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
|
okhttp3.Call |
createWebhookAsync(java.util.UUID configId,
java.util.UUID environmentId,
WebHookRequest webHookRequest,
ApiCallback<WebhookModel> _callback)
Create Webhook (asynchronously)
This endpoint creates a new Webhook in a specified Product identified by the `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
|
okhttp3.Call |
createWebhookCall(java.util.UUID configId,
java.util.UUID environmentId,
WebHookRequest webHookRequest,
ApiCallback _callback)
Build call for createWebhook
|
ApiResponse<WebhookModel> |
createWebhookWithHttpInfo(java.util.UUID configId,
java.util.UUID environmentId,
WebHookRequest webHookRequest)
Create Webhook
This endpoint creates a new Webhook in a specified Product identified by the `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
|
void |
deleteWebhook(java.lang.Integer webhookId)
Delete Webhook
This endpoint removes a Webhook identified by the `webhookId` parameter.
|
okhttp3.Call |
deleteWebhookAsync(java.lang.Integer webhookId,
ApiCallback<java.lang.Void> _callback)
Delete Webhook (asynchronously)
This endpoint removes a Webhook identified by the `webhookId` parameter.
|
okhttp3.Call |
deleteWebhookCall(java.lang.Integer webhookId,
ApiCallback _callback)
Build call for deleteWebhook
|
ApiResponse<java.lang.Void> |
deleteWebhookWithHttpInfo(java.lang.Integer webhookId)
Delete Webhook
This endpoint removes a Webhook identified by the `webhookId` parameter.
|
ApiClient |
getApiClient() |
java.lang.String |
getCustomBaseUrl() |
int |
getHostIndex() |
WebhookModel |
getWebhook(java.lang.Integer webhookId)
Get Webhook
This endpoint returns the metadata of a Webhook identified by the `webhookId`.
|
okhttp3.Call |
getWebhookAsync(java.lang.Integer webhookId,
ApiCallback<WebhookModel> _callback)
Get Webhook (asynchronously)
This endpoint returns the metadata of a Webhook identified by the `webhookId`.
|
okhttp3.Call |
getWebhookCall(java.lang.Integer webhookId,
ApiCallback _callback)
Build call for getWebhook
|
java.util.List<WebhookModel> |
getWebhooks(java.util.UUID productId)
List Webhooks
This endpoint returns the list of the Webhooks that belongs to the given Product identified by the `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
|
okhttp3.Call |
getWebhooksAsync(java.util.UUID productId,
ApiCallback<java.util.List<WebhookModel>> _callback)
List Webhooks (asynchronously)
This endpoint returns the list of the Webhooks that belongs to the given Product identified by the `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
|
okhttp3.Call |
getWebhooksCall(java.util.UUID productId,
ApiCallback _callback)
Build call for getWebhooks
|
WebhookSigningKeysModel |
getWebhookSigningKeys(java.lang.Integer webhookId)
Get Webhook Signing Keys
This endpoint returns the signing keys of a Webhook identified by the `webhookId`.
|
okhttp3.Call |
getWebhookSigningKeysAsync(java.lang.Integer webhookId,
ApiCallback<WebhookSigningKeysModel> _callback)
Get Webhook Signing Keys (asynchronously)
This endpoint returns the signing keys of a Webhook identified by the `webhookId`.
|
okhttp3.Call |
getWebhookSigningKeysCall(java.lang.Integer webhookId,
ApiCallback _callback)
Build call for getWebhookSigningKeys
|
ApiResponse<WebhookSigningKeysModel> |
getWebhookSigningKeysWithHttpInfo(java.lang.Integer webhookId)
Get Webhook Signing Keys
This endpoint returns the signing keys of a Webhook identified by the `webhookId`.
|
ApiResponse<java.util.List<WebhookModel>> |
getWebhooksWithHttpInfo(java.util.UUID productId)
List Webhooks
This endpoint returns the list of the Webhooks that belongs to the given Product identified by the `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
|
ApiResponse<WebhookModel> |
getWebhookWithHttpInfo(java.lang.Integer webhookId)
Get Webhook
This endpoint returns the metadata of a Webhook identified by the `webhookId`.
|
WebhookModel |
replaceWebhook(java.lang.Integer webhookId,
WebHookRequest webHookRequest)
Replace Webhook
This endpoint replaces the whole value of a Webhook identified by the `webhookId` parameter.
|
okhttp3.Call |
replaceWebhookAsync(java.lang.Integer webhookId,
WebHookRequest webHookRequest,
ApiCallback<WebhookModel> _callback)
Replace Webhook (asynchronously)
This endpoint replaces the whole value of a Webhook identified by the `webhookId` parameter.
|
okhttp3.Call |
replaceWebhookCall(java.lang.Integer webhookId,
WebHookRequest webHookRequest,
ApiCallback _callback)
Build call for replaceWebhook
|
ApiResponse<WebhookModel> |
replaceWebhookWithHttpInfo(java.lang.Integer webhookId,
WebHookRequest webHookRequest)
Replace Webhook
This endpoint replaces the whole value of a Webhook identified by the `webhookId` parameter.
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(java.lang.String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
WebhookModel |
updateWebhook(java.lang.Integer webhookId,
java.util.List<JsonPatchOperation> jsonPatchOperation)
Update Webhook
This endpoint updates a Webhook identified by the `webhookId` parameter with a collection of [JSON Patch](https://jsonpatch.com) operations.
|
okhttp3.Call |
updateWebhookAsync(java.lang.Integer webhookId,
java.util.List<JsonPatchOperation> jsonPatchOperation,
ApiCallback<WebhookModel> _callback)
Update Webhook (asynchronously)
This endpoint updates a Webhook identified by the `webhookId` parameter with a collection of [JSON Patch](https://jsonpatch.com) operations.
|
okhttp3.Call |
updateWebhookCall(java.lang.Integer webhookId,
java.util.List<JsonPatchOperation> jsonPatchOperation,
ApiCallback _callback)
Build call for updateWebhook
|
ApiResponse<WebhookModel> |
updateWebhookWithHttpInfo(java.lang.Integer webhookId,
java.util.List<JsonPatchOperation> jsonPatchOperation)
Update Webhook
This endpoint updates a Webhook identified by the `webhookId` parameter with a collection of [JSON Patch](https://jsonpatch.com) operations.
|
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 createWebhookCall(java.util.UUID configId,
java.util.UUID environmentId,
WebHookRequest webHookRequest,
ApiCallback _callback)
throws ApiException
configId - The identifier of the Config. (required)environmentId - The identifier of the Environment. (required)webHookRequest - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 201 | When the creation was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public WebhookModel createWebhook(java.util.UUID configId, java.util.UUID environmentId, WebHookRequest webHookRequest) throws ApiException
configId - The identifier of the Config. (required)environmentId - The identifier of the Environment. (required)webHookRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 201 | When the creation was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public ApiResponse<WebhookModel> createWebhookWithHttpInfo(java.util.UUID configId, java.util.UUID environmentId, WebHookRequest webHookRequest) throws ApiException
configId - The identifier of the Config. (required)environmentId - The identifier of the Environment. (required)webHookRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 201 | When the creation was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call createWebhookAsync(java.util.UUID configId,
java.util.UUID environmentId,
WebHookRequest webHookRequest,
ApiCallback<WebhookModel> _callback)
throws ApiException
configId - The identifier of the Config. (required)environmentId - The identifier of the Environment. (required)webHookRequest - (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 |
| 201 | When the creation was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call deleteWebhookCall(java.lang.Integer webhookId,
ApiCallback _callback)
throws ApiException
webhookId - The identifier of the Webhook. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 204 | When the delete was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public void deleteWebhook(java.lang.Integer webhookId)
throws ApiException
webhookId - The identifier of the Webhook. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 204 | When the delete was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public ApiResponse<java.lang.Void> deleteWebhookWithHttpInfo(java.lang.Integer webhookId) throws ApiException
webhookId - The identifier of the Webhook. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 204 | When the delete was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call deleteWebhookAsync(java.lang.Integer webhookId,
ApiCallback<java.lang.Void> _callback)
throws ApiException
webhookId - The identifier of the Webhook. (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 |
| 204 | When the delete was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call getWebhookCall(java.lang.Integer webhookId,
ApiCallback _callback)
throws ApiException
webhookId - The identifier of the Webhook. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | When everything is ok, the webhook data is returned. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public WebhookModel getWebhook(java.lang.Integer webhookId) throws ApiException
webhookId - The identifier of the Webhook. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | When everything is ok, the webhook data is returned. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public ApiResponse<WebhookModel> getWebhookWithHttpInfo(java.lang.Integer webhookId) throws ApiException
webhookId - The identifier of the Webhook. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | When everything is ok, the webhook data is returned. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call getWebhookAsync(java.lang.Integer webhookId,
ApiCallback<WebhookModel> _callback)
throws ApiException
webhookId - The identifier of the Webhook. (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 | When everything is ok, the webhook data is returned. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call getWebhookSigningKeysCall(java.lang.Integer webhookId,
ApiCallback _callback)
throws ApiException
webhookId - The identifier of the Webhook. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | When everything is ok, the webhook signing keys are returned. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public WebhookSigningKeysModel getWebhookSigningKeys(java.lang.Integer webhookId) throws ApiException
webhookId - The identifier of the Webhook. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | When everything is ok, the webhook signing keys are returned. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public ApiResponse<WebhookSigningKeysModel> getWebhookSigningKeysWithHttpInfo(java.lang.Integer webhookId) throws ApiException
webhookId - The identifier of the Webhook. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | When everything is ok, the webhook signing keys are returned. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call getWebhookSigningKeysAsync(java.lang.Integer webhookId,
ApiCallback<WebhookSigningKeysModel> _callback)
throws ApiException
webhookId - The identifier of the Webhook. (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 | When everything is ok, the webhook signing keys are returned. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call getWebhooksCall(java.util.UUID productId,
ApiCallback _callback)
throws ApiException
productId - The identifier of the Product. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | - | |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public java.util.List<WebhookModel> getWebhooks(java.util.UUID productId) throws ApiException
productId - The identifier of the Product. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | - | |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public ApiResponse<java.util.List<WebhookModel>> getWebhooksWithHttpInfo(java.util.UUID productId) throws ApiException
productId - The identifier of the Product. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | - | |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call getWebhooksAsync(java.util.UUID productId,
ApiCallback<java.util.List<WebhookModel>> _callback)
throws ApiException
productId - The identifier of the Product. (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 | - | |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call replaceWebhookCall(java.lang.Integer webhookId,
WebHookRequest webHookRequest,
ApiCallback _callback)
throws ApiException
webhookId - The identifier of the Webhook. (required)webHookRequest - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | When the replace was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public WebhookModel replaceWebhook(java.lang.Integer webhookId, WebHookRequest webHookRequest) throws ApiException
webhookId - The identifier of the Webhook. (required)webHookRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | When the replace was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public ApiResponse<WebhookModel> replaceWebhookWithHttpInfo(java.lang.Integer webhookId, WebHookRequest webHookRequest) throws ApiException
webhookId - The identifier of the Webhook. (required)webHookRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | When the replace was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call replaceWebhookAsync(java.lang.Integer webhookId,
WebHookRequest webHookRequest,
ApiCallback<WebhookModel> _callback)
throws ApiException
webhookId - The identifier of the Webhook. (required)webHookRequest - (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 | When the replace was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call updateWebhookCall(java.lang.Integer webhookId,
java.util.List<JsonPatchOperation> jsonPatchOperation,
ApiCallback _callback)
throws ApiException
webhookId - The identifier of the Webhook. (required)jsonPatchOperation - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | When the update was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public WebhookModel updateWebhook(java.lang.Integer webhookId, java.util.List<JsonPatchOperation> jsonPatchOperation) throws ApiException
webhookId - The identifier of the Webhook. (required)jsonPatchOperation - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | When the update was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public ApiResponse<WebhookModel> updateWebhookWithHttpInfo(java.lang.Integer webhookId, java.util.List<JsonPatchOperation> jsonPatchOperation) throws ApiException
webhookId - The identifier of the Webhook. (required)jsonPatchOperation - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | When the update was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call updateWebhookAsync(java.lang.Integer webhookId,
java.util.List<JsonPatchOperation> jsonPatchOperation,
ApiCallback<WebhookModel> _callback)
throws ApiException
webhookId - The identifier of the Webhook. (required)jsonPatchOperation - (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 | When the update was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |