public class TeamMemberInfo
extends java.lang.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(java.lang.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() |
java.lang.String |
toString() |
java.lang.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
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public TeamMemberProfile getProfile()
null
.public AdminTier getRole()
null
.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.