public class TeamMemberInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
displayName |
protected String |
memberId |
protected Team |
teamInfo |
| Constructor and Description |
|---|
TeamMemberInfo(Team teamInfo,
String displayName)
Information about a team member.
|
TeamMemberInfo(Team teamInfo,
String displayName,
String memberId)
Information about a team member.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDisplayName()
The display name of the user.
|
String |
getMemberId()
ID of user as a member of a team.
|
Team |
getTeamInfo()
Information about the member's team
|
int |
hashCode() |
String |
toString() |
String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final Team teamInfo
protected final String displayName
protected final String memberId
public TeamMemberInfo(Team teamInfo, String displayName, String memberId)
teamInfo - Information about the member's team. Must not be null.displayName - The display name of the user. Must not be null.memberId - ID of user as a member of a team. This field will only
be present if the member is in the same team as current user.IllegalArgumentException - If any argument does not meet its
preconditions.public TeamMemberInfo(Team teamInfo, String displayName)
The default values for unset fields will be used.
teamInfo - Information about the member's team. Must not be null.displayName - The display name of the user. Must not be null.IllegalArgumentException - If any argument does not meet its
preconditions.public Team getTeamInfo()
null.public String getDisplayName()
null.public String getMemberId()
null if not present.public String toStringMultiline()
The returned String may contain newlines.