Class MonetizationCollectionApi
java.lang.Object
org.wso2.am.integration.clients.admin.api.MonetizationCollectionApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionPublish Usage Records Publish usage records of monetized APIsokhttp3.CallPublish Usage Records (asynchronously) Publish usage records of monetized APIsokhttp3.CallmonetizationPublishUsagePostCall(ApiCallback _callback) Build call for monetizationPublishUsagePostPublish Usage Records Publish usage records of monetized APIsGet the Status of Monetization Usage Publisher Get the status of monetization usage publisherokhttp3.CallGet the Status of Monetization Usage Publisher (asynchronously) Get the status of monetization usage publisherokhttp3.CallmonetizationPublishUsageStatusGetCall(ApiCallback _callback) Build call for monetizationPublishUsageStatusGetGet the Status of Monetization Usage Publisher Get the status of monetization usage publishervoidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
MonetizationCollectionApi
public MonetizationCollectionApi() -
MonetizationCollectionApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
monetizationPublishUsagePostCall
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
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
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
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 ApiExceptionGet 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
-