public class ListUsersOnPaperDocResponse
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected Cursor |
cursor |
protected UserInfo |
docOwner |
protected boolean |
hasMore |
protected java.util.List<InviteeInfoWithPermissionLevel> |
invitees |
protected java.util.List<UserInfoWithPermissionLevel> |
users |
| Constructor and Description |
|---|
ListUsersOnPaperDocResponse(java.util.List<InviteeInfoWithPermissionLevel> invitees,
java.util.List<UserInfoWithPermissionLevel> users,
UserInfo docOwner,
Cursor cursor,
boolean hasMore) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Cursor |
getCursor()
Pass the cursor into
DbxUserPaperRequests.docsUsersListContinue(String,String) to paginate
through all users. |
UserInfo |
getDocOwner()
The Paper doc owner.
|
boolean |
getHasMore()
Will be set to True if a subsequent call with the provided cursor to
DbxUserPaperRequests.docsUsersListContinue(String,String) returns
immediately with some results. |
java.util.List<InviteeInfoWithPermissionLevel> |
getInvitees()
List of email addresses with their respective permission levels that are
invited on the Paper doc.
|
java.util.List<UserInfoWithPermissionLevel> |
getUsers()
List of users with their respective permission levels that are invited on
the Paper 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<InviteeInfoWithPermissionLevel> invitees
protected final java.util.List<UserInfoWithPermissionLevel> users
protected final UserInfo docOwner
protected final Cursor cursor
protected final boolean hasMore
public ListUsersOnPaperDocResponse(java.util.List<InviteeInfoWithPermissionLevel> invitees, java.util.List<UserInfoWithPermissionLevel> users, UserInfo docOwner, Cursor cursor, boolean hasMore)
invitees - List of email addresses with their respective permission
levels that are invited on the Paper doc. Must not contain a null item and not be null.users - List of users with their respective permission levels that
are invited on the Paper folder. Must not contain a null item
and not be null.docOwner - The Paper doc owner. This field is populated on every
single response. Must not be null.cursor - Pass the cursor into DbxUserPaperRequests.docsUsersListContinue(String,String) to
paginate through all users. The cursor preserves all properties as
specified in the original call to DbxUserPaperRequests.docsUsersList(String). Must not be null.hasMore - Will be set to True if a subsequent call with the
provided cursor to DbxUserPaperRequests.docsUsersListContinue(String,String) returns
immediately with some results. If set to False please allow some
delay before making another call to DbxUserPaperRequests.docsUsersListContinue(String,String).java.lang.IllegalArgumentException - If any argument does not meet its
preconditions.public java.util.List<InviteeInfoWithPermissionLevel> getInvitees()
null.public java.util.List<UserInfoWithPermissionLevel> getUsers()
null.public UserInfo getDocOwner()
null.public Cursor getCursor()
DbxUserPaperRequests.docsUsersListContinue(String,String) to paginate
through all users. The cursor preserves all properties as specified in
the original call to DbxUserPaperRequests.docsUsersList(String).null.public boolean getHasMore()
DbxUserPaperRequests.docsUsersListContinue(String,String) returns
immediately with some results. If set to False please allow some delay
before making another call to DbxUserPaperRequests.docsUsersListContinue(String,String).public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toStringMultiline()
The returned String may contain newlines.