Package com.dropbox.core.v2.files
Class ListFolderLongpollResult
java.lang.Object
com.dropbox.core.v2.files.ListFolderLongpollResult
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionListFolderLongpollResult(boolean changes) NoneListFolderLongpollResult(boolean changes, Long backoff) -
Method Summary
Modifier and TypeMethodDescriptionbooleanIf present, backoff for at least this many seconds before callingDbxUserFilesRequests.listFolderLongpoll(String,long)again.booleanIndicates whether new changes are available.inthashCode()toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
changes
protected final boolean changes -
backoff
-
-
Constructor Details
-
ListFolderLongpollResult
- Parameters:
changes- Indicates whether new changes are available. If true, callDbxUserFilesRequests.listFolderContinue(String)to retrieve the changes.backoff- If present, backoff for at least this many seconds before callingDbxUserFilesRequests.listFolderLongpoll(String,long)again.
-
ListFolderLongpollResult
public ListFolderLongpollResult(boolean changes) NoneThe default values for unset fields will be used.
- Parameters:
changes- Indicates whether new changes are available. If true, callDbxUserFilesRequests.listFolderContinue(String)to retrieve the changes.
-
-
Method Details
-
getChanges
public boolean getChanges()Indicates whether new changes are available. If true, callDbxUserFilesRequests.listFolderContinue(String)to retrieve the changes.- Returns:
- value for this field.
-
getBackoff
If present, backoff for at least this many seconds before callingDbxUserFilesRequests.listFolderLongpoll(String,long)again.- Returns:
- value for this field, or
nullif not present.
-
hashCode
public int hashCode() -
equals
-
toString
-
toStringMultiline
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Returns:
- Formatted, multiline String representation of this object
-