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,
String applicationId,
String groupId,
Integer offset,
Integer limit,
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,
String applicationId,
String groupId,
Integer offset,
Integer limit,
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,
String applicationId,
String groupId,
Integer offset,
Integer limit,
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, String applicationId, String groupId, Integer offset, Integer limit, String accept, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. Using the **UUID** in the API call is recommended. 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)applicationId - Application Identifier consisting of the UUID of the Application. (required)groupId - Application Group Id (optional)offset - Starting point within the complete list of items qualified. (optional, default to 0)limit - Maximum size of resource array to return. (optional, default to 25)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 resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<SubscriptionList> subscriptionsGetWithHttpInfo(String apiId, String applicationId, String groupId, Integer offset, Integer limit, String accept, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. Using the **UUID** in the API call is recommended. 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)applicationId - Application Identifier consisting of the UUID of the Application. (required)groupId - Application Group Id (optional)offset - Starting point within the complete list of items qualified. (optional, default to 0)limit - Maximum size of resource array to return. (optional, default to 25)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 resource. (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, String applicationId, String groupId, Integer offset, Integer limit, String accept, String ifNoneMatch, ApiCallback<SubscriptionList> callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. Using the **UUID** in the API call is recommended. 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)applicationId - Application Identifier consisting of the UUID of the Application. (required)groupId - Application Group Id (optional)offset - Starting point within the complete list of items qualified. (optional, default to 0)limit - Maximum size of resource array to return. (optional, default to 25)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 resource. (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 © 2018 WSO2 Inc. All rights reserved.