public class ListFolderResult
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
cursor |
protected java.util.List<Metadata> |
entries |
protected boolean |
hasMore |
Constructor and Description |
---|
ListFolderResult(java.util.List<Metadata> entries,
java.lang.String cursor,
boolean hasMore) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCursor()
Pass the cursor into
DbxUserFilesRequests.listFolderContinue(String) to see what's changed in
the folder since your previous query. |
java.util.List<Metadata> |
getEntries()
The files and (direct) subfolders in the folder.
|
boolean |
getHasMore()
If true, then there are more entries available.
|
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<Metadata> entries
protected final java.lang.String cursor
protected final boolean hasMore
public ListFolderResult(java.util.List<Metadata> entries, java.lang.String cursor, boolean hasMore)
entries
- The files and (direct) subfolders in the folder. Must not
contain a null
item and not be null
.cursor
- Pass the cursor into DbxUserFilesRequests.listFolderContinue(String)
to see what's
changed in the folder since your previous query. Must have length of
at least 1 and not be null
.hasMore
- If true, then there are more entries available. Pass the
cursor to DbxUserFilesRequests.listFolderContinue(String)
to
retrieve the rest.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.util.List<Metadata> getEntries()
null
.public java.lang.String getCursor()
DbxUserFilesRequests.listFolderContinue(String)
to see what's changed in
the folder since your previous query.null
.public boolean getHasMore()
DbxUserFilesRequests.listFolderContinue(String)
to retrieve the rest.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.