Package com.okta.sdk.resource.model
Class CreateIamRoleRequest
java.lang.Object
com.okta.sdk.resource.model.CreateIamRoleRequest
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T16:19:57.008753975Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class CreateIamRoleRequest
extends Object
implements Serializable
CreateIamRoleRequest
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddpermissionsItem
(RolePermissionType permissionsItem) description
(String description) boolean
Description of the rolegetLabel()
Unique label for the roleArray of permissions that the Role grants.int
hashCode()
permissions
(List<RolePermissionType> permissions) void
setDescription
(String description) void
void
setPermissions
(List<RolePermissionType> permissions) toString()
-
Field Details
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_LABEL
- See Also:
-
JSON_PROPERTY_PERMISSIONS
- See Also:
-
-
Constructor Details
-
CreateIamRoleRequest
public CreateIamRoleRequest()
-
-
Method Details
-
description
-
getDescription
Description of the role- Returns:
- description
-
setDescription
-
label
-
getLabel
Unique label for the role- Returns:
- label
-
setLabel
-
permissions
-
addpermissionsItem
-
getPermissions
Array of permissions that the Role grants. See [Permissions](/openapi/okta-management/guides/roles/#permissions).- Returns:
- permissions
-
setPermissions
-
equals
-
hashCode
public int hashCode() -
toString
-