java.lang.Object
org.wso2.am.integration.clients.publisher.api.v1.SettingsApi

public class SettingsApi extends Object
  • Constructor Details

    • SettingsApi

      public SettingsApi()
    • SettingsApi

      public SettingsApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getSettingsCall

      public okhttp3.Call getSettingsCall(ApiCallback _callback) throws ApiException
      Build call for getSettings
      Parameters:
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getSettings

      public SettingsDTO getSettings() throws ApiException
      Retreive Publisher Settings Retreive publisher settings
      Returns:
      SettingsDTO
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getSettingsWithHttpInfo

      public ApiResponse<SettingsDTO> getSettingsWithHttpInfo() throws ApiException
      Retreive Publisher Settings Retreive publisher settings
      Returns:
      ApiResponse<SettingsDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getSettingsAsync

      public okhttp3.Call getSettingsAsync(ApiCallback<SettingsDTO> _callback) throws ApiException
      Retreive Publisher Settings (asynchronously) Retreive publisher settings
      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