Class RetrievingWebhooksSubscriptionsApi

java.lang.Object
org.wso2.am.integration.clients.internal.api.RetrievingWebhooksSubscriptionsApi

public class RetrievingWebhooksSubscriptionsApi extends Object
  • Constructor Details

    • RetrievingWebhooksSubscriptionsApi

      public RetrievingWebhooksSubscriptionsApi()
    • RetrievingWebhooksSubscriptionsApi

      public RetrievingWebhooksSubscriptionsApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • webhooksSubscriptionsGetCall

      public com.squareup.okhttp.Call webhooksSubscriptionsGetCall(String xWSO2Tenant, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for webhooksSubscriptionsGet
      Parameters:
      xWSO2Tenant - This is used to specify the tenant domain, where the resource need to be retrieved from. (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • webhooksSubscriptionsGet

      public WebhooksSubscriptionsListDTO webhooksSubscriptionsGet(String xWSO2Tenant) throws ApiException
      Get webhooks subscriptions This will provide list of webhooks subscriptions from the database.
      Parameters:
      xWSO2Tenant - This is used to specify the tenant domain, where the resource need to be retrieved from. (required)
      Returns:
      WebhooksSubscriptionsListDTO
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • webhooksSubscriptionsGetWithHttpInfo

      public ApiResponse<WebhooksSubscriptionsListDTO> webhooksSubscriptionsGetWithHttpInfo(String xWSO2Tenant) throws ApiException
      Get webhooks subscriptions This will provide list of webhooks subscriptions from the database.
      Parameters:
      xWSO2Tenant - This is used to specify the tenant domain, where the resource need to be retrieved from. (required)
      Returns:
      ApiResponse<WebhooksSubscriptionsListDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • webhooksSubscriptionsGetAsync

      public com.squareup.okhttp.Call webhooksSubscriptionsGetAsync(String xWSO2Tenant, ApiCallback<WebhooksSubscriptionsListDTO> callback) throws ApiException
      Get webhooks subscriptions (asynchronously) This will provide list of webhooks subscriptions from the database.
      Parameters:
      xWSO2Tenant - This is used to specify the tenant domain, where the resource need to be retrieved from. (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