public class SettingsApi extends Object
| Constructor and Description |
|---|
SettingsApi() |
SettingsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
SettingsDTO |
settingsGet()
Retreive admin settings
Retreive admin settings
|
com.squareup.okhttp.Call |
settingsGetAsync(ApiCallback<SettingsDTO> callback)
Retreive admin settings (asynchronously)
Retreive admin settings
|
com.squareup.okhttp.Call |
settingsGetCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for settingsGet
|
ApiResponse<SettingsDTO> |
settingsGetWithHttpInfo()
Retreive admin settings
Retreive admin settings
|
ScopeSettingsDTO |
settingsScopesScopeGet(String username,
String scope)
Retrieve scopes for a particular user
This operation will return the scope list of particular user In order to get it, we need to pass the userId as a query parameter
|
com.squareup.okhttp.Call |
settingsScopesScopeGetAsync(String username,
String scope,
ApiCallback<ScopeSettingsDTO> callback)
Retrieve scopes for a particular user (asynchronously)
This operation will return the scope list of particular user In order to get it, we need to pass the userId as a query parameter
|
com.squareup.okhttp.Call |
settingsScopesScopeGetCall(String username,
String scope,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for settingsScopesScopeGet
|
ApiResponse<ScopeSettingsDTO> |
settingsScopesScopeGetWithHttpInfo(String username,
String scope)
Retrieve scopes for a particular user
This operation will return the scope list of particular user In order to get it, we need to pass the userId as a query parameter
|
public SettingsApi()
public SettingsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call settingsGetCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic SettingsDTO settingsGet() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<SettingsDTO> settingsGetWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call settingsGetAsync(ApiCallback<SettingsDTO> callback) throws ApiException
callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call settingsScopesScopeGetCall(String username, String scope, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
username - (required)scope - scope name to be validated (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ScopeSettingsDTO settingsScopesScopeGet(String username, String scope) throws ApiException
username - (required)scope - scope name to be validated (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ScopeSettingsDTO> settingsScopesScopeGetWithHttpInfo(String username, String scope) throws ApiException
username - (required)scope - scope name to be validated (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call settingsScopesScopeGetAsync(String username, String scope, ApiCallback<ScopeSettingsDTO> callback) throws ApiException
username - (required)scope - scope name to be validated (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2020 WSO2 Inc. All rights reserved.