Class WebhooksApi


  • public class WebhooksApi
    extends Object
    • Constructor Detail

      • WebhooksApi

        public WebhooksApi()
      • WebhooksApi

        public WebhooksApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • webhooksSubscriptionsGetCall

        public okhttp3.Call webhooksSubscriptionsGetCall​(String applicationId,
                                                         String apiId,
                                                         String xWSO2Tenant,
                                                         ApiCallback _callback)
                                                  throws ApiException
        Build call for webhooksSubscriptionsGet
        Parameters:
        applicationId - **Application Identifier** consisting of the UUID of the Application. (optional)
        apiId - **API ID** consisting of the **UUID** of the API. (optional)
        xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • webhooksSubscriptionsGet

        public WebhookSubscriptionListDTO webhooksSubscriptionsGet​(String applicationId,
                                                                   String apiId,
                                                                   String xWSO2Tenant)
                                                            throws ApiException
        Get available web hook subscriptions for a given application. This operation will provide a list of web hook topic subscriptions for a given application. If the api id is provided results will be filtered by the api Id.
        Parameters:
        applicationId - **Application Identifier** consisting of the UUID of the Application. (optional)
        apiId - **API ID** consisting of the **UUID** of the API. (optional)
        xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (optional)
        Returns:
        WebhookSubscriptionListDTO
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • webhooksSubscriptionsGetWithHttpInfo

        public ApiResponse<WebhookSubscriptionListDTO> webhooksSubscriptionsGetWithHttpInfo​(String applicationId,
                                                                                            String apiId,
                                                                                            String xWSO2Tenant)
                                                                                     throws ApiException
        Get available web hook subscriptions for a given application. This operation will provide a list of web hook topic subscriptions for a given application. If the api id is provided results will be filtered by the api Id.
        Parameters:
        applicationId - **Application Identifier** consisting of the UUID of the Application. (optional)
        apiId - **API ID** consisting of the **UUID** of the API. (optional)
        xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (optional)
        Returns:
        ApiResponse<WebhookSubscriptionListDTO>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • webhooksSubscriptionsGetAsync

        public okhttp3.Call webhooksSubscriptionsGetAsync​(String applicationId,
                                                          String apiId,
                                                          String xWSO2Tenant,
                                                          ApiCallback<WebhookSubscriptionListDTO> _callback)
                                                   throws ApiException
        Get available web hook subscriptions for a given application. (asynchronously) This operation will provide a list of web hook topic subscriptions for a given application. If the api id is provided results will be filtered by the api Id.
        Parameters:
        applicationId - **Application Identifier** consisting of the UUID of the Application. (optional)
        apiId - **API ID** consisting of the **UUID** of the API. (optional)
        xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (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