Class ListSharedLinksResult

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

public class ListSharedLinksResult extends Object
  • Field Details

    • hasMore

      protected final boolean hasMore
    • cursor

      @Nullable protected final String cursor
  • Constructor Details

    • ListSharedLinksResult

      public ListSharedLinksResult(@Nonnull List<SharedLinkMetadata> links, boolean hasMore, @Nullable String cursor)
      Parameters:
      links - Shared links applicable to the path argument. Must not contain a null item and not be null.
      hasMore - Is true if there are additional shared links that have not been returned yet. Pass the cursor into DbxUserSharingRequests.listSharedLinks(com.dropbox.core.v2.sharing.ListSharedLinksArg) to retrieve them.
      cursor - Pass the cursor into DbxUserSharingRequests.listSharedLinks(com.dropbox.core.v2.sharing.ListSharedLinksArg) to obtain the additional links. Cursor is returned only if no path is given.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
    • ListSharedLinksResult

      public ListSharedLinksResult(@Nonnull List<SharedLinkMetadata> links, boolean hasMore)
      None

      The default values for unset fields will be used.

      Parameters:
      links - Shared links applicable to the path argument. Must not contain a null item and not be null.
      hasMore - Is true if there are additional shared links that have not been returned yet. Pass the cursor into DbxUserSharingRequests.listSharedLinks(com.dropbox.core.v2.sharing.ListSharedLinksArg) to retrieve them.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
  • Method Details

    • getLinks

      @Nonnull public List<SharedLinkMetadata> getLinks()
      Shared links applicable to the path argument.
      Returns:
      value for this field, never null.
    • getHasMore

      public boolean getHasMore()
      Is true if there are additional shared links that have not been returned yet. Pass the cursor into DbxUserSharingRequests.listSharedLinks(com.dropbox.core.v2.sharing.ListSharedLinksArg) to retrieve them.
      Returns:
      value for this field.
    • getCursor

      @Nullable public String getCursor()
      Pass the cursor into DbxUserSharingRequests.listSharedLinks(com.dropbox.core.v2.sharing.ListSharedLinksArg) to obtain the additional links. Cursor is returned only if no path is given.
      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