public class SubscriptionMultitpleApi extends Object
| Constructor and Description |
|---|
SubscriptionMultitpleApi() |
SubscriptionMultitpleApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
Subscription |
subscriptionsMultiplePost(List<Subscription> body,
String contentType)
Add new subscriptions
This operation can be used to add a new subscriptions providing the ids of the APIs and the applications.
|
com.squareup.okhttp.Call |
subscriptionsMultiplePostAsync(List<Subscription> body,
String contentType,
ApiCallback<Subscription> callback)
Add new subscriptions (asynchronously)
This operation can be used to add a new subscriptions providing the ids of the APIs and the applications.
|
ApiResponse<Subscription> |
subscriptionsMultiplePostWithHttpInfo(List<Subscription> body,
String contentType)
Add new subscriptions
This operation can be used to add a new subscriptions providing the ids of the APIs and the applications.
|
public SubscriptionMultitpleApi()
public SubscriptionMultitpleApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public Subscription subscriptionsMultiplePost(List<Subscription> body, String contentType) throws ApiException
body - Subscription objects that should to be added (required)contentType - Media type of the entity in the body. Default is application/json. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Subscription> subscriptionsMultiplePostWithHttpInfo(List<Subscription> body, String contentType) throws ApiException
body - Subscription objects that should to be added (required)contentType - Media type of the entity in the body. Default is application/json. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call subscriptionsMultiplePostAsync(List<Subscription> body, String contentType, ApiCallback<Subscription> callback) throws ApiException
body - Subscription objects that should to be added (required)contentType - Media type of the entity in the body. Default is application/json. (required)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.