Package com.dropbox.core.v2.paper
Class ListPaperDocsResponse
- java.lang.Object
-
- com.dropbox.core.v2.paper.ListPaperDocsResponse
-
public class ListPaperDocsResponse extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ListPaperDocsResponse(java.util.List<java.lang.String> docIds, Cursor cursor, boolean hasMore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Cursor
getCursor()
Pass the cursor intoDbxUserPaperRequests.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 toDbxUserPaperRequests.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.
-
-
-
Field Detail
-
docIds
@Nonnull protected final java.util.List<java.lang.String> docIds
-
cursor
@Nonnull protected final Cursor cursor
-
hasMore
protected final boolean hasMore
-
-
Constructor Detail
-
ListPaperDocsResponse
public ListPaperDocsResponse(@Nonnull java.util.List<java.lang.String> docIds, @Nonnull Cursor cursor, boolean hasMore)
- Parameters:
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 toDbxUserPaperRequests.docsList(com.dropbox.core.v2.paper.ListPaperDocsArgs)
. Must not contain anull
item and not benull
.cursor
- Pass the cursor intoDbxUserPaperRequests.docsListContinue(String)
to paginate through all files. The cursor preserves all properties as specified in the original call toDbxUserPaperRequests.docsList(com.dropbox.core.v2.paper.ListPaperDocsArgs)
. Must not benull
.hasMore
- Will be set to True if a subsequent call with the provided cursor toDbxUserPaperRequests.docsListContinue(String)
returns immediately with some results. If set to False please allow some delay before making another call toDbxUserPaperRequests.docsListContinue(String)
.- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
-
Method Detail
-
getDocIds
@Nonnull public 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. The list is sorted in the order specified by the initial call toDbxUserPaperRequests.docsList(com.dropbox.core.v2.paper.ListPaperDocsArgs)
.- Returns:
- value for this field, never
null
.
-
getCursor
@Nonnull public Cursor getCursor()
Pass the cursor intoDbxUserPaperRequests.docsListContinue(String)
to paginate through all files. The cursor preserves all properties as specified in the original call toDbxUserPaperRequests.docsList(com.dropbox.core.v2.paper.ListPaperDocsArgs)
.- Returns:
- value for this field, never
null
.
-
getHasMore
public boolean getHasMore()
Will be set to True if a subsequent call with the provided cursor toDbxUserPaperRequests.docsListContinue(String)
returns immediately with some results. If set to False please allow some delay before making another call toDbxUserPaperRequests.docsListContinue(String)
.- Returns:
- value for this field.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toStringMultiline
public java.lang.String toStringMultiline()
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Returns:
- Formatted, multiline String representation of this object
-
-