Package api
Class WebhooksApi
java.lang.Object
api.WebhooksApi
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(CreateWebhookRequest createWebhookRequest) Create a Webhook Create a `Webhook` to specify an endpoint where Finix can send events.okhttp3.CallcreateWebhookAsync(CreateWebhookRequest createWebhookRequest, ApiCallback<Webhook> _callback) Create a Webhook (asynchronously) Create a `Webhook` to specify an endpoint where Finix can send events.okhttp3.CallcreateWebhookCall(CreateWebhookRequest createWebhookRequest, ApiCallback _callback) Build call for createWebhookcreateWebhookWithHttpInfo(CreateWebhookRequest createWebhookRequest) Create a Webhook Create a `Webhook` to specify an endpoint where Finix can send events.Get a Webhook Retrieve the details of a `Webhook`.intokhttp3.CallgetWebhookAsync(String webhookId, ApiCallback<Webhook> _callback) Get a Webhook (asynchronously) Retrieve the details of a `Webhook`.okhttp3.CallgetWebhookCall(String webhookId, ApiCallback _callback) Build call for getWebhookgetWebhookWithHttpInfo(String webhookId) Get a Webhook Retrieve the details of a `Webhook`.list(ListWebhooksQueryParams listWebhooksQueryParams) List Webhooks Retrieve a list of `Webhooks`.okhttp3.CallputWebhookAsync(String webhookId, UpdateWebhookRequest updateWebhookRequest, ApiCallback<Webhook> _callback) Update a Webhook (asynchronously) Update an existing `Webhook`.okhttp3.CallputWebhookCall(String webhookId, UpdateWebhookRequest updateWebhookRequest, ApiCallback _callback) Build call for putWebhookputWebhookWithHttpInfo(String webhookId, UpdateWebhookRequest updateWebhookRequest) Update a Webhook Update an existing `Webhook`.voidsetCustomBaseUrl(String customBaseUrl) voidsetFinixClient(FinixClient finixClient) voidsetHostIndex(int hostIndex) update(String webhookId, UpdateWebhookRequest updateWebhookRequest) Update a Webhook Update an existing `Webhook`.
-
Constructor Details
-
WebhooksApi
public WebhooksApi() -
WebhooksApi
-
-
Method Details
-
getFinixClient
-
setFinixClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
createWebhookCall
public okhttp3.Call createWebhookCall(CreateWebhookRequest createWebhookRequest, ApiCallback _callback) throws ApiException Build call for createWebhook- Parameters:
createWebhookRequest- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 201 Single Webhook object * finix-apiuser-role -
* date -
* x-request-id -
400 Error * finix-apiuser-role -
* date -
* x-request-id -
401 Authentication information is missing or invalid * finix-apiuser-role -
* date -
* x-request-id -
403 Forbidden * finix-apiuser-role -
* date -
* x-request-id -
406 Not Acceptable * finix-apiuser-role -
* date -
* x-request-id -
422 Invalid field * finix-apiuser-role -
* date -
* x-request-id -
-
create
Create a Webhook Create a `Webhook` to specify an endpoint where Finix can send events.- Parameters:
createWebhookRequest- (optional)- Returns:
- Webhook
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 201 Single Webhook object * finix-apiuser-role -
* date -
* x-request-id -
400 Error * finix-apiuser-role -
* date -
* x-request-id -
401 Authentication information is missing or invalid * finix-apiuser-role -
* date -
* x-request-id -
403 Forbidden * finix-apiuser-role -
* date -
* x-request-id -
406 Not Acceptable * finix-apiuser-role -
* date -
* x-request-id -
422 Invalid field * finix-apiuser-role -
* date -
* x-request-id -
-
createWebhookWithHttpInfo
public ApiResponse<Webhook> createWebhookWithHttpInfo(CreateWebhookRequest createWebhookRequest) throws ApiException Create a Webhook Create a `Webhook` to specify an endpoint where Finix can send events.- Parameters:
createWebhookRequest- (optional)- Returns:
- ApiResponse<Webhook>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 201 Single Webhook object * finix-apiuser-role -
* date -
* x-request-id -
400 Error * finix-apiuser-role -
* date -
* x-request-id -
401 Authentication information is missing or invalid * finix-apiuser-role -
* date -
* x-request-id -
403 Forbidden * finix-apiuser-role -
* date -
* x-request-id -
406 Not Acceptable * finix-apiuser-role -
* date -
* x-request-id -
422 Invalid field * finix-apiuser-role -
* date -
* x-request-id -
-
createWebhookAsync
public okhttp3.Call createWebhookAsync(CreateWebhookRequest createWebhookRequest, ApiCallback<Webhook> _callback) throws ApiException Create a Webhook (asynchronously) Create a `Webhook` to specify an endpoint where Finix can send events.- Parameters:
createWebhookRequest- (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:
Status Code Description Response Headers 201 Single Webhook object * finix-apiuser-role -
* date -
* x-request-id -
400 Error * finix-apiuser-role -
* date -
* x-request-id -
401 Authentication information is missing or invalid * finix-apiuser-role -
* date -
* x-request-id -
403 Forbidden * finix-apiuser-role -
* date -
* x-request-id -
406 Not Acceptable * finix-apiuser-role -
* date -
* x-request-id -
422 Invalid field * finix-apiuser-role -
* date -
* x-request-id -
-
getWebhookCall
Build call for getWebhook- Parameters:
webhookId- ID of `Webhook` object. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 Single Webhook object * finix-apiuser-role -
* date -
* x-request-id -
401 Authentication information is missing or invalid * finix-apiuser-role -
* date -
* x-request-id -
403 Forbidden * finix-apiuser-role -
* date -
* x-request-id -
404 Object does not exist * finix-apiuser-role -
* date -
* x-request-id -
406 Not Acceptable * finix-apiuser-role -
* date -
* x-request-id -
-
get
Get a Webhook Retrieve the details of a `Webhook`.- Parameters:
webhookId- ID of `Webhook` object. (required)- Returns:
- Webhook
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Single Webhook object * finix-apiuser-role -
* date -
* x-request-id -
401 Authentication information is missing or invalid * finix-apiuser-role -
* date -
* x-request-id -
403 Forbidden * finix-apiuser-role -
* date -
* x-request-id -
404 Object does not exist * finix-apiuser-role -
* date -
* x-request-id -
406 Not Acceptable * finix-apiuser-role -
* date -
* x-request-id -
-
getWebhookWithHttpInfo
Get a Webhook Retrieve the details of a `Webhook`.- Parameters:
webhookId- ID of `Webhook` object. (required)- Returns:
- ApiResponse<Webhook>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Single Webhook object * finix-apiuser-role -
* date -
* x-request-id -
401 Authentication information is missing or invalid * finix-apiuser-role -
* date -
* x-request-id -
403 Forbidden * finix-apiuser-role -
* date -
* x-request-id -
404 Object does not exist * finix-apiuser-role -
* date -
* x-request-id -
406 Not Acceptable * finix-apiuser-role -
* date -
* x-request-id -
-
getWebhookAsync
public okhttp3.Call getWebhookAsync(String webhookId, ApiCallback<Webhook> _callback) throws ApiException Get a Webhook (asynchronously) Retrieve the details of a `Webhook`.- Parameters:
webhookId- ID of `Webhook` object. (required)_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:
Status Code Description Response Headers 200 Single Webhook object * finix-apiuser-role -
* date -
* x-request-id -
401 Authentication information is missing or invalid * finix-apiuser-role -
* date -
* x-request-id -
403 Forbidden * finix-apiuser-role -
* date -
* x-request-id -
404 Object does not exist * finix-apiuser-role -
* date -
* x-request-id -
406 Not Acceptable * finix-apiuser-role -
* date -
* x-request-id -
-
list
List Webhooks Retrieve a list of `Webhooks`.- Returns:
- APIlistWebhooksRequest
- Throws:
ApiException- Http Response Details:
Status Code Description Response Headers 200 List of Webhook objects * finix-apiuser-role -
* date -
* x-request-id -
401 Authentication information is missing or invalid * finix-apiuser-role -
* date -
* x-request-id -
403 Forbidden * finix-apiuser-role -
* date -
* x-request-id -
406 Not Acceptable * finix-apiuser-role -
* date -
* x-request-id -
-
putWebhookCall
public okhttp3.Call putWebhookCall(String webhookId, UpdateWebhookRequest updateWebhookRequest, ApiCallback _callback) throws ApiException Build call for putWebhook- Parameters:
webhookId- ID of `Webhook` object. (required)updateWebhookRequest- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 Single Webhook object * finix-apiuser-role -
* date -
* x-request-id -
401 Authentication information is missing or invalid * finix-apiuser-role -
* date -
* x-request-id -
403 Forbidden * finix-apiuser-role -
* date -
* x-request-id -
404 Object does not exist * finix-apiuser-role -
* date -
* x-request-id -
406 Not Acceptable * finix-apiuser-role -
* date -
* x-request-id -
-
update
public Webhook update(String webhookId, UpdateWebhookRequest updateWebhookRequest) throws ApiException Update a Webhook Update an existing `Webhook`.- Parameters:
webhookId- ID of `Webhook` object. (required)updateWebhookRequest- (optional)- Returns:
- Webhook
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Single Webhook object * finix-apiuser-role -
* date -
* x-request-id -
401 Authentication information is missing or invalid * finix-apiuser-role -
* date -
* x-request-id -
403 Forbidden * finix-apiuser-role -
* date -
* x-request-id -
404 Object does not exist * finix-apiuser-role -
* date -
* x-request-id -
406 Not Acceptable * finix-apiuser-role -
* date -
* x-request-id -
-
putWebhookWithHttpInfo
public ApiResponse<Webhook> putWebhookWithHttpInfo(String webhookId, UpdateWebhookRequest updateWebhookRequest) throws ApiException Update a Webhook Update an existing `Webhook`.- Parameters:
webhookId- ID of `Webhook` object. (required)updateWebhookRequest- (optional)- Returns:
- ApiResponse<Webhook>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Single Webhook object * finix-apiuser-role -
* date -
* x-request-id -
401 Authentication information is missing or invalid * finix-apiuser-role -
* date -
* x-request-id -
403 Forbidden * finix-apiuser-role -
* date -
* x-request-id -
404 Object does not exist * finix-apiuser-role -
* date -
* x-request-id -
406 Not Acceptable * finix-apiuser-role -
* date -
* x-request-id -
-
putWebhookAsync
public okhttp3.Call putWebhookAsync(String webhookId, UpdateWebhookRequest updateWebhookRequest, ApiCallback<Webhook> _callback) throws ApiException Update a Webhook (asynchronously) Update an existing `Webhook`.- Parameters:
webhookId- ID of `Webhook` object. (required)updateWebhookRequest- (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:
Status Code Description Response Headers 200 Single Webhook object * finix-apiuser-role -
* date -
* x-request-id -
401 Authentication information is missing or invalid * finix-apiuser-role -
* date -
* x-request-id -
403 Forbidden * finix-apiuser-role -
* date -
* x-request-id -
404 Object does not exist * finix-apiuser-role -
* date -
* x-request-id -
406 Not Acceptable * finix-apiuser-role -
* date -
* x-request-id -
-