public class ListFilesResult
extends java.lang.Object
DbxUserSharingRequests.listReceivedFiles(com.dropbox.core.v2.sharing.ListFilesArg)
.Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
cursor |
protected java.util.List<SharedFileMetadata> |
entries |
Constructor and Description |
---|
ListFilesResult(java.util.List<SharedFileMetadata> entries)
Success results for
DbxUserSharingRequests.listReceivedFiles(com.dropbox.core.v2.sharing.ListFilesArg) . |
ListFilesResult(java.util.List<SharedFileMetadata> entries,
java.lang.String cursor)
Success results for
DbxUserSharingRequests.listReceivedFiles(com.dropbox.core.v2.sharing.ListFilesArg) . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCursor()
Cursor used to obtain additional shared files.
|
java.util.List<SharedFileMetadata> |
getEntries()
Information about the files shared with current user.
|
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<SharedFileMetadata> entries
protected final java.lang.String cursor
public ListFilesResult(java.util.List<SharedFileMetadata> entries, java.lang.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.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public ListFilesResult(java.util.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
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.util.List<SharedFileMetadata> getEntries()
null
.public java.lang.String getCursor()
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.