Class MonetizationCollectionApi

java.lang.Object
org.wso2.am.integration.clients.admin.api.MonetizationCollectionApi

public class MonetizationCollectionApi extends Object
  • Constructor Details

    • MonetizationCollectionApi

      public MonetizationCollectionApi()
    • MonetizationCollectionApi

      public MonetizationCollectionApi(ApiClient apiClient)
  • Method Details

    • 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