public class ListPaperDocsResponse
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Cursor |
cursor |
protected java.util.List<java.lang.String> |
docIds |
protected boolean |
hasMore |
Constructor and Description |
---|
ListPaperDocsResponse(java.util.List<java.lang.String> docIds,
Cursor cursor,
boolean hasMore) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Cursor |
getCursor()
Pass the cursor into
DbxUserPaperRequests.docsListContinue(String) to paginate through all
files. |
java.util.List<java.lang.String> |
getDocIds()
The list of Paper doc IDs that can be used to access the given Paper docs
or supplied to other API methods.
|
boolean |
getHasMore()
Will be set to True if a subsequent call with the provided cursor to
DbxUserPaperRequests.docsListContinue(String) returns immediately
with some results. |
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<java.lang.String> docIds
protected final Cursor cursor
protected final boolean hasMore
public ListPaperDocsResponse(java.util.List<java.lang.String> docIds, Cursor cursor, boolean hasMore)
docIds
- The list of Paper doc IDs that can be used to access the
given Paper docs or supplied to other API methods. The list is sorted
in the order specified by the initial call to DbxUserPaperRequests.docsList(com.dropbox.core.v2.paper.ListPaperDocsArgs)
. Must not contain a null
item
and not be null
.cursor
- Pass the cursor into DbxUserPaperRequests.docsListContinue(String)
to paginate through
all files. The cursor preserves all properties as specified in the
original call to DbxUserPaperRequests.docsList(com.dropbox.core.v2.paper.ListPaperDocsArgs)
. Must not be
null
.hasMore
- Will be set to True if a subsequent call with the
provided cursor to DbxUserPaperRequests.docsListContinue(String)
returns immediately
with some results. If set to False please allow some delay before
making another call to DbxUserPaperRequests.docsListContinue(String)
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.util.List<java.lang.String> getDocIds()
DbxUserPaperRequests.docsList(com.dropbox.core.v2.paper.ListPaperDocsArgs)
.null
.public Cursor getCursor()
DbxUserPaperRequests.docsListContinue(String)
to paginate through all
files. The cursor preserves all properties as specified in the original
call to DbxUserPaperRequests.docsList(com.dropbox.core.v2.paper.ListPaperDocsArgs)
.null
.public boolean getHasMore()
DbxUserPaperRequests.docsListContinue(String)
returns immediately
with some results. If set to False please allow some delay before making
another call to DbxUserPaperRequests.docsListContinue(String)
.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.