Class GetSubscriptionInfoApi
java.lang.Object
org.wso2.am.integration.clients.gateway.api.v2.GetSubscriptionInfoApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetApiClient(ApiClient apiClient) subscriptionsGet(String apiUUID, String appUUID, String tenantDomain) Get the subscriptions meta information of an api by providing the api uuid and application uuid.com.squareup.okhttp.CallsubscriptionsGetAsync(String apiUUID, String appUUID, String tenantDomain, ApiCallback<SubscriptionDTO> callback) Get the subscriptions meta information of an api by providing the api uuid and application uuid.com.squareup.okhttp.CallsubscriptionsGetCall(String apiUUID, String appUUID, String tenantDomain, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for subscriptionsGetsubscriptionsGetWithHttpInfo(String apiUUID, String appUUID, String tenantDomain) Get the subscriptions meta information of an api by providing the api uuid and application uuid.
-
Constructor Details
-
GetSubscriptionInfoApi
public GetSubscriptionInfoApi() -
GetSubscriptionInfoApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
subscriptionsGetCall
public com.squareup.okhttp.Call subscriptionsGetCall(String apiUUID, String appUUID, String tenantDomain, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for subscriptionsGet- Parameters:
apiUUID- UUID of the API (optional)appUUID- UUID of the Application (optional)tenantDomain- Tenant Domain of the Application (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
subscriptionsGet
public SubscriptionDTO subscriptionsGet(String apiUUID, String appUUID, String tenantDomain) throws ApiException Get the subscriptions meta information of an api by providing the api uuid and application uuid. This operation is used to get the subscription information of an API from storage. If the Tenant domain is not provided carbon.super will be picked as the Tenant domain.- Parameters:
apiUUID- UUID of the API (optional)appUUID- UUID of the Application (optional)tenantDomain- Tenant Domain of the Application (optional)- Returns:
- SubscriptionDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
subscriptionsGetWithHttpInfo
public ApiResponse<SubscriptionDTO> subscriptionsGetWithHttpInfo(String apiUUID, String appUUID, String tenantDomain) throws ApiException Get the subscriptions meta information of an api by providing the api uuid and application uuid. This operation is used to get the subscription information of an API from storage. If the Tenant domain is not provided carbon.super will be picked as the Tenant domain.- Parameters:
apiUUID- UUID of the API (optional)appUUID- UUID of the Application (optional)tenantDomain- Tenant Domain of the Application (optional)- Returns:
- ApiResponse<SubscriptionDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
subscriptionsGetAsync
public com.squareup.okhttp.Call subscriptionsGetAsync(String apiUUID, String appUUID, String tenantDomain, ApiCallback<SubscriptionDTO> callback) throws ApiException Get the subscriptions meta information of an api by providing the api uuid and application uuid. (asynchronously) This operation is used to get the subscription information of an API from storage. If the Tenant domain is not provided carbon.super will be picked as the Tenant domain.- Parameters:
apiUUID- UUID of the API (optional)appUUID- UUID of the Application (optional)tenantDomain- Tenant Domain of the Application (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
-