public class ListFilesResult extends Object
DbxUserSharingRequests.listReceivedFiles(com.dropbox.core.v2.sharing.ListFilesArg)
.Modifier and Type | Field and Description |
---|---|
protected String |
cursor |
protected List<SharedFileMetadata> |
entries |
Constructor and Description |
---|
ListFilesResult(List<SharedFileMetadata> entries)
Success results for
DbxUserSharingRequests.listReceivedFiles(com.dropbox.core.v2.sharing.ListFilesArg) . |
ListFilesResult(List<SharedFileMetadata> entries,
String cursor)
Success results for
DbxUserSharingRequests.listReceivedFiles(com.dropbox.core.v2.sharing.ListFilesArg) . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCursor()
Cursor used to obtain additional shared files.
|
List<SharedFileMetadata> |
getEntries()
Information about the files shared with current user.
|
int |
hashCode() |
String |
toString() |
String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final List<SharedFileMetadata> entries
protected final String cursor
public ListFilesResult(List<SharedFileMetadata> entries, String cursor)
DbxUserSharingRequests.listReceivedFiles(com.dropbox.core.v2.sharing.ListFilesArg)
.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.IllegalArgumentException
- If any argument does not meet its
preconditions.public ListFilesResult(List<SharedFileMetadata> entries)
DbxUserSharingRequests.listReceivedFiles(com.dropbox.core.v2.sharing.ListFilesArg)
.
The default values for unset fields will be used.
entries
- Information about the files shared with current user.
Must not contain a null
item and not be null
.IllegalArgumentException
- If any argument does not meet its
preconditions.public List<SharedFileMetadata> getEntries()
null
.public String getCursor()
null
if not present.public String toStringMultiline()
The returned String may contain newlines.