Package com.auth0.json.mgmt
Class Role
java.lang.Object
com.auth0.json.mgmt.Role
Class that represents an Auth0 Role object. Related to the
RolesEntity
entity.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe getter for the role's description.getId()
Getter for the role's unique identifier.getName()
Getter for the role's name.void
setDescription(String description)
Setter for the role's description.void
Setter for the role's name.
-
Constructor Details
-
Role
public Role()
-
-
Method Details
-
getId
Getter for the role's unique identifier.- Returns:
- the role id.
-
getName
Getter for the role's name.- Returns:
- the name of the role.
-
setName
Setter for the role's name.- Parameters:
name
- the name of the role to set.
-
getDescription
The getter for the role's description.- Returns:
- the description of the role.
-
setDescription
Setter for the role's description.- Parameters:
description
- the description of the role to set.
-