public class SharedFolderMembers
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
cursor |
protected java.util.List<GroupMembershipInfo> |
groups |
protected java.util.List<InviteeMembershipInfo> |
invitees |
protected java.util.List<UserMembershipInfo> |
users |
Constructor and Description |
---|
SharedFolderMembers(java.util.List<UserMembershipInfo> users,
java.util.List<GroupMembershipInfo> groups,
java.util.List<InviteeMembershipInfo> invitees)
Shared folder user and group membership.
|
SharedFolderMembers(java.util.List<UserMembershipInfo> users,
java.util.List<GroupMembershipInfo> groups,
java.util.List<InviteeMembershipInfo> invitees,
java.lang.String cursor)
Shared folder user and group membership.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCursor()
Present if there are additional shared folder members that have not been
returned yet.
|
java.util.List<GroupMembershipInfo> |
getGroups()
The list of group members of the shared folder.
|
java.util.List<InviteeMembershipInfo> |
getInvitees()
The list of invitees to the shared folder.
|
java.util.List<UserMembershipInfo> |
getUsers()
The list of user members of the shared folder.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final java.util.List<UserMembershipInfo> users
protected final java.util.List<GroupMembershipInfo> groups
protected final java.util.List<InviteeMembershipInfo> invitees
protected final java.lang.String cursor
public SharedFolderMembers(java.util.List<UserMembershipInfo> users, java.util.List<GroupMembershipInfo> groups, java.util.List<InviteeMembershipInfo> invitees, java.lang.String cursor)
users
- The list of user members of the shared folder. Must not
contain a null
item and not be null
.groups
- The list of group members of the shared folder. Must not
contain a null
item and not be null
.invitees
- The list of invitees to the shared folder. Must not
contain a null
item and not be null
.cursor
- Present if there are additional shared folder members that
have not been returned yet. Pass the cursor into DbxUserSharingRequests.listFolderMembersContinue(String)
to list
additional members.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public SharedFolderMembers(java.util.List<UserMembershipInfo> users, java.util.List<GroupMembershipInfo> groups, java.util.List<InviteeMembershipInfo> invitees)
The default values for unset fields will be used.
users
- The list of user members of the shared folder. Must not
contain a null
item and not be null
.groups
- The list of group members of the shared folder. Must not
contain a null
item and not be null
.invitees
- The list of invitees to the shared folder. Must not
contain a null
item and not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.util.List<UserMembershipInfo> getUsers()
null
.public java.util.List<GroupMembershipInfo> getGroups()
null
.public java.util.List<InviteeMembershipInfo> getInvitees()
null
.public java.lang.String getCursor()
DbxUserSharingRequests.listFolderMembersContinue(String)
to list
additional members.null
if not present.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.