public class WebhooksApi extends Object
| Constructor and Description |
|---|
WebhooksApi() |
WebhooksApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
List<Webhook> |
webhooksGet(Integer limit,
Integer offset)
Load notifications webhooks
|
com.squareup.okhttp.Call |
webhooksGetAsync(Integer limit,
Integer offset,
ApiCallback<List<Webhook>> callback)
Load notifications webhooks (asynchronously)
|
com.squareup.okhttp.Call |
webhooksGetCall(Integer limit,
Integer offset,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for webhooksGet
|
ApiResponse<List<Webhook>> |
webhooksGetWithHttpInfo(Integer limit,
Integer offset)
Load notifications webhooks
|
Webhook |
webhooksPost(WebhookPayload body)
Add notifications webhook
|
com.squareup.okhttp.Call |
webhooksPostAsync(WebhookPayload body,
ApiCallback<Webhook> callback)
Add notifications webhook (asynchronously)
|
com.squareup.okhttp.Call |
webhooksPostCall(WebhookPayload body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for webhooksPost
|
ApiResponse<Webhook> |
webhooksPostWithHttpInfo(WebhookPayload body)
Add notifications webhook
|
void |
webhooksPublicidDelete(String publicid)
Delete notifications webhook
|
com.squareup.okhttp.Call |
webhooksPublicidDeleteAsync(String publicid,
ApiCallback<Void> callback)
Delete notifications webhook (asynchronously)
|
com.squareup.okhttp.Call |
webhooksPublicidDeleteCall(String publicid,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for webhooksPublicidDelete
|
ApiResponse<Void> |
webhooksPublicidDeleteWithHttpInfo(String publicid)
Delete notifications webhook
|
Webhook |
webhooksPublicidGet(String publicid)
Load notifications webhook
|
com.squareup.okhttp.Call |
webhooksPublicidGetAsync(String publicid,
ApiCallback<Webhook> callback)
Load notifications webhook (asynchronously)
|
com.squareup.okhttp.Call |
webhooksPublicidGetCall(String publicid,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for webhooksPublicidGet
|
ApiResponse<Webhook> |
webhooksPublicidGetWithHttpInfo(String publicid)
Load notifications webhook
|
Webhook |
webhooksPublicidPut(String publicid,
WebhookPayload body)
Update notification webhook
|
com.squareup.okhttp.Call |
webhooksPublicidPutAsync(String publicid,
WebhookPayload body,
ApiCallback<Webhook> callback)
Update notification webhook (asynchronously)
|
com.squareup.okhttp.Call |
webhooksPublicidPutCall(String publicid,
WebhookPayload body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for webhooksPublicidPut
|
ApiResponse<Webhook> |
webhooksPublicidPutWithHttpInfo(String publicid,
WebhookPayload body)
Update notification webhook
|
public WebhooksApi()
public WebhooksApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call webhooksGetCall(Integer limit, Integer offset, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
limit - Maximum of loaded items. (optional, default to 0)offset - How many items should be loaded ahead. (optional, default to 0)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic List<Webhook> webhooksGet(Integer limit, Integer offset) throws ApiException
limit - Maximum of loaded items. (optional, default to 0)offset - How many items should be loaded ahead. (optional, default to 0)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<Webhook>> webhooksGetWithHttpInfo(Integer limit, Integer offset) throws ApiException
limit - Maximum of loaded items. (optional, default to 0)offset - How many items should be loaded ahead. (optional, default to 0)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call webhooksGetAsync(Integer limit, Integer offset, ApiCallback<List<Webhook>> callback) throws ApiException
limit - Maximum of loaded items. (optional, default to 0)offset - How many items should be loaded ahead. (optional, default to 0)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call webhooksPostCall(WebhookPayload body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Webhook webhooksPost(WebhookPayload body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Webhook> webhooksPostWithHttpInfo(WebhookPayload body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call webhooksPostAsync(WebhookPayload body, ApiCallback<Webhook> callback) throws ApiException
body - (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 objectpublic com.squareup.okhttp.Call webhooksPublicidDeleteCall(String publicid, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
publicid - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void webhooksPublicidDelete(String publicid) throws ApiException
publicid - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> webhooksPublicidDeleteWithHttpInfo(String publicid) throws ApiException
publicid - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call webhooksPublicidDeleteAsync(String publicid, ApiCallback<Void> callback) throws ApiException
publicid - (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 objectpublic com.squareup.okhttp.Call webhooksPublicidGetCall(String publicid, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
publicid - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Webhook webhooksPublicidGet(String publicid) throws ApiException
publicid - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Webhook> webhooksPublicidGetWithHttpInfo(String publicid) throws ApiException
publicid - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call webhooksPublicidGetAsync(String publicid, ApiCallback<Webhook> callback) throws ApiException
publicid - (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 objectpublic com.squareup.okhttp.Call webhooksPublicidPutCall(String publicid, WebhookPayload body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
publicid - (required)body - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Webhook webhooksPublicidPut(String publicid, WebhookPayload body) throws ApiException
publicid - (required)body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Webhook> webhooksPublicidPutWithHttpInfo(String publicid, WebhookPayload body) throws ApiException
publicid - (required)body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call webhooksPublicidPutAsync(String publicid, WebhookPayload body, ApiCallback<Webhook> callback) throws ApiException
publicid - (required)body - (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 objectCopyright © 2019. All rights reserved.