Class SubscriptionsApi
- java.lang.Object
-
- org.wso2.am.integration.clients.gateway.api.v2.SubscriptionsApi
-
public class SubscriptionsApi extends Object
-
-
Constructor Summary
Constructors Constructor Description SubscriptionsApi()SubscriptionsApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()SubscriptionListDTOgetSubscriptions(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.CallgetSubscriptionsAsync(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.CallgetSubscriptionsCall(String apiUUID, String applicationUUID, String tenantDomain, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for getSubscriptionsApiResponse<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.voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
SubscriptionsApi
public SubscriptionsApi()
-
SubscriptionsApi
public SubscriptionsApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getSubscriptionsCall
public com.squareup.okhttp.Call getSubscriptionsCall(String apiUUID, String applicationUUID, String tenantDomain, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for getSubscriptions- Parameters:
apiUUID- UUID of the API (required)applicationUUID- UUID of the Application (required)tenantDomain- Tenant Domain of the API (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getSubscriptions
public SubscriptionListDTO getSubscriptions(String apiUUID, String applicationUUID, String tenantDomain) throws ApiException
Get Subscriptions stored in in-memory This operation is used to get the Subscriptions from the storage. If the Tenant domain is not provided carbon.super will be picked as the Tenant domain.- Parameters:
apiUUID- UUID of the API (required)applicationUUID- UUID of the Application (required)tenantDomain- Tenant Domain of the API (optional)- Returns:
- SubscriptionListDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSubscriptionsWithHttpInfo
public ApiResponse<SubscriptionListDTO> getSubscriptionsWithHttpInfo(String apiUUID, String applicationUUID, String tenantDomain) throws ApiException
Get Subscriptions stored in in-memory This operation is used to get the Subscriptions from the storage. If the Tenant domain is not provided carbon.super will be picked as the Tenant domain.- Parameters:
apiUUID- UUID of the API (required)applicationUUID- UUID of the Application (required)tenantDomain- Tenant Domain of the API (optional)- Returns:
- ApiResponse<SubscriptionListDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSubscriptionsAsync
public com.squareup.okhttp.Call getSubscriptionsAsync(String apiUUID, String applicationUUID, String tenantDomain, ApiCallback<SubscriptionListDTO> callback) throws ApiException
Get Subscriptions stored in in-memory (asynchronously) This operation is used to get the Subscriptions from the storage. If the Tenant domain is not provided carbon.super will be picked as the Tenant domain.- Parameters:
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 finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
-