Class SystemScopesApi
- java.lang.Object
-
- org.wso2.am.integration.clients.admin.api.SystemScopesApi
-
public class SystemScopesApi extends Object
-
-
Constructor Summary
Constructors Constructor Description SystemScopesApi()SystemScopesApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()voidsetApiClient(ApiClient apiClient)ScopeListDTOsystemScopesGet()Get Role Scope Mappings This operation is used to get the list of role scope mapping from tenant-conf for the apim admin dashboardokhttp3.CallsystemScopesGetAsync(ApiCallback<ScopeListDTO> _callback)Get Role Scope Mappings (asynchronously) This operation is used to get the list of role scope mapping from tenant-conf for the apim admin dashboardokhttp3.CallsystemScopesGetCall(ApiCallback _callback)Build call for systemScopesGetApiResponse<ScopeListDTO>systemScopesGetWithHttpInfo()Get Role Scope Mappings This operation is used to get the list of role scope mapping from tenant-conf for the apim admin dashboardRoleAliasListDTOsystemScopesRoleAliasesGet()Retrieve Role Alias Mappings This operation can be used to retreive role alias mappingokhttp3.CallsystemScopesRoleAliasesGetAsync(ApiCallback<RoleAliasListDTO> _callback)Retrieve Role Alias Mappings (asynchronously) This operation can be used to retreive role alias mappingokhttp3.CallsystemScopesRoleAliasesGetCall(ApiCallback _callback)Build call for systemScopesRoleAliasesGetApiResponse<RoleAliasListDTO>systemScopesRoleAliasesGetWithHttpInfo()Retrieve Role Alias Mappings This operation can be used to retreive role alias mappingRoleAliasListDTOsystemScopesRoleAliasesPut(RoleAliasListDTO roleAliasListDTO)Add a New Role Alias This operation can be used to add a new role alias mapping for system scope rolesokhttp3.CallsystemScopesRoleAliasesPutAsync(RoleAliasListDTO roleAliasListDTO, ApiCallback<RoleAliasListDTO> _callback)Add a New Role Alias (asynchronously) This operation can be used to add a new role alias mapping for system scope rolesokhttp3.CallsystemScopesRoleAliasesPutCall(RoleAliasListDTO roleAliasListDTO, ApiCallback _callback)Build call for systemScopesRoleAliasesPutApiResponse<RoleAliasListDTO>systemScopesRoleAliasesPutWithHttpInfo(RoleAliasListDTO roleAliasListDTO)Add a New Role Alias This operation can be used to add a new role alias mapping for system scope rolesScopeSettingsDTOsystemScopesScopeNameGet(String scopeName, String username)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 parameterokhttp3.CallsystemScopesScopeNameGetAsync(String scopeName, String username, 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 parameterokhttp3.CallsystemScopesScopeNameGetCall(String scopeName, String username, ApiCallback _callback)Build call for systemScopesScopeNameGetApiResponse<ScopeSettingsDTO>systemScopesScopeNameGetWithHttpInfo(String scopeName, String username)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 parameterScopeListDTOupdateRolesForScope(ScopeListDTO scopeListDTO)Update Roles For Scope This operation is used to update the roles for all scopesokhttp3.CallupdateRolesForScopeAsync(ScopeListDTO scopeListDTO, ApiCallback<ScopeListDTO> _callback)Update Roles For Scope (asynchronously) This operation is used to update the roles for all scopesokhttp3.CallupdateRolesForScopeCall(ScopeListDTO scopeListDTO, ApiCallback _callback)Build call for updateRolesForScopeApiResponse<ScopeListDTO>updateRolesForScopeWithHttpInfo(ScopeListDTO scopeListDTO)Update Roles For Scope This operation is used to update the roles for all scopes
-
-
-
Constructor Detail
-
SystemScopesApi
public SystemScopesApi()
-
SystemScopesApi
public SystemScopesApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
systemScopesGetCall
public okhttp3.Call systemScopesGetCall(ApiCallback _callback) throws ApiException
Build call for systemScopesGet- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
systemScopesGet
public ScopeListDTO systemScopesGet() throws ApiException
Get Role Scope Mappings This operation is used to get the list of role scope mapping from tenant-conf for the apim admin dashboard- Returns:
- ScopeListDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
systemScopesGetWithHttpInfo
public ApiResponse<ScopeListDTO> systemScopesGetWithHttpInfo() throws ApiException
Get Role Scope Mappings This operation is used to get the list of role scope mapping from tenant-conf for the apim admin dashboard- Returns:
- ApiResponse<ScopeListDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
systemScopesGetAsync
public okhttp3.Call systemScopesGetAsync(ApiCallback<ScopeListDTO> _callback) throws ApiException
Get Role Scope Mappings (asynchronously) This operation is used to get the list of role scope mapping from tenant-conf for the apim admin dashboard- 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
-
systemScopesRoleAliasesGetCall
public okhttp3.Call systemScopesRoleAliasesGetCall(ApiCallback _callback) throws ApiException
Build call for systemScopesRoleAliasesGet- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
systemScopesRoleAliasesGet
public RoleAliasListDTO systemScopesRoleAliasesGet() throws ApiException
Retrieve Role Alias Mappings This operation can be used to retreive role alias mapping- Returns:
- RoleAliasListDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
systemScopesRoleAliasesGetWithHttpInfo
public ApiResponse<RoleAliasListDTO> systemScopesRoleAliasesGetWithHttpInfo() throws ApiException
Retrieve Role Alias Mappings This operation can be used to retreive role alias mapping- Returns:
- ApiResponse<RoleAliasListDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
systemScopesRoleAliasesGetAsync
public okhttp3.Call systemScopesRoleAliasesGetAsync(ApiCallback<RoleAliasListDTO> _callback) throws ApiException
Retrieve Role Alias Mappings (asynchronously) This operation can be used to retreive role alias mapping- 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
-
systemScopesRoleAliasesPutCall
public okhttp3.Call systemScopesRoleAliasesPutCall(RoleAliasListDTO roleAliasListDTO, ApiCallback _callback) throws ApiException
Build call for systemScopesRoleAliasesPut- Parameters:
roleAliasListDTO- role-alias mapping (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
systemScopesRoleAliasesPut
public RoleAliasListDTO systemScopesRoleAliasesPut(RoleAliasListDTO roleAliasListDTO) throws ApiException
Add a New Role Alias This operation can be used to add a new role alias mapping for system scope roles- Parameters:
roleAliasListDTO- role-alias mapping (required)- Returns:
- RoleAliasListDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
systemScopesRoleAliasesPutWithHttpInfo
public ApiResponse<RoleAliasListDTO> systemScopesRoleAliasesPutWithHttpInfo(RoleAliasListDTO roleAliasListDTO) throws ApiException
Add a New Role Alias This operation can be used to add a new role alias mapping for system scope roles- Parameters:
roleAliasListDTO- role-alias mapping (required)- Returns:
- ApiResponse<RoleAliasListDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
systemScopesRoleAliasesPutAsync
public okhttp3.Call systemScopesRoleAliasesPutAsync(RoleAliasListDTO roleAliasListDTO, ApiCallback<RoleAliasListDTO> _callback) throws ApiException
Add a New Role Alias (asynchronously) This operation can be used to add a new role alias mapping for system scope roles- Parameters:
roleAliasListDTO- role-alias mapping (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
-
systemScopesScopeNameGetCall
public okhttp3.Call systemScopesScopeNameGetCall(String scopeName, String username, ApiCallback _callback) throws ApiException
Build call for systemScopesScopeNameGet- Parameters:
scopeName- scope name to be validated (required)username- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
systemScopesScopeNameGet
public ScopeSettingsDTO systemScopesScopeNameGet(String scopeName, String username) throws ApiException
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- Parameters:
scopeName- scope name to be validated (required)username- (optional)- Returns:
- ScopeSettingsDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
systemScopesScopeNameGetWithHttpInfo
public ApiResponse<ScopeSettingsDTO> systemScopesScopeNameGetWithHttpInfo(String scopeName, String username) throws ApiException
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- Parameters:
scopeName- scope name to be validated (required)username- (optional)- Returns:
- ApiResponse<ScopeSettingsDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
systemScopesScopeNameGetAsync
public okhttp3.Call systemScopesScopeNameGetAsync(String scopeName, String username, ApiCallback<ScopeSettingsDTO> _callback) throws ApiException
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- Parameters:
scopeName- scope name to be validated (required)username- (optional)_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
-
updateRolesForScopeCall
public okhttp3.Call updateRolesForScopeCall(ScopeListDTO scopeListDTO, ApiCallback _callback) throws ApiException
Build call for updateRolesForScope- Parameters:
scopeListDTO- Scope list object with updated scope to role mappings (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
updateRolesForScope
public ScopeListDTO updateRolesForScope(ScopeListDTO scopeListDTO) throws ApiException
Update Roles For Scope This operation is used to update the roles for all scopes- Parameters:
scopeListDTO- Scope list object with updated scope to role mappings (required)- Returns:
- ScopeListDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateRolesForScopeWithHttpInfo
public ApiResponse<ScopeListDTO> updateRolesForScopeWithHttpInfo(ScopeListDTO scopeListDTO) throws ApiException
Update Roles For Scope This operation is used to update the roles for all scopes- Parameters:
scopeListDTO- Scope list object with updated scope to role mappings (required)- Returns:
- ApiResponse<ScopeListDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateRolesForScopeAsync
public okhttp3.Call updateRolesForScopeAsync(ScopeListDTO scopeListDTO, ApiCallback<ScopeListDTO> _callback) throws ApiException
Update Roles For Scope (asynchronously) This operation is used to update the roles for all scopes- Parameters:
scopeListDTO- Scope list object with updated scope to role mappings (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
-
-