public class PropertiesSearchResult
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
cursor |
protected java.util.List<PropertiesSearchMatch> |
matches |
Constructor and Description |
---|
PropertiesSearchResult(java.util.List<PropertiesSearchMatch> matches)
None
|
PropertiesSearchResult(java.util.List<PropertiesSearchMatch> matches,
java.lang.String cursor) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCursor()
Pass the cursor into
DbxUserFilePropertiesRequests.propertiesSearchContinue(String) to
continue to receive search results. |
java.util.List<PropertiesSearchMatch> |
getMatches()
A list (possibly empty) of matches for the query.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final java.util.List<PropertiesSearchMatch> matches
protected final java.lang.String cursor
public PropertiesSearchResult(java.util.List<PropertiesSearchMatch> matches, java.lang.String cursor)
matches
- A list (possibly empty) of matches for the query. Must
not contain a null
item and not be null
.cursor
- Pass the cursor into DbxUserFilePropertiesRequests.propertiesSearchContinue(String)
to
continue to receive search results. Cursor will be null when there
are no more results. Must have length of at least 1.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public PropertiesSearchResult(java.util.List<PropertiesSearchMatch> matches)
The default values for unset fields will be used.
matches
- A list (possibly empty) of matches for the query. Must
not contain a null
item and not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.util.List<PropertiesSearchMatch> getMatches()
null
.public java.lang.String getCursor()
DbxUserFilePropertiesRequests.propertiesSearchContinue(String)
to
continue to receive search results. Cursor will be null when there are no
more results.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.