Class GroupMemberInfo

java.lang.Object
com.dropbox.core.v2.team.GroupMemberInfo

public class GroupMemberInfo extends Object
Profile of group member, and role in group.
  • Field Details

  • Constructor Details

    • GroupMemberInfo

      public GroupMemberInfo(@Nonnull MemberProfile profile, @Nonnull GroupAccessType accessType)
      Profile of group member, and role in group.
      Parameters:
      profile - Profile of group member. Must not be null.
      accessType - The role that the user has in the group. Must not be null.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
  • Method Details

    • getProfile

      @Nonnull public MemberProfile getProfile()
      Profile of group member.
      Returns:
      value for this field, never null.
    • getAccessType

      @Nonnull public GroupAccessType getAccessType()
      The role that the user has in the group.
      Returns:
      value for this field, never null.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toStringMultiline

      public String 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