Package api
Class WebhooksApi.APIlistWebhooksRequest
- java.lang.Object
-
- api.WebhooksApi.APIlistWebhooksRequest
-
- Enclosing class:
- WebhooksApi
public class WebhooksApi.APIlistWebhooksRequest extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebhooksApi.APIlistWebhooksRequestafterCursor(String afterCursor)Set afterCursorWebhooksApi.APIlistWebhooksRequestbeforeCursor(String beforeCursor)Set beforeCursorokhttp3.CallbuildCall(ApiCallback _callback)Build call for listWebhooksWebhooksListexecute()Execute listWebhooks requestokhttp3.CallexecuteAsync(ApiCallback<WebhooksList> _callback)Execute listWebhooks request (asynchronously)ApiResponse<WebhooksList>executeWithHttpInfo()Execute listWebhooks request with HTTP info returnedWebhooksApi.APIlistWebhooksRequestlimit(Long limit)Set limit
-
-
-
Method Detail
-
limit
public WebhooksApi.APIlistWebhooksRequest limit(Long limit)
Set limit- Parameters:
limit- The numbers of items to return. (optional)- Returns:
- APIlistWebhooksRequest
-
afterCursor
public WebhooksApi.APIlistWebhooksRequest afterCursor(String afterCursor)
Set afterCursor- Parameters:
afterCursor- Return every resource created after the cursor value. (optional)- Returns:
- APIlistWebhooksRequest
-
beforeCursor
public WebhooksApi.APIlistWebhooksRequest beforeCursor(String beforeCursor)
Set beforeCursor- Parameters:
beforeCursor- Return every resource created before the cursor value. (optional)- Returns:
- APIlistWebhooksRequest
-
buildCall
public okhttp3.Call buildCall(ApiCallback _callback) throws ApiException
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
public WebhooksList execute() throws ApiException
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
public ApiResponse<WebhooksList> executeWithHttpInfo() throws ApiException
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
public okhttp3.Call executeAsync(ApiCallback<WebhooksList> _callback) throws ApiException
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 -
-
-