Package com.dropbox.core.v2.team
Class TeamMemberRole
java.lang.Object
com.dropbox.core.v2.team.TeamMemberRole
A role which can be attached to a team member. This replaces AdminTier; each
AdminTier corresponds to a new TeamMemberRole with a matching name.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTeamMemberRole(String roleId, String name, String description) A role which can be attached to a team member. -
Method Summary
-
Field Details
-
roleId
-
name
-
description
-
-
Constructor Details
-
TeamMemberRole
A role which can be attached to a team member. This replaces AdminTier; each AdminTier corresponds to a new TeamMemberRole with a matching name.- Parameters:
roleId- A string containing encoded role ID. For roles defined by Dropbox, this is the same across all teams. Must have length of at most 128, match pattern "pid_dbtmr:.*", and not benull.name- The role display name. Must have length of at most 32 and not benull.description- Role description. Describes which permissions come with this role. Must have length of at most 256 and not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getRoleId
A string containing encoded role ID. For roles defined by Dropbox, this is the same across all teams.- Returns:
- value for this field, never
null.
-
getName
The role display name.- Returns:
- value for this field, never
null.
-
getDescription
Role description. Describes which permissions come with this role.- Returns:
- value for this field, never
null.
-
hashCode
public int hashCode() -
equals
-
toString
-
toStringMultiline
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Returns:
- Formatted, multiline String representation of this object
-