public class ScopeApi extends Object
| Constructor and Description |
|---|
ScopeApi() |
ScopeApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
void |
validateScope(String name)
Check given scope name is already exist
Using this operation, user can check a given scope name exists or not.
|
com.squareup.okhttp.Call |
validateScopeAsync(String name,
ApiCallback<Void> callback)
Check given scope name is already exist (asynchronously)
Using this operation, user can check a given scope name exists or not.
|
com.squareup.okhttp.Call |
validateScopeCall(String name,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for validateScope
|
ApiResponse<Void> |
validateScopeWithHttpInfo(String name)
Check given scope name is already exist
Using this operation, user can check a given scope name exists or not.
|
public ScopeApi()
public ScopeApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call validateScopeCall(String name, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
name - Scope name (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void validateScope(String name) throws ApiException
name - Scope name (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> validateScopeWithHttpInfo(String name) throws ApiException
name - Scope name (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call validateScopeAsync(String name, ApiCallback<Void> callback) throws ApiException
name - Scope name (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.