@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-10-28T09:54:00.189-05:00[America/Chicago]")
@Component(value="org.openapitools.client.api.RoleAssignmentApi")
public class RoleAssignmentApi
extends java.lang.Object
Constructor and Description |
---|
RoleAssignmentApi() |
RoleAssignmentApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
<T> T |
assignRoleToGroup(java.lang.Class<?> T,
java.lang.String groupId,
AssignRoleRequest assignRoleRequest,
java.lang.Boolean disableNotifications)
Assign a Role to a Group
Assigns a role to a group
|
Role |
assignRoleToGroup(java.lang.String groupId,
AssignRoleRequest assignRoleRequest,
java.lang.Boolean disableNotifications)
Assign a Role to a Group
Assigns a role to a group
|
PagedList |
assignRoleToGroupWithPaginationInfo(java.lang.String groupId,
AssignRoleRequest assignRoleRequest,
java.lang.Boolean disableNotifications)
Assign a Role to a Group
Assigns a role to a group
|
<T> T |
assignRoleToUser(java.lang.Class<?> T,
java.lang.String userId,
AssignRoleRequest assignRoleRequest,
java.lang.Boolean disableNotifications)
Assign a Role to a User
Assigns a role to a user identified by `userId`
|
Role |
assignRoleToUser(java.lang.String userId,
AssignRoleRequest assignRoleRequest,
java.lang.Boolean disableNotifications)
Assign a Role to a User
Assigns a role to a user identified by `userId`
|
PagedList |
assignRoleToUserWithPaginationInfo(java.lang.String userId,
AssignRoleRequest assignRoleRequest,
java.lang.Boolean disableNotifications)
Assign a Role to a User
Assigns a role to a user identified by `userId`
|
ApiClient |
getApiClient() |
Role |
getGroupAssignedRole(java.lang.String groupId,
java.lang.String roleId)
Retrieve a Role assigned to Group
Retrieves a role identified by `roleId` assigned to group identified by `groupId`
|
PagedList |
getGroupAssignedRoleWithPaginationInfo(java.lang.String groupId,
java.lang.String roleId)
Retrieve a Role assigned to Group
Retrieves a role identified by `roleId` assigned to group identified by `groupId`
|
Role |
getUserAssignedRole(java.lang.String userId,
java.lang.String roleId)
Retrieve a Role assigned to a User
Retrieves a role identified by `roleId` assigned to a user identified by `userId`
|
PagedList |
getUserAssignedRoleWithPaginationInfo(java.lang.String userId,
java.lang.String roleId)
Retrieve a Role assigned to a User
Retrieves a role identified by `roleId` assigned to a user identified by `userId`
|
java.util.List<Role> |
listAssignedRolesForUser(java.lang.String userId,
java.lang.String expand)
List all Roles assigned to a User
Lists all roles assigned to a user identified by `userId`
|
PagedList |
listAssignedRolesForUserWithPaginationInfo(java.lang.String userId,
java.lang.String expand)
List all Roles assigned to a User
Lists all roles assigned to a user identified by `userId`
|
java.util.List<Role> |
listGroupAssignedRoles(java.lang.String groupId,
java.lang.String expand)
List all Assigned Roles of Group
Lists all assigned roles of group identified by `groupId`
|
PagedList |
listGroupAssignedRolesWithPaginationInfo(java.lang.String groupId,
java.lang.String expand)
List all Assigned Roles of Group
Lists all assigned roles of group identified by `groupId`
|
void |
setApiClient(ApiClient apiClient) |
void |
unassignRoleFromGroup(java.lang.String groupId,
java.lang.String roleId)
Unassign a Role from a Group
Unassigns a role identified by `roleId` assigned to group identified by `groupId`
|
void |
unassignRoleFromUser(java.lang.String userId,
java.lang.String roleId)
Unassign a Role from a User
Unassigns a role identified by `roleId` from a user identified by `userId`
|
public RoleAssignmentApi()
@Autowired public RoleAssignmentApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public Role assignRoleToGroup(java.lang.String groupId, AssignRoleRequest assignRoleRequest, java.lang.Boolean disableNotifications) throws org.springframework.web.client.RestClientException
200 - Success
201 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
groupId
- (required)assignRoleRequest
- (required)disableNotifications
- Setting this to `true` grants the group third-party admin status (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic <T> T assignRoleToGroup(java.lang.Class<?> T, java.lang.String groupId, AssignRoleRequest assignRoleRequest, java.lang.Boolean disableNotifications) throws org.springframework.web.client.RestClientException
200 - Success
201 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
T
- (required) - the assignable return typegroupId
- (required)assignRoleRequest
- (required)disableNotifications
- Setting this to `true` grants the group third-party admin status (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList assignRoleToGroupWithPaginationInfo(java.lang.String groupId, AssignRoleRequest assignRoleRequest, java.lang.Boolean disableNotifications) throws org.springframework.web.client.RestClientException
200 - Success
201 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
groupId
- (required)assignRoleRequest
- (required)disableNotifications
- Setting this to `true` grants the group third-party admin status (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic Role assignRoleToUser(java.lang.String userId, AssignRoleRequest assignRoleRequest, java.lang.Boolean disableNotifications) throws org.springframework.web.client.RestClientException
201 - Created
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)assignRoleRequest
- (required)disableNotifications
- Setting this to `true` grants the user third-party admin status (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic <T> T assignRoleToUser(java.lang.Class<?> T, java.lang.String userId, AssignRoleRequest assignRoleRequest, java.lang.Boolean disableNotifications) throws org.springframework.web.client.RestClientException
201 - Created
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
T
- (required) - the assignable return typeuserId
- (required)assignRoleRequest
- (required)disableNotifications
- Setting this to `true` grants the user third-party admin status (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList assignRoleToUserWithPaginationInfo(java.lang.String userId, AssignRoleRequest assignRoleRequest, java.lang.Boolean disableNotifications) throws org.springframework.web.client.RestClientException
201 - Created
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)assignRoleRequest
- (required)disableNotifications
- Setting this to `true` grants the user third-party admin status (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic Role getGroupAssignedRole(java.lang.String groupId, java.lang.String roleId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
groupId
- (required)roleId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList getGroupAssignedRoleWithPaginationInfo(java.lang.String groupId, java.lang.String roleId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
groupId
- (required)roleId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic Role getUserAssignedRole(java.lang.String userId, java.lang.String roleId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)roleId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList getUserAssignedRoleWithPaginationInfo(java.lang.String userId, java.lang.String roleId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)roleId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic java.util.List<Role> listAssignedRolesForUser(java.lang.String userId, java.lang.String expand) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)expand
- (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList listAssignedRolesForUserWithPaginationInfo(java.lang.String userId, java.lang.String expand) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)expand
- (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic java.util.List<Role> listGroupAssignedRoles(java.lang.String groupId, java.lang.String expand) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
groupId
- (required)expand
- (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList listGroupAssignedRolesWithPaginationInfo(java.lang.String groupId, java.lang.String expand) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
groupId
- (required)expand
- (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic void unassignRoleFromGroup(java.lang.String groupId, java.lang.String roleId) throws org.springframework.web.client.RestClientException
204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
groupId
- (required)roleId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic void unassignRoleFromUser(java.lang.String userId, java.lang.String roleId) throws org.springframework.web.client.RestClientException
204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)roleId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APICopyright © 2017-2022 Okta. All Rights Reserved.