public class ListSharedLinksResult
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
cursor |
protected boolean |
hasMore |
protected java.util.List<SharedLinkMetadata> |
links |
Constructor and Description |
---|
ListSharedLinksResult(java.util.List<SharedLinkMetadata> links,
boolean hasMore)
None
|
ListSharedLinksResult(java.util.List<SharedLinkMetadata> links,
boolean hasMore,
java.lang.String cursor) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCursor()
Pass the cursor into
DbxUserSharingRequests.listSharedLinks(com.dropbox.core.v2.sharing.ListSharedLinksArg) to
obtain the additional links. |
boolean |
getHasMore()
Is true if there are additional shared links that have not been returned
yet.
|
java.util.List<SharedLinkMetadata> |
getLinks()
Shared links applicable to the path argument.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final java.util.List<SharedLinkMetadata> links
protected final boolean hasMore
protected final java.lang.String cursor
public ListSharedLinksResult(java.util.List<SharedLinkMetadata> links, boolean hasMore, java.lang.String cursor)
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.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public ListSharedLinksResult(java.util.List<SharedLinkMetadata> links, boolean hasMore)
The default values for unset fields will be used.
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.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.util.List<SharedLinkMetadata> getLinks()
null
.public boolean getHasMore()
DbxUserSharingRequests.listSharedLinks(com.dropbox.core.v2.sharing.ListSharedLinksArg)
to retrieve them.public java.lang.String getCursor()
DbxUserSharingRequests.listSharedLinks(com.dropbox.core.v2.sharing.ListSharedLinksArg)
to
obtain the additional links. Cursor is returned only if no path is given.null
if not present.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.