Class SettingsApi
- java.lang.Object
-
- org.wso2.am.integration.clients.publisher.api.v1.SettingsApi
-
public class SettingsApi extends Object
-
-
Constructor Summary
Constructors Constructor Description SettingsApi()SettingsApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()SettingsDTOgetSettings()Retreive Publisher Settings Retreive publisher settingsokhttp3.CallgetSettingsAsync(ApiCallback<SettingsDTO> _callback)Retreive Publisher Settings (asynchronously) Retreive publisher settingsokhttp3.CallgetSettingsCall(ApiCallback _callback)Build call for getSettingsApiResponse<SettingsDTO>getSettingsWithHttpInfo()Retreive Publisher Settings Retreive publisher settingsvoidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
SettingsApi
public SettingsApi()
-
SettingsApi
public SettingsApi(ApiClient apiClient)
-
-
Method Detail
-
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
-
-