public class ListFolderResult extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
cursor |
protected List<Metadata> |
entries |
protected boolean |
hasMore |
| Constructor and Description |
|---|
ListFolderResult(List<Metadata> entries,
String cursor,
boolean hasMore) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCursor()
Pass the cursor into
DbxUserFilesRequests.listFolderContinue(String) to see what's changed in
the folder since your previous query. |
List<Metadata> |
getEntries()
The files and (direct) subfolders in the folder.
|
boolean |
getHasMore()
If true, then there are more entries available.
|
int |
hashCode() |
String |
toString() |
String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final String cursor
protected final boolean hasMore
public ListFolderResult(List<Metadata> entries, 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.IllegalArgumentException - If any argument does not meet its
preconditions.public List<Metadata> getEntries()
null.public 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 String toStringMultiline()
The returned String may contain newlines.