Class PropertiesSearchResult
java.lang.Object
com.dropbox.core.v2.fileproperties.PropertiesSearchResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected final List<PropertiesSearchMatch> -
Constructor Summary
ConstructorsConstructorDescriptionPropertiesSearchResult(List<PropertiesSearchMatch> matches) NonePropertiesSearchResult(List<PropertiesSearchMatch> matches, String cursor) -
Method Summary
Modifier and TypeMethodDescriptionbooleanPass the cursor intoDbxUserFilePropertiesRequests.propertiesSearchContinue(String)to continue to receive search results.A list (possibly empty) of matches for the query.inthashCode()toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
matches
-
cursor
-
-
Constructor Details
-
PropertiesSearchResult
public PropertiesSearchResult(@Nonnull List<PropertiesSearchMatch> matches, @Nullable String cursor) - Parameters:
matches- A list (possibly empty) of matches for the query. Must not contain anullitem and not benull.cursor- Pass the cursor intoDbxUserFilePropertiesRequests.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.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
PropertiesSearchResult
NoneThe default values for unset fields will be used.
- Parameters:
matches- A list (possibly empty) of matches for the query. Must not contain anullitem and not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getMatches
A list (possibly empty) of matches for the query.- Returns:
- value for this field, never
null.
-
getCursor
Pass the cursor intoDbxUserFilePropertiesRequests.propertiesSearchContinue(String)to continue to receive search results. Cursor will be null when there are no more results.- 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
-