public class SubscriptionsApi extends Object
| Constructor and Description |
|---|
SubscriptionsApi() |
SubscriptionsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
SubscriptionListDTO |
getSubscriptions(String apiUUID,
String applicationUUID,
String tenantDomain)
Get Subscriptions stored in in-memory
This operation is used to get the Subscriptions from the storage.
|
com.squareup.okhttp.Call |
getSubscriptionsAsync(String apiUUID,
String applicationUUID,
String tenantDomain,
ApiCallback<SubscriptionListDTO> callback)
Get Subscriptions stored in in-memory (asynchronously)
This operation is used to get the Subscriptions from the storage.
|
com.squareup.okhttp.Call |
getSubscriptionsCall(String apiUUID,
String applicationUUID,
String tenantDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getSubscriptions
|
ApiResponse<SubscriptionListDTO> |
getSubscriptionsWithHttpInfo(String apiUUID,
String applicationUUID,
String tenantDomain)
Get Subscriptions stored in in-memory
This operation is used to get the Subscriptions from the storage.
|
void |
setApiClient(ApiClient apiClient) |
public SubscriptionsApi()
public SubscriptionsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call getSubscriptionsCall(String apiUUID, String applicationUUID, String tenantDomain, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiUUID - UUID of the API (required)applicationUUID - UUID of the Application (required)tenantDomain - Tenant Domain of the API (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic SubscriptionListDTO getSubscriptions(String apiUUID, String applicationUUID, String tenantDomain) throws ApiException
apiUUID - UUID of the API (required)applicationUUID - UUID of the Application (required)tenantDomain - Tenant Domain of the API (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<SubscriptionListDTO> getSubscriptionsWithHttpInfo(String apiUUID, String applicationUUID, String tenantDomain) throws ApiException
apiUUID - UUID of the API (required)applicationUUID - UUID of the Application (required)tenantDomain - Tenant Domain of the API (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getSubscriptionsAsync(String apiUUID, String applicationUUID, String tenantDomain, ApiCallback<SubscriptionListDTO> callback) throws ApiException
apiUUID - UUID of the API (required)applicationUUID - UUID of the Application (required)tenantDomain - Tenant Domain of the API (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 © 2022 WSO2 Inc. All rights reserved.