public class ScopesApi extends Object
| Constructor and Description |
|---|
ScopesApi() |
ScopesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ScopeDTO |
addSharedScope(ScopeDTO body)
Add a new Shared Scope
This operation can be used to add a new Shared Scope.
|
com.squareup.okhttp.Call |
addSharedScopeAsync(ScopeDTO body,
ApiCallback<ScopeDTO> callback)
Add a new Shared Scope (asynchronously)
This operation can be used to add a new Shared Scope.
|
com.squareup.okhttp.Call |
addSharedScopeCall(ScopeDTO body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for addSharedScope
|
ApiResponse<ScopeDTO> |
addSharedScopeWithHttpInfo(ScopeDTO body)
Add a new Shared Scope
This operation can be used to add a new Shared Scope.
|
void |
deleteSharedScope(String scopeId)
Delete a Shared Scope
This operation can be used to delete a Shared Scope proving the Id of the scope.
|
com.squareup.okhttp.Call |
deleteSharedScopeAsync(String scopeId,
ApiCallback<Void> callback)
Delete a Shared Scope (asynchronously)
This operation can be used to delete a Shared Scope proving the Id of the scope.
|
com.squareup.okhttp.Call |
deleteSharedScopeCall(String scopeId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteSharedScope
|
ApiResponse<Void> |
deleteSharedScopeWithHttpInfo(String scopeId)
Delete a Shared Scope
This operation can be used to delete a Shared Scope proving the Id of the scope.
|
ApiClient |
getApiClient() |
ScopeDTO |
getSharedScope(String scopeId)
Get a Shared Scope by Scope Id
This operation can be used to retrieve details of a Shared Scope by a given scope Id.
|
com.squareup.okhttp.Call |
getSharedScopeAsync(String scopeId,
ApiCallback<ScopeDTO> callback)
Get a Shared Scope by Scope Id (asynchronously)
This operation can be used to retrieve details of a Shared Scope by a given scope Id.
|
com.squareup.okhttp.Call |
getSharedScopeCall(String scopeId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getSharedScope
|
ScopeListDTO |
getSharedScopes(Integer limit,
Integer offset)
Get all available Shared Scopes
This operation can be used to get all the available Shared Scopes.
|
com.squareup.okhttp.Call |
getSharedScopesAsync(Integer limit,
Integer offset,
ApiCallback<ScopeListDTO> callback)
Get all available Shared Scopes (asynchronously)
This operation can be used to get all the available Shared Scopes.
|
com.squareup.okhttp.Call |
getSharedScopesCall(Integer limit,
Integer offset,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getSharedScopes
|
ApiResponse<ScopeListDTO> |
getSharedScopesWithHttpInfo(Integer limit,
Integer offset)
Get all available Shared Scopes
This operation can be used to get all the available Shared Scopes.
|
SharedScopeUsageDTO |
getSharedScopeUsages(String scopeId)
Get usages of a Shared Scope by Scope Id
This operation can be used to retrieve usages of a Shared Scope by a given scope Id.
|
com.squareup.okhttp.Call |
getSharedScopeUsagesAsync(String scopeId,
ApiCallback<SharedScopeUsageDTO> callback)
Get usages of a Shared Scope by Scope Id (asynchronously)
This operation can be used to retrieve usages of a Shared Scope by a given scope Id.
|
com.squareup.okhttp.Call |
getSharedScopeUsagesCall(String scopeId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getSharedScopeUsages
|
ApiResponse<SharedScopeUsageDTO> |
getSharedScopeUsagesWithHttpInfo(String scopeId)
Get usages of a Shared Scope by Scope Id
This operation can be used to retrieve usages of a Shared Scope by a given scope Id.
|
ApiResponse<ScopeDTO> |
getSharedScopeWithHttpInfo(String scopeId)
Get a Shared Scope by Scope Id
This operation can be used to retrieve details of a Shared Scope by a given scope Id.
|
void |
setApiClient(ApiClient apiClient) |
ScopeDTO |
updateSharedScope(String scopeId,
ScopeDTO body)
Update a Shared Scope
This operation can be used to update a Shared Scope by a given scope Id.
|
com.squareup.okhttp.Call |
updateSharedScopeAsync(String scopeId,
ScopeDTO body,
ApiCallback<ScopeDTO> callback)
Update a Shared Scope (asynchronously)
This operation can be used to update a Shared Scope by a given scope Id.
|
com.squareup.okhttp.Call |
updateSharedScopeCall(String scopeId,
ScopeDTO body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateSharedScope
|
ApiResponse<ScopeDTO> |
updateSharedScopeWithHttpInfo(String scopeId,
ScopeDTO body)
Update a Shared Scope
This operation can be used to update a Shared Scope by a given scope Id.
|
void |
validateScope(String scopeId)
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 scopeId,
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 scopeId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for validateScope
|
ApiResponse<Void> |
validateScopeWithHttpInfo(String scopeId)
Check given scope name is already exist
Using this operation, user can check a given scope name exists or not.
|
public ScopesApi()
public ScopesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call addSharedScopeCall(ScopeDTO body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - Scope object that needs to be added (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ScopeDTO addSharedScope(ScopeDTO body) throws ApiException
body - Scope object that needs to be added (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ScopeDTO> addSharedScopeWithHttpInfo(ScopeDTO body) throws ApiException
body - Scope object that needs to be added (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call addSharedScopeAsync(ScopeDTO body, ApiCallback<ScopeDTO> callback) throws ApiException
body - Scope object that needs to be added (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 objectpublic com.squareup.okhttp.Call deleteSharedScopeCall(String scopeId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
scopeId - Scope Id consisting the UUID of the shared scope (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void deleteSharedScope(String scopeId) throws ApiException
scopeId - Scope Id consisting the UUID of the shared scope (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteSharedScopeWithHttpInfo(String scopeId) throws ApiException
scopeId - Scope Id consisting the UUID of the shared scope (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteSharedScopeAsync(String scopeId, ApiCallback<Void> callback) throws ApiException
scopeId - Scope Id consisting the UUID of the shared scope (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 objectpublic com.squareup.okhttp.Call getSharedScopeCall(String scopeId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
scopeId - Scope Id consisting the UUID of the shared scope (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ScopeDTO getSharedScope(String scopeId) throws ApiException
scopeId - Scope Id consisting the UUID of the shared scope (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ScopeDTO> getSharedScopeWithHttpInfo(String scopeId) throws ApiException
scopeId - Scope Id consisting the UUID of the shared scope (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getSharedScopeAsync(String scopeId, ApiCallback<ScopeDTO> callback) throws ApiException
scopeId - Scope Id consisting the UUID of the shared scope (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 objectpublic com.squareup.okhttp.Call getSharedScopeUsagesCall(String scopeId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
scopeId - Scope Id consisting the UUID of the shared scope (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic SharedScopeUsageDTO getSharedScopeUsages(String scopeId) throws ApiException
scopeId - Scope Id consisting the UUID of the shared scope (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<SharedScopeUsageDTO> getSharedScopeUsagesWithHttpInfo(String scopeId) throws ApiException
scopeId - Scope Id consisting the UUID of the shared scope (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getSharedScopeUsagesAsync(String scopeId, ApiCallback<SharedScopeUsageDTO> callback) throws ApiException
scopeId - Scope Id consisting the UUID of the shared scope (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 objectpublic com.squareup.okhttp.Call getSharedScopesCall(Integer limit, Integer offset, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ScopeListDTO getSharedScopes(Integer limit, Integer offset) throws ApiException
limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ScopeListDTO> getSharedScopesWithHttpInfo(Integer limit, Integer offset) throws ApiException
limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getSharedScopesAsync(Integer limit, Integer offset, ApiCallback<ScopeListDTO> callback) throws ApiException
limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)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 updateSharedScopeCall(String scopeId, ScopeDTO body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
scopeId - Scope Id consisting the UUID of the shared scope (required)body - Scope object that needs to be updated (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ScopeDTO updateSharedScope(String scopeId, ScopeDTO body) throws ApiException
scopeId - Scope Id consisting the UUID of the shared scope (required)body - Scope object that needs to be updated (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ScopeDTO> updateSharedScopeWithHttpInfo(String scopeId, ScopeDTO body) throws ApiException
scopeId - Scope Id consisting the UUID of the shared scope (required)body - Scope object that needs to be updated (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateSharedScopeAsync(String scopeId, ScopeDTO body, ApiCallback<ScopeDTO> callback) throws ApiException
scopeId - Scope Id consisting the UUID of the shared scope (required)body - Scope object that needs to be updated (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 objectpublic com.squareup.okhttp.Call validateScopeCall(String scopeId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
scopeId - Scope name (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void validateScope(String scopeId) throws ApiException
scopeId - Scope name (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> validateScopeWithHttpInfo(String scopeId) throws ApiException
scopeId - 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 scopeId, ApiCallback<Void> callback) throws ApiException
scopeId - 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.