Class ListFilesResult

java.lang.Object
com.dropbox.core.v2.sharing.ListFilesResult

public class ListFilesResult extends Object
Success results for DbxUserSharingRequests.listReceivedFiles(com.dropbox.core.v2.sharing.ListFilesArg).
  • Field Details

  • Constructor Details

    • ListFilesResult

      public ListFilesResult(@Nonnull List<SharedFileMetadata> entries, @Nullable 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:
      IllegalArgumentException - If any argument does not meet its preconditions.
    • ListFilesResult

      public ListFilesResult(@Nonnull 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:
      IllegalArgumentException - If any argument does not meet its preconditions.
  • Method Details

    • getEntries

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

      @Nullable public 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 Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toStringMultiline

      public 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