public class ListFolderLongpollResult
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.Long |
backoff |
protected boolean |
changes |
Constructor and Description |
---|
ListFolderLongpollResult(boolean changes)
None
|
ListFolderLongpollResult(boolean changes,
java.lang.Long backoff) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.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() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
public ListFolderLongpollResult(boolean changes, java.lang.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 java.lang.Long getBackoff()
DbxUserFilesRequests.listFolderLongpoll(String,long)
again.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.