Class SubscriberApi
java.lang.Object
org.wso2.am.integration.clients.publisher.api.v1.SubscriberApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSubscriberInfoBySubscriptionId(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 getSubscriberInfoBySubscriptionIdgetSubscriberInfoBySubscriptionIdWithHttpInfo(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 Details
-
SubscriberApi
public SubscriberApi() -
SubscriberApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
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
-