@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-01-18T04:14:02.238-06:00[America/Chicago]") @Component(value="org.openapitools.client.api.RoleAssignmentApi") public class RoleAssignmentApi extends Object
Constructor and Description |
---|
RoleAssignmentApi() |
RoleAssignmentApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
<T> T |
assignRoleToGroup(Class<?> T,
String groupId,
AssignRoleRequest assignRoleRequest,
Boolean disableNotifications)
Assign a Role to a Group
Assigns a role to a group
|
Role |
assignRoleToGroup(String groupId,
AssignRoleRequest assignRoleRequest,
Boolean disableNotifications)
Assign a Role to a Group
Assigns a role to a group
|
PagedList |
assignRoleToGroupWithPaginationInfo(String groupId,
AssignRoleRequest assignRoleRequest,
Boolean disableNotifications)
Assign a Role to a Group
Assigns a role to a group
|
<T> T |
assignRoleToUser(Class<?> T,
String userId,
AssignRoleRequest assignRoleRequest,
Boolean disableNotifications)
Assign a Role to a User
Assigns a role to a user identified by `userId`
|
Role |
assignRoleToUser(String userId,
AssignRoleRequest assignRoleRequest,
Boolean disableNotifications)
Assign a Role to a User
Assigns a role to a user identified by `userId`
|
PagedList |
assignRoleToUserWithPaginationInfo(String userId,
AssignRoleRequest assignRoleRequest,
Boolean disableNotifications)
Assign a Role to a User
Assigns a role to a user identified by `userId`
|
ApiClient |
getApiClient() |
Role |
getGroupAssignedRole(String groupId,
String roleId)
Retrieve a Role assigned to Group
Retrieves a role identified by `roleId` assigned to group identified by `groupId`
|
PagedList |
getGroupAssignedRoleWithPaginationInfo(String groupId,
String roleId)
Retrieve a Role assigned to Group
Retrieves a role identified by `roleId` assigned to group identified by `groupId`
|
Role |
getUserAssignedRole(String userId,
String roleId)
Retrieve a Role assigned to a User
Retrieves a role identified by `roleId` assigned to a user identified by `userId`
|
PagedList |
getUserAssignedRoleWithPaginationInfo(String userId,
String roleId)
Retrieve a Role assigned to a User
Retrieves a role identified by `roleId` assigned to a user identified by `userId`
|
List<Role> |
listAssignedRolesForUser(String userId,
String expand)
List all Roles assigned to a User
Lists all roles assigned to a user identified by `userId`
|
PagedList |
listAssignedRolesForUserWithPaginationInfo(String userId,
String expand)
List all Roles assigned to a User
Lists all roles assigned to a user identified by `userId`
|
List<Role> |
listGroupAssignedRoles(String groupId,
String expand)
List all Assigned Roles of Group
Lists all assigned roles of group identified by `groupId`
|
PagedList |
listGroupAssignedRolesWithPaginationInfo(String groupId,
String expand)
List all Assigned Roles of Group
Lists all assigned roles of group identified by `groupId`
|
void |
setApiClient(ApiClient apiClient) |
void |
unassignRoleFromGroup(String groupId,
String roleId)
Unassign a Role from a Group
Unassigns a role identified by `roleId` assigned to group identified by `groupId`
|
void |
unassignRoleFromUser(String userId,
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(String groupId, AssignRoleRequest assignRoleRequest, 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(Class<?> T, String groupId, AssignRoleRequest assignRoleRequest, 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(String groupId, AssignRoleRequest assignRoleRequest, 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(String userId, AssignRoleRequest assignRoleRequest, 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(Class<?> T, String userId, AssignRoleRequest assignRoleRequest, 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(String userId, AssignRoleRequest assignRoleRequest, 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(String groupId, 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(String groupId, 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(String userId, 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(String userId, 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 List<Role> listAssignedRolesForUser(String userId, 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(String userId, 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 List<Role> listGroupAssignedRoles(String groupId, 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(String groupId, 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(String groupId, 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(String userId, 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–2023 Okta. All rights reserved.