public class GroupMemberInfo
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected GroupAccessType |
accessType |
protected MemberProfile |
profile |
| Constructor and Description |
|---|
GroupMemberInfo(MemberProfile profile,
GroupAccessType accessType)
Profile of group member, and role in group.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
GroupAccessType |
getAccessType()
The role that the user has in the group.
|
MemberProfile |
getProfile()
Profile of group member.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final MemberProfile profile
protected final GroupAccessType accessType
public GroupMemberInfo(MemberProfile profile, GroupAccessType accessType)
profile - Profile of group member. Must not be null.accessType - The role that the user has in the group. Must not be
null.java.lang.IllegalArgumentException - If any argument does not meet its
preconditions.public MemberProfile getProfile()
null.public GroupAccessType getAccessType()
null.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toStringMultiline()
The returned String may contain newlines.