Class MonetizationCollectionApi
- java.lang.Object
-
- org.wso2.am.integration.clients.admin.api.MonetizationCollectionApi
-
public class MonetizationCollectionApi extends Object
-
-
Constructor Summary
Constructors Constructor Description MonetizationCollectionApi()MonetizationCollectionApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()PublishStatusDTOmonetizationPublishUsagePost()Publish Usage Records Publish usage records of monetized APIsokhttp3.CallmonetizationPublishUsagePostAsync(ApiCallback<PublishStatusDTO> _callback)Publish Usage Records (asynchronously) Publish usage records of monetized APIsokhttp3.CallmonetizationPublishUsagePostCall(ApiCallback _callback)Build call for monetizationPublishUsagePostApiResponse<PublishStatusDTO>monetizationPublishUsagePostWithHttpInfo()Publish Usage Records Publish usage records of monetized APIsMonetizationUsagePublishInfoDTOmonetizationPublishUsageStatusGet()Get the Status of Monetization Usage Publisher Get the status of monetization usage publisherokhttp3.CallmonetizationPublishUsageStatusGetAsync(ApiCallback<MonetizationUsagePublishInfoDTO> _callback)Get the Status of Monetization Usage Publisher (asynchronously) Get the status of monetization usage publisherokhttp3.CallmonetizationPublishUsageStatusGetCall(ApiCallback _callback)Build call for monetizationPublishUsageStatusGetApiResponse<MonetizationUsagePublishInfoDTO>monetizationPublishUsageStatusGetWithHttpInfo()Get the Status of Monetization Usage Publisher Get the status of monetization usage publishervoidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
MonetizationCollectionApi
public MonetizationCollectionApi()
-
MonetizationCollectionApi
public MonetizationCollectionApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
monetizationPublishUsagePostCall
public okhttp3.Call monetizationPublishUsagePostCall(ApiCallback _callback) throws ApiException
Build call for monetizationPublishUsagePost- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
monetizationPublishUsagePost
public PublishStatusDTO monetizationPublishUsagePost() throws ApiException
Publish Usage Records Publish usage records of monetized APIs- Returns:
- PublishStatusDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
monetizationPublishUsagePostWithHttpInfo
public ApiResponse<PublishStatusDTO> monetizationPublishUsagePostWithHttpInfo() throws ApiException
Publish Usage Records Publish usage records of monetized APIs- Returns:
- ApiResponse<PublishStatusDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
monetizationPublishUsagePostAsync
public okhttp3.Call monetizationPublishUsagePostAsync(ApiCallback<PublishStatusDTO> _callback) throws ApiException
Publish Usage Records (asynchronously) Publish usage records of monetized APIs- Parameters:
_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
-
monetizationPublishUsageStatusGetCall
public okhttp3.Call monetizationPublishUsageStatusGetCall(ApiCallback _callback) throws ApiException
Build call for monetizationPublishUsageStatusGet- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
monetizationPublishUsageStatusGet
public MonetizationUsagePublishInfoDTO monetizationPublishUsageStatusGet() throws ApiException
Get the Status of Monetization Usage Publisher Get the status of monetization usage publisher- Returns:
- MonetizationUsagePublishInfoDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
monetizationPublishUsageStatusGetWithHttpInfo
public ApiResponse<MonetizationUsagePublishInfoDTO> monetizationPublishUsageStatusGetWithHttpInfo() throws ApiException
Get the Status of Monetization Usage Publisher Get the status of monetization usage publisher- Returns:
- ApiResponse<MonetizationUsagePublishInfoDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
monetizationPublishUsageStatusGetAsync
public okhttp3.Call monetizationPublishUsageStatusGetAsync(ApiCallback<MonetizationUsagePublishInfoDTO> _callback) throws ApiException
Get the Status of Monetization Usage Publisher (asynchronously) Get the status of monetization usage publisher- Parameters:
_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
-
-