Package com.auth0.json.mgmt
Class Permission
java.lang.Object
com.auth0.json.mgmt.Permission
Class that represents an Auth0 Permission object. Related to the
RolesEntity
entity.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe getter for the role's description.getName()
Getter for the role's name.Getter for the permissions's resource server identifier.Getter for the permissions's resource server name.Getter for the permission's sources.void
setDescription(String description)
Setter for the role's description.void
Setter for the role's name.void
setResourceServerId(String resourceServerId)
Setter for the permissions's resource server identifier.void
setResourceServerName(String resourceServerName)
Setter for the permissions's resource server name.
-
Constructor Details
-
Permission
public Permission()
-
-
Method Details
-
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.
-
getResourceServerId
Getter for the permissions's resource server identifier.- Returns:
- the resource server identifier of the permission.
-
setResourceServerId
Setter for the permissions's resource server identifier.- Parameters:
resourceServerId
- the resource server identifier of the permission to set.
-
getResourceServerName
Getter for the permissions's resource server name.- Returns:
- the resource server name of the permission.
-
setResourceServerName
Setter for the permissions's resource server name.- Parameters:
resourceServerName
- the resource server name of the permission to set.
-
getSources
Getter for the permission's sources.- Returns:
- the permission sources.
-