Class RetrievingWebhooksSubscriptionsApi
java.lang.Object
org.wso2.am.integration.clients.internal.api.RetrievingWebhooksSubscriptionsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetApiClient(ApiClient apiClient) webhooksSubscriptionsGet(String xWSO2Tenant) Get webhooks subscriptions This will provide list of webhooks subscriptions from the database.com.squareup.okhttp.CallwebhooksSubscriptionsGetAsync(String xWSO2Tenant, ApiCallback<WebhooksSubscriptionsListDTO> callback) Get webhooks subscriptions (asynchronously) This will provide list of webhooks subscriptions from the database.com.squareup.okhttp.CallwebhooksSubscriptionsGetCall(String xWSO2Tenant, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for webhooksSubscriptionsGetwebhooksSubscriptionsGetWithHttpInfo(String xWSO2Tenant) Get webhooks subscriptions This will provide list of webhooks subscriptions from the database.
-
Constructor Details
-
RetrievingWebhooksSubscriptionsApi
public RetrievingWebhooksSubscriptionsApi() -
RetrievingWebhooksSubscriptionsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
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 listenerprogressRequestListener- 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
-