public class SubscriptionCollectionApi extends Object
| Constructor and Description |
|---|
SubscriptionCollectionApi() |
SubscriptionCollectionApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
SubscriptionList |
subscriptionsGet(String apiId,
Integer limit,
Integer offset,
String accept,
String ifNoneMatch)
Get all Subscriptions
This operation can be used to retrieve a list of subscriptions of the user associated with the provided access token.
|
com.squareup.okhttp.Call |
subscriptionsGetAsync(String apiId,
Integer limit,
Integer offset,
String accept,
String ifNoneMatch,
ApiCallback<SubscriptionList> callback)
Get all Subscriptions (asynchronously)
This operation can be used to retrieve a list of subscriptions of the user associated with the provided access token.
|
ApiResponse<SubscriptionList> |
subscriptionsGetWithHttpInfo(String apiId,
Integer limit,
Integer offset,
String accept,
String ifNoneMatch)
Get all Subscriptions
This operation can be used to retrieve a list of subscriptions of the user associated with the provided access token.
|
public SubscriptionCollectionApi()
public SubscriptionCollectionApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public SubscriptionList subscriptionsGet(String apiId, Integer limit, Integer offset, String accept, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. The combination of the provider of the API, name of the API and the version is also accepted as a valid API I. Should be formatted as **provider-name-version**. (required)limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<SubscriptionList> subscriptionsGetWithHttpInfo(String apiId, Integer limit, Integer offset, String accept, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. The combination of the provider of the API, name of the API and the version is also accepted as a valid API I. Should be formatted as **provider-name-version**. (required)limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call subscriptionsGetAsync(String apiId, Integer limit, Integer offset, String accept, String ifNoneMatch, ApiCallback<SubscriptionList> callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. The combination of the provider of the API, name of the API and the version is also accepted as a valid API I. Should be formatted as **provider-name-version**. (required)limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (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 © 2017 WSO2. All rights reserved.