Class ListPaperDocsResponse


  • public class ListPaperDocsResponse
    extends java.lang.Object
    • 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 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).
        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 to DbxUserPaperRequests.docsList(com.dropbox.core.v2.paper.ListPaperDocsArgs).
        Returns:
        value for this field, never null.
      • getCursor

        @Nonnull
        public Cursor getCursor()
        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).
        Returns:
        value for this field, never null.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.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