Class Role

java.lang.Object
com.auth0.json.mgmt.Role

public class Role extends Object
Class that represents an Auth0 Role object. Related to the RolesEntity entity.
  • Constructor Details

    • Role

      public Role()
  • Method Details

    • getId

      public String getId()
      Getter for the role's unique identifier.
      Returns:
      the role id.
    • getName

      public String getName()
      Getter for the role's name.
      Returns:
      the name of the role.
    • setName

      public void setName(String name)
      Setter for the role's name.
      Parameters:
      name - the name of the role to set.
    • getDescription

      public String getDescription()
      The getter for the role's description.
      Returns:
      the description of the role.
    • setDescription

      public void setDescription(String description)
      Setter for the role's description.
      Parameters:
      description - the description of the role to set.