Class SubscriberApi
- java.lang.Object
-
- org.wso2.am.integration.clients.publisher.api.v1.SubscriberApi
-
public class SubscriberApi extends Object
-
-
Constructor Summary
Constructors Constructor Description SubscriberApi()SubscriberApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()SubscriberInfoDTOgetSubscriberInfoBySubscriptionId(String subscriptionId)Get Details of a Subscriber This operation can be used to get details of a user who subscribed to the API.okhttp3.CallgetSubscriberInfoBySubscriptionIdAsync(String subscriptionId, ApiCallback<SubscriberInfoDTO> _callback)Get Details of a Subscriber (asynchronously) This operation can be used to get details of a user who subscribed to the API.okhttp3.CallgetSubscriberInfoBySubscriptionIdCall(String subscriptionId, ApiCallback _callback)Build call for getSubscriberInfoBySubscriptionIdApiResponse<SubscriberInfoDTO>getSubscriberInfoBySubscriptionIdWithHttpInfo(String subscriptionId)Get Details of a Subscriber This operation can be used to get details of a user who subscribed to the API.voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
SubscriberApi
public SubscriberApi()
-
SubscriberApi
public SubscriberApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getSubscriberInfoBySubscriptionIdCall
public okhttp3.Call getSubscriberInfoBySubscriptionIdCall(String subscriptionId, ApiCallback _callback) throws ApiException
Build call for getSubscriberInfoBySubscriptionId- Parameters:
subscriptionId- Subscription Id (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getSubscriberInfoBySubscriptionId
public SubscriberInfoDTO getSubscriberInfoBySubscriptionId(String subscriptionId) throws ApiException
Get Details of a Subscriber This operation can be used to get details of a user who subscribed to the API.- Parameters:
subscriptionId- Subscription Id (required)- Returns:
- SubscriberInfoDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSubscriberInfoBySubscriptionIdWithHttpInfo
public ApiResponse<SubscriberInfoDTO> getSubscriberInfoBySubscriptionIdWithHttpInfo(String subscriptionId) throws ApiException
Get Details of a Subscriber This operation can be used to get details of a user who subscribed to the API.- Parameters:
subscriptionId- Subscription Id (required)- Returns:
- ApiResponse<SubscriberInfoDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSubscriberInfoBySubscriptionIdAsync
public okhttp3.Call getSubscriberInfoBySubscriptionIdAsync(String subscriptionId, ApiCallback<SubscriberInfoDTO> _callback) throws ApiException
Get Details of a Subscriber (asynchronously) This operation can be used to get details of a user who subscribed to the API.- Parameters:
subscriptionId- Subscription Id (required)_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
-
-