@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-08-21T16:09:06.047-05:00[America/Chicago]") public class RoleAssignmentApi extends Object
| Constructor and Description | 
|---|
RoleAssignmentApi()  | 
RoleAssignmentApi(ApiClient apiClient)  | 
| Modifier and Type | Method and Description | 
|---|---|
Role | 
assignRoleToGroup(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,
                 Map<String,String> additionalHeaders)
Assign a Role to a Group
 Assigns a role to a group 
 | 
Role | 
assignRoleToUser(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,
                Map<String,String> additionalHeaders)
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` 
 | 
Role | 
getGroupAssignedRole(String groupId,
                    String roleId,
                    Map<String,String> additionalHeaders)
Retrieve a Role assigned to Group
 Retrieves a role identified by `roleId` assigned to group identified by `groupId` 
 | 
protected static com.fasterxml.jackson.databind.ObjectMapper | 
getObjectMapper()  | 
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` 
 | 
Role | 
getUserAssignedRole(String userId,
                   String roleId,
                   Map<String,String> additionalHeaders)
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` 
 | 
List<Role> | 
listAssignedRolesForUser(String userId,
                        String expand,
                        Map<String,String> additionalHeaders)
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` 
 | 
List<Role> | 
listGroupAssignedRoles(String groupId,
                      String expand,
                      Map<String,String> additionalHeaders)
List all Assigned Roles of Group
 Lists all assigned roles of group identified by `groupId` 
 | 
RoleAssignedUsers | 
listUsersWithRoleAssignments(String after,
                            Integer limit)
List all Users with Role Assignments
 Lists all users with Role Assignments 
 | 
RoleAssignedUsers | 
listUsersWithRoleAssignments(String after,
                            Integer limit,
                            Map<String,String> additionalHeaders)
List all Users with Role Assignments
 Lists all users with Role Assignments 
 | 
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 | 
unassignRoleFromGroup(String groupId,
                     String roleId,
                     Map<String,String> additionalHeaders)
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` 
 | 
void | 
unassignRoleFromUser(String userId,
                    String roleId,
                    Map<String,String> additionalHeaders)
Unassign a Role from a User
 Unassigns a role identified by `roleId` from a user identified by `userId` 
 | 
public RoleAssignmentApi()
public RoleAssignmentApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public Role assignRoleToGroup(String groupId, AssignRoleRequest assignRoleRequest, Boolean disableNotifications) throws ApiException
groupId - The `id` of the group (required)assignRoleRequest - (required)disableNotifications - Setting this to `true` grants the group third-party admin status (optional)ApiException - if fails to make API callpublic Role assignRoleToGroup(String groupId, AssignRoleRequest assignRoleRequest, Boolean disableNotifications, Map<String,String> additionalHeaders) throws ApiException
groupId - The `id` of the group (required)assignRoleRequest - (required)disableNotifications - Setting this to `true` grants the group third-party admin status (optional)additionalHeaders - additionalHeaders for this callApiException - if fails to make API callpublic Role assignRoleToUser(String userId, AssignRoleRequest assignRoleRequest, Boolean disableNotifications) throws ApiException
userId - (required)assignRoleRequest - (required)disableNotifications - Setting this to `true` grants the user third-party admin status (optional)ApiException - if fails to make API callpublic Role assignRoleToUser(String userId, AssignRoleRequest assignRoleRequest, Boolean disableNotifications, Map<String,String> additionalHeaders) throws ApiException
userId - (required)assignRoleRequest - (required)disableNotifications - Setting this to `true` grants the user third-party admin status (optional)additionalHeaders - additionalHeaders for this callApiException - if fails to make API callpublic Role getGroupAssignedRole(String groupId, String roleId) throws ApiException
groupId - The `id` of the group (required)roleId - `id` of the Role (required)ApiException - if fails to make API callpublic Role getGroupAssignedRole(String groupId, String roleId, Map<String,String> additionalHeaders) throws ApiException
groupId - The `id` of the group (required)roleId - `id` of the Role (required)additionalHeaders - additionalHeaders for this callApiException - if fails to make API callpublic Role getUserAssignedRole(String userId, String roleId) throws ApiException
userId - (required)roleId - `id` of the Role (required)ApiException - if fails to make API callpublic Role getUserAssignedRole(String userId, String roleId, Map<String,String> additionalHeaders) throws ApiException
userId - (required)roleId - `id` of the Role (required)additionalHeaders - additionalHeaders for this callApiException - if fails to make API callpublic List<Role> listAssignedRolesForUser(String userId, String expand) throws ApiException
userId - (required)expand - (optional)ApiException - if fails to make API callpublic List<Role> listAssignedRolesForUser(String userId, String expand, Map<String,String> additionalHeaders) throws ApiException
userId - (required)expand - (optional)additionalHeaders - additionalHeaders for this callApiException - if fails to make API callpublic List<Role> listGroupAssignedRoles(String groupId, String expand) throws ApiException
groupId - The `id` of the group (required)expand - (optional)ApiException - if fails to make API callpublic List<Role> listGroupAssignedRoles(String groupId, String expand, Map<String,String> additionalHeaders) throws ApiException
groupId - The `id` of the group (required)expand - (optional)additionalHeaders - additionalHeaders for this callApiException - if fails to make API callpublic RoleAssignedUsers listUsersWithRoleAssignments(String after, Integer limit) throws ApiException
after - (optional)limit - Specifies the number of results returned. Defaults to `100`. (optional, default to 100)ApiException - if fails to make API callpublic RoleAssignedUsers listUsersWithRoleAssignments(String after, Integer limit, Map<String,String> additionalHeaders) throws ApiException
after - (optional)limit - Specifies the number of results returned. Defaults to `100`. (optional, default to 100)additionalHeaders - additionalHeaders for this callApiException - if fails to make API callpublic void unassignRoleFromGroup(String groupId, String roleId) throws ApiException
groupId - The `id` of the group (required)roleId - `id` of the Role (required)ApiException - if fails to make API callpublic void unassignRoleFromGroup(String groupId, String roleId, Map<String,String> additionalHeaders) throws ApiException
groupId - The `id` of the group (required)roleId - `id` of the Role (required)additionalHeaders - additionalHeaders for this callApiException - if fails to make API callpublic void unassignRoleFromUser(String userId, String roleId) throws ApiException
userId - (required)roleId - `id` of the Role (required)ApiException - if fails to make API callpublic void unassignRoleFromUser(String userId, String roleId, Map<String,String> additionalHeaders) throws ApiException
userId - (required)roleId - `id` of the Role (required)additionalHeaders - additionalHeaders for this callApiException - if fails to make API callprotected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
Copyright © 2017–2023 Okta. All rights reserved.