Class ScopesApi
java.lang.Object
org.wso2.am.integration.clients.publisher.api.v1.ScopesApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddSharedScope(ScopeDTO scopeDTO) Add a New Shared Scope This operation can be used to add a new Shared Scope.okhttp3.CalladdSharedScopeAsync(ScopeDTO scopeDTO, ApiCallback<ScopeDTO> _callback) Add a New Shared Scope (asynchronously) This operation can be used to add a new Shared Scope.okhttp3.CalladdSharedScopeCall(ScopeDTO scopeDTO, ApiCallback _callback) Build call for addSharedScopeaddSharedScopeWithHttpInfo(ScopeDTO scopeDTO) Add a New Shared Scope This operation can be used to add a new Shared Scope.voiddeleteSharedScope(String scopeId) Delete a Shared Scope This operation can be used to delete a Shared Scope proving the Id of the scope.okhttp3.CalldeleteSharedScopeAsync(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.okhttp3.CalldeleteSharedScopeCall(String scopeId, ApiCallback _callback) Build call for deleteSharedScopedeleteSharedScopeWithHttpInfo(String scopeId) Delete a Shared Scope This operation can be used to delete a Shared Scope proving the Id of the scope.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.okhttp3.CallgetSharedScopeAsync(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.okhttp3.CallgetSharedScopeCall(String scopeId, ApiCallback _callback) Build call for getSharedScopegetSharedScopes(Integer limit, Integer offset) Get All Available Shared Scopes This operation can be used to get all the available Shared Scopes.okhttp3.CallgetSharedScopesAsync(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.okhttp3.CallgetSharedScopesCall(Integer limit, Integer offset, ApiCallback _callback) Build call for getSharedScopesgetSharedScopesWithHttpInfo(Integer limit, Integer offset) Get All Available Shared Scopes This operation can be used to get all the available Shared Scopes.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.okhttp3.CallgetSharedScopeUsagesAsync(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.okhttp3.CallgetSharedScopeUsagesCall(String scopeId, ApiCallback _callback) Build call for getSharedScopeUsagesgetSharedScopeUsagesWithHttpInfo(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.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.voidsetApiClient(ApiClient apiClient) updateSharedScope(String scopeId, ScopeDTO scopeDTO) Update a Shared Scope This operation can be used to update a Shared Scope by a given scope Id.okhttp3.CallupdateSharedScopeAsync(String scopeId, ScopeDTO scopeDTO, ApiCallback<ScopeDTO> _callback) Update a Shared Scope (asynchronously) This operation can be used to update a Shared Scope by a given scope Id.okhttp3.CallupdateSharedScopeCall(String scopeId, ScopeDTO scopeDTO, ApiCallback _callback) Build call for updateSharedScopeupdateSharedScopeWithHttpInfo(String scopeId, ScopeDTO scopeDTO) Update a Shared Scope This operation can be used to update a Shared Scope by a given scope Id.voidvalidateScope(String scopeId) Check Given Scope Name already Exists Using this operation, user can check a given scope name exists or not.okhttp3.CallvalidateScopeAsync(String scopeId, ApiCallback<Void> _callback) Check Given Scope Name already Exists (asynchronously) Using this operation, user can check a given scope name exists or not.okhttp3.CallvalidateScopeCall(String scopeId, ApiCallback _callback) Build call for validateScopevalidateScopeWithHttpInfo(String scopeId) Check Given Scope Name already Exists Using this operation, user can check a given scope name exists or not.
-
Constructor Details
-
ScopesApi
public ScopesApi() -
ScopesApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
validateScopeCall
Build call for validateScope- Parameters:
scopeId- Scope name (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
validateScope
Check Given Scope Name already Exists Using this operation, user can check a given scope name exists or not.- Parameters:
scopeId- Scope name (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
validateScopeWithHttpInfo
Check Given Scope Name already Exists Using this operation, user can check a given scope name exists or not.- Parameters:
scopeId- Scope name (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
validateScopeAsync
public okhttp3.Call validateScopeAsync(String scopeId, ApiCallback<Void> _callback) throws ApiException Check Given Scope Name already Exists (asynchronously) Using this operation, user can check a given scope name exists or not.- Parameters:
scopeId- Scope name (required)_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
-