public class ListSharedLinksResult extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
cursor |
protected boolean |
hasMore |
protected List<SharedLinkMetadata> |
links |
Constructor and Description |
---|
ListSharedLinksResult(List<SharedLinkMetadata> links,
boolean hasMore)
None
|
ListSharedLinksResult(List<SharedLinkMetadata> links,
boolean hasMore,
String cursor) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
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.
|
List<SharedLinkMetadata> |
getLinks()
Shared links applicable to the path argument.
|
int |
hashCode() |
String |
toString() |
String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final List<SharedLinkMetadata> links
protected final boolean hasMore
protected final String cursor
public ListSharedLinksResult(List<SharedLinkMetadata> links, boolean hasMore, 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.IllegalArgumentException
- If any argument does not meet its
preconditions.public ListSharedLinksResult(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.IllegalArgumentException
- If any argument does not meet its
preconditions.public List<SharedLinkMetadata> getLinks()
null
.public boolean getHasMore()
DbxUserSharingRequests.listSharedLinks(com.dropbox.core.v2.sharing.ListSharedLinksArg)
to retrieve them.public 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 String toStringMultiline()
The returned String may contain newlines.