public class SharedFileMembers extends Object
DbxUserSharingRequests.listFileMembers(String)
and DbxUserSharingRequests.listFileMembersContinue(String)
, and used as part of
the results for DbxUserSharingRequests.listFileMembersBatch(List,long)
.Modifier and Type | Field and Description |
---|---|
protected String |
cursor |
protected List<GroupMembershipInfo> |
groups |
protected List<InviteeMembershipInfo> |
invitees |
protected List<UserMembershipInfo> |
users |
Constructor and Description |
---|
SharedFileMembers(List<UserMembershipInfo> users,
List<GroupMembershipInfo> groups,
List<InviteeMembershipInfo> invitees)
Shared file user, group, and invitee membership.
|
SharedFileMembers(List<UserMembershipInfo> users,
List<GroupMembershipInfo> groups,
List<InviteeMembershipInfo> invitees,
String cursor)
Shared file user, group, and invitee membership.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCursor()
Present if there are additional shared file members that have not been
returned yet.
|
List<GroupMembershipInfo> |
getGroups()
The list of group members of the shared file.
|
List<InviteeMembershipInfo> |
getInvitees()
The list of invited members of a file, but have not logged in and claimed
this.
|
List<UserMembershipInfo> |
getUsers()
The list of user members of the shared file.
|
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 SharedFileMembers(List<UserMembershipInfo> users, List<GroupMembershipInfo> groups, List<InviteeMembershipInfo> invitees, String cursor)
DbxUserSharingRequests.listFileMembers(String)
and DbxUserSharingRequests.listFileMembersContinue(String)
, and used as part
of the results for DbxUserSharingRequests.listFileMembersBatch(List,long)
.users
- The list of user members of the shared file. Must not
contain a null
item and not be null
.groups
- The list of group members of the shared file. Must not
contain a null
item and not be null
.invitees
- The list of invited members of a file, but have not
logged in and claimed this. Must not contain a null
item and
not be null
.cursor
- Present if there are additional shared file members that
have not been returned yet. Pass the cursor into DbxUserSharingRequests.listFileMembersContinue(String)
to list
additional members.IllegalArgumentException
- If any argument does not meet its
preconditions.public SharedFileMembers(List<UserMembershipInfo> users, List<GroupMembershipInfo> groups, List<InviteeMembershipInfo> invitees)
DbxUserSharingRequests.listFileMembers(String)
and DbxUserSharingRequests.listFileMembersContinue(String)
, and used as part
of the results for DbxUserSharingRequests.listFileMembersBatch(List,long)
.
The default values for unset fields will be used.
users
- The list of user members of the shared file. Must not
contain a null
item and not be null
.groups
- The list of group members of the shared file. Must not
contain a null
item and not be null
.invitees
- The list of invited members of a file, but have not
logged in and claimed this. 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.listFileMembersContinue(String)
to list
additional members.null
if not present.public String toStringMultiline()
The returned String may contain newlines.