Class ListFilesResult


  • public class ListFilesResult
    extends java.lang.Object
    Success results for DbxUserSharingRequests.listReceivedFiles(com.dropbox.core.v2.sharing.ListFilesArg).
    • Constructor Summary

      Constructors 
      Constructor Description
      ListFilesResult​(java.util.List<SharedFileMetadata> entries)
      Success results for DbxUserSharingRequests.listReceivedFiles(com.dropbox.core.v2.sharing.ListFilesArg).
      ListFilesResult​(java.util.List<SharedFileMetadata> entries, java.lang.String cursor)
      Success results for DbxUserSharingRequests.listReceivedFiles(com.dropbox.core.v2.sharing.ListFilesArg).
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getCursor()
      Cursor used to obtain additional shared files.
      java.util.List<SharedFileMetadata> getEntries()
      Information about the files shared with current user.
      int hashCode()  
      java.lang.String toString()  
      java.lang.String toStringMultiline()
      Returns a String representation of this object formatted for easier readability.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • cursor

        @Nullable
        protected final java.lang.String cursor
    • Constructor Detail

      • ListFilesResult

        public ListFilesResult​(@Nonnull
                               java.util.List<SharedFileMetadata> entries,
                               @Nullable
                               java.lang.String cursor)
        Success results for DbxUserSharingRequests.listReceivedFiles(com.dropbox.core.v2.sharing.ListFilesArg).
        Parameters:
        entries - Information about the files shared with current user. Must not contain a null item and not be null.
        cursor - Cursor used to obtain additional shared files.
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
      • ListFilesResult

        public ListFilesResult​(@Nonnull
                               java.util.List<SharedFileMetadata> entries)
        Success results for DbxUserSharingRequests.listReceivedFiles(com.dropbox.core.v2.sharing.ListFilesArg).

        The default values for unset fields will be used.

        Parameters:
        entries - Information about the files shared with current user. Must not contain a null item and not be null.
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
    • Method Detail

      • getEntries

        @Nonnull
        public java.util.List<SharedFileMetadata> getEntries()
        Information about the files shared with current user.
        Returns:
        value for this field, never null.
      • getCursor

        @Nullable
        public java.lang.String getCursor()
        Cursor used to obtain additional shared files.
        Returns:
        value for this field, or null if not present.
      • 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