Package api

Class WebhooksApi.APIlistWebhooksRequest

  • Enclosing class:
    WebhooksApi

    public class WebhooksApi.APIlistWebhooksRequest
    extends Object
    • Method Detail

      • 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 -