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