public class SharedFileMembers
extends java.lang.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 java.lang.String |
cursor |
protected java.util.List<GroupMembershipInfo> |
groups |
protected java.util.List<InviteeMembershipInfo> |
invitees |
protected java.util.List<UserFileMembershipInfo> |
users |
Constructor and Description |
---|
SharedFileMembers(java.util.List<UserFileMembershipInfo> users,
java.util.List<GroupMembershipInfo> groups,
java.util.List<InviteeMembershipInfo> invitees)
Shared file user, group, and invitee membership.
|
SharedFileMembers(java.util.List<UserFileMembershipInfo> users,
java.util.List<GroupMembershipInfo> groups,
java.util.List<InviteeMembershipInfo> invitees,
java.lang.String cursor)
Shared file user, group, and invitee membership.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCursor()
Present if there are additional shared file members that have not been
returned yet.
|
java.util.List<GroupMembershipInfo> |
getGroups()
The list of group members of the shared file.
|
java.util.List<InviteeMembershipInfo> |
getInvitees()
The list of invited members of a file, but have not logged in and claimed
this.
|
java.util.List<UserFileMembershipInfo> |
getUsers()
The list of user members of the shared file.
|
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<UserFileMembershipInfo> users
protected final java.util.List<GroupMembershipInfo> groups
protected final java.util.List<InviteeMembershipInfo> invitees
protected final java.lang.String cursor
public SharedFileMembers(java.util.List<UserFileMembershipInfo> users, java.util.List<GroupMembershipInfo> groups, java.util.List<InviteeMembershipInfo> invitees, java.lang.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.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public SharedFileMembers(java.util.List<UserFileMembershipInfo> users, java.util.List<GroupMembershipInfo> groups, java.util.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
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.util.List<UserFileMembershipInfo> getUsers()
null
.public java.util.List<GroupMembershipInfo> getGroups()
null
.public java.util.List<InviteeMembershipInfo> getInvitees()
null
.public java.lang.String getCursor()
DbxUserSharingRequests.listFileMembersContinue(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.