@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00") public interface Role extends ExtensibleResource
Modifier and Type | Method and Description |
---|---|
void |
addAdminGroupTarget(String targetGroupId) |
void |
addAllAppsAsTargetToRole()
Success
|
void |
addAppInstanceTargetToAdminRole(String appName,
String applicationId)
Add App Instance Target to App Administrator Role given to a Group
Add App Instance Target to App Administrator Role given to a Group
|
void |
addAppTargetToAdminRole(String appName)
Success
|
void |
addAppTargetToAdminRoleForUser(String appName)
Success
|
void |
addAppTargetToAppAdminRoleForUser(String appName,
String applicationId)
Add App Instance Target to App Administrator Role given to a User
Add App Instance Target to App Administrator Role given to a User
|
RoleAssignmentType |
getAssignmentType() |
Date |
getCreated() |
String |
getDescription() |
Map<String,Object> |
getEmbedded() |
String |
getId() |
String |
getLabel() |
Date |
getLastUpdated() |
Map<String,Object> |
getLinks() |
RoleStatus |
getStatus() |
RoleType |
getType() |
Role |
setAssignmentType(RoleAssignmentType assignmentType) |
Role |
setDescription(String description) |
Role |
setType(RoleType type) |
getResourceHref, setResourceHref
getBoolean, getInteger, getIntegerList, getNumber, getNumberList, getString, getStringList
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
RoleAssignmentType getAssignmentType()
Role setAssignmentType(RoleAssignmentType assignmentType)
Date getCreated()
String getDescription()
String getId()
String getLabel()
Date getLastUpdated()
RoleStatus getStatus()
RoleType getType()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="PUT - /api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}") void addAdminGroupTarget(String targetGroupId)
targetGroupId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="PUT - /api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}") void addAppTargetToAdminRoleForUser(String appName)
appName
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="PUT - /api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}") void addAppInstanceTargetToAdminRole(String appName, String applicationId)
appName
- (required)applicationId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="PUT - /api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}") void addAppTargetToAppAdminRoleForUser(String appName, String applicationId)
appName
- (required)applicationId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="PUT - /api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps") void addAllAppsAsTargetToRole()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="PUT - /api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}") void addAppTargetToAdminRole(String appName)
appName
- (required)Copyright © 2017–2023 Okta. All rights reserved.