public class WebhooksApi extends Object
| Constructor and Description |
|---|
WebhooksApi() |
WebhooksApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
WebhookSubscriptionListDTO |
getAllWebhooksOfAPI(String applicationId,
String apiId,
String xWSO2Tenant)
Get available web hook subscriptions for a given application.
|
okhttp3.Call |
getAllWebhooksOfAPIAsync(String applicationId,
String apiId,
String xWSO2Tenant,
ApiCallback<WebhookSubscriptionListDTO> _callback)
Get available web hook subscriptions for a given application.
|
okhttp3.Call |
getAllWebhooksOfAPICall(String applicationId,
String apiId,
String xWSO2Tenant,
ApiCallback _callback)
Build call for getAllWebhooksOfAPI
|
ApiResponse<WebhookSubscriptionListDTO> |
getAllWebhooksOfAPIWithHttpInfo(String applicationId,
String apiId,
String xWSO2Tenant)
Get available web hook subscriptions for a given application.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public WebhooksApi()
public WebhooksApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call getAllWebhooksOfAPICall(String applicationId, String apiId, String xWSO2Tenant, ApiCallback _callback) throws ApiException
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 progressApiException - If fail to serialize the request body objectpublic WebhookSubscriptionListDTO getAllWebhooksOfAPI(String applicationId, String apiId, String xWSO2Tenant) throws ApiException
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)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<WebhookSubscriptionListDTO> getAllWebhooksOfAPIWithHttpInfo(String applicationId, String apiId, String xWSO2Tenant) throws ApiException
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)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getAllWebhooksOfAPIAsync(String applicationId, String apiId, String xWSO2Tenant, ApiCallback<WebhookSubscriptionListDTO> _callback) throws ApiException
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 finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2021 WSO2 Inc. All rights reserved.