Class Permission

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

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

    • Permission

      public Permission()
  • Method Details

    • 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.
    • getResourceServerId

      public String getResourceServerId()
      Getter for the permissions's resource server identifier.
      Returns:
      the resource server identifier of the permission.
    • setResourceServerId

      public void setResourceServerId(String resourceServerId)
      Setter for the permissions's resource server identifier.
      Parameters:
      resourceServerId - the resource server identifier of the permission to set.
    • getResourceServerName

      public String getResourceServerName()
      Getter for the permissions's resource server name.
      Returns:
      the resource server name of the permission.
    • setResourceServerName

      public void setResourceServerName(String resourceServerName)
      Setter for the permissions's resource server name.
      Parameters:
      resourceServerName - the resource server name of the permission to set.
    • getSources

      public List<PermissionSource> getSources()
      Getter for the permission's sources.
      Returns:
      the permission sources.