Package org.openapitools.client.model
Class IamRole
java.lang.Object
org.openapitools.client.model.IamRole
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-04-19T09:13:44.263607-05:00[America/Chicago]")
public class IamRole
extends Object
IamRole
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPermissionsItem
(RolePermissionType permissionsItem) description
(String description) boolean
Timestamp when the role was createdDescription of the rolegetId()
Unique key for the rolegetLabel()
Unique label for the roleTimestamp when the role was last updatedgetLinks()
Get linksArray of permissions that the role will grant.int
hashCode()
links
(IamRoleLinks links) permissions
(List<RolePermissionType> permissions) void
setDescription
(String description) void
void
setLinks
(IamRoleLinks links) void
setPermissions
(List<RolePermissionType> permissions) toString()
-
Field Details
-
JSON_PROPERTY_CREATED
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_LABEL
- See Also:
-
JSON_PROPERTY_LAST_UPDATED
- See Also:
-
JSON_PROPERTY_PERMISSIONS
- See Also:
-
JSON_PROPERTY_LINKS
- See Also:
-
-
Constructor Details
-
IamRole
public IamRole()
-
-
Method Details
-
getCreated
Timestamp when the role was created- Returns:
- created
-
description
-
getDescription
Description of the role- Returns:
- description
-
setDescription
-
getId
Unique key for the role- Returns:
- id
-
label
-
getLabel
Unique label for the role- Returns:
- label
-
setLabel
-
getLastUpdated
Timestamp when the role was last updated- Returns:
- lastUpdated
-
permissions
-
addPermissionsItem
-
getPermissions
Array of permissions that the role will grant. See [Permission Types](https://developer.okta.com/docs/concepts/role-assignment/#permission-types).- Returns:
- permissions
-
setPermissions
-
links
-
getLinks
Get links- Returns:
- links
-
setLinks
-
equals
-
hashCode
public int hashCode() -
toString
-