public class ListFolderLongpollResult extends Object
Modifier and Type | Field and Description |
---|---|
protected Long |
backoff |
protected boolean |
changes |
Constructor and Description |
---|
ListFolderLongpollResult(boolean changes)
None
|
ListFolderLongpollResult(boolean changes,
Long backoff) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Long |
getBackoff()
If present, backoff for at least this many seconds before calling
DbxUserFilesRequests.listFolderLongpoll(String,long) again. |
boolean |
getChanges()
Indicates whether new changes are available.
|
int |
hashCode() |
String |
toString() |
String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final boolean changes
protected final Long backoff
public ListFolderLongpollResult(boolean changes, Long backoff)
changes
- Indicates whether new changes are available. If true,
call DbxUserFilesRequests.listFolderContinue(String)
to
retrieve the changes.backoff
- If present, backoff for at least this many seconds before
calling DbxUserFilesRequests.listFolderLongpoll(String,long)
again.public ListFolderLongpollResult(boolean changes)
The default values for unset fields will be used.
changes
- Indicates whether new changes are available. If true,
call DbxUserFilesRequests.listFolderContinue(String)
to
retrieve the changes.public boolean getChanges()
DbxUserFilesRequests.listFolderContinue(String)
to retrieve the changes.public Long getBackoff()
DbxUserFilesRequests.listFolderLongpoll(String,long)
again.null
if not present.public String toStringMultiline()
The returned String may contain newlines.