public class TeamMemberInfo extends Object
Modifier and Type | Field and Description |
---|---|
protected TeamMemberProfile |
profile |
protected AdminTier |
role |
Constructor and Description |
---|
TeamMemberInfo(TeamMemberProfile profile,
AdminTier role)
Information about a team member.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
TeamMemberProfile |
getProfile()
Profile of a user as a member of a team.
|
AdminTier |
getRole()
The user's role in the team.
|
int |
hashCode() |
String |
toString() |
String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final TeamMemberProfile profile
protected final AdminTier role
public TeamMemberInfo(TeamMemberProfile profile, AdminTier role)
profile
- Profile of a user as a member of a team. Must not be
null
.role
- The user's role in the team. Must not be null
.IllegalArgumentException
- If any argument does not meet its
preconditions.public TeamMemberProfile getProfile()
null
.public AdminTier getRole()
null
.public String toStringMultiline()
The returned String may contain newlines.