Class RetrievingWebhooksSubscriptionsApi
- java.lang.Object
-
- org.wso2.am.integration.clients.internal.api.RetrievingWebhooksSubscriptionsApi
-
public class RetrievingWebhooksSubscriptionsApi extends Object
-
-
Constructor Summary
Constructors Constructor Description RetrievingWebhooksSubscriptionsApi()RetrievingWebhooksSubscriptionsApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()voidsetApiClient(ApiClient apiClient)WebhooksSubscriptionsListDTOwebhooksSubscriptionsGet(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 webhooksSubscriptionsGetApiResponse<WebhooksSubscriptionsListDTO>webhooksSubscriptionsGetWithHttpInfo(String xWSO2Tenant)Get webhooks subscriptions This will provide list of webhooks subscriptions from the database.
-
-
-
Constructor Detail
-
RetrievingWebhooksSubscriptionsApi
public RetrievingWebhooksSubscriptionsApi()
-
RetrievingWebhooksSubscriptionsApi
public RetrievingWebhooksSubscriptionsApi(ApiClient apiClient)
-
-
Method Detail
-
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 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
-
-