Package com.dropbox.core.v2.sharing
Class ListSharedLinksResult
java.lang.Object
com.dropbox.core.v2.sharing.ListSharedLinksResult
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionListSharedLinksResult(List<SharedLinkMetadata> links, boolean hasMore) NoneListSharedLinksResult(List<SharedLinkMetadata> links, boolean hasMore, String cursor) -
Method Summary
Modifier and TypeMethodDescriptionbooleanPass the cursor intoDbxUserSharingRequests.listSharedLinks(com.dropbox.core.v2.sharing.ListSharedLinksArg)to obtain the additional links.booleanIs true if there are additional shared links that have not been returned yet.getLinks()Shared links applicable to the path argument.inthashCode()toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
links
-
hasMore
protected final boolean hasMore -
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 anullitem and not benull.hasMore- Is true if there are additional shared links that have not been returned yet. Pass the cursor intoDbxUserSharingRequests.listSharedLinks(com.dropbox.core.v2.sharing.ListSharedLinksArg)to retrieve them.cursor- Pass the cursor intoDbxUserSharingRequests.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
NoneThe default values for unset fields will be used.
- Parameters:
links- Shared links applicable to the path argument. Must not contain anullitem and not benull.hasMore- Is true if there are additional shared links that have not been returned yet. Pass the cursor intoDbxUserSharingRequests.listSharedLinks(com.dropbox.core.v2.sharing.ListSharedLinksArg)to retrieve them.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
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 intoDbxUserSharingRequests.listSharedLinks(com.dropbox.core.v2.sharing.ListSharedLinksArg)to retrieve them.- Returns:
- value for this field.
-
getCursor
Pass the cursor intoDbxUserSharingRequests.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
nullif not present.
-
hashCode
public int hashCode() -
equals
-
toString
-
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
-