Package com.dropbox.core.v2.files
Class ListFolderLongpollResult
- java.lang.Object
-
- com.dropbox.core.v2.files.ListFolderLongpollResult
-
public class ListFolderLongpollResult extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ListFolderLongpollResult(boolean changes)
NoneListFolderLongpollResult(boolean changes, java.lang.Long backoff)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.Long
getBackoff()
If present, backoff for at least this many seconds before callingDbxUserFilesRequests.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.
-
-
-
Constructor Detail
-
ListFolderLongpollResult
public ListFolderLongpollResult(boolean changes, java.lang.Long backoff)
- 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 Detail
-
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
public java.lang.Long getBackoff()
If present, backoff for at least this many seconds before callingDbxUserFilesRequests.listFolderLongpoll(String,long)
again.- Returns:
- value for this field, or
null
if not present.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toStringMultiline
public java.lang.String 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
-
-