Package api
Class WebhooksApi.APIlistWebhooksRequest
java.lang.Object
api.WebhooksApi.APIlistWebhooksRequest
- Enclosing class:
WebhooksApi
-
Method Summary
Modifier and TypeMethodDescriptionafterCursor(String afterCursor) Set afterCursorbeforeCursor(String beforeCursor) Set beforeCursorokhttp3.CallbuildCall(ApiCallback _callback) Build call for listWebhooksexecute()Execute listWebhooks requestokhttp3.CallexecuteAsync(ApiCallback<WebhooksList> _callback) Execute listWebhooks request (asynchronously)Execute listWebhooks request with HTTP info returnedSet limit
-
Method Details
-
limit
Set limit- Parameters:
limit- The numbers of items to return (optional)- Returns:
- APIlistWebhooksRequest
-
afterCursor
Set afterCursor- Parameters:
afterCursor- Return every resource created after the cursor value. (optional)- Returns:
- APIlistWebhooksRequest
-
beforeCursor
Set beforeCursor- Parameters:
beforeCursor- Return every resource created before the cursor value. (optional)- Returns:
- APIlistWebhooksRequest
-
buildCall
Build call for listWebhooks- Parameters:
_callback- ApiCallback API callback- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- 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 -
-
execute
Execute listWebhooks request- Returns:
- WebhooksList
- 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 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 -
-
executeWithHttpInfo
Execute listWebhooks request with HTTP info returned- Returns:
- ApiResponse<WebhooksList>
- 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 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 -
-
executeAsync
Execute listWebhooks request (asynchronously)- Parameters:
_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 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 -
-