Package com.auth0.json.mgmt.roles
Class Role
java.lang.Object
com.auth0.json.mgmt.roles.Role
Class that represents an Auth0 Role object. Related to the
RolesEntity entity.-
Constructor Summary
Constructors -
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.voidsetDescription(String description) Setter for the role's description.voidSetter 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.
-