Class PropertiesSearchQuery
java.lang.Object
com.dropbox.core.v2.fileproperties.PropertiesSearchQuery
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final LogicalOperatorprotected final PropertiesSearchModeprotected final String -
Constructor Summary
ConstructorsConstructorDescriptionPropertiesSearchQuery(String query, PropertiesSearchMode mode) NonePropertiesSearchQuery(String query, PropertiesSearchMode mode, LogicalOperator logicalOperator) -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe logical operator with which to append the query.getMode()The mode with which to perform the search.getQuery()The property field value for which to search across templates.inthashCode()toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
query
-
mode
-
logicalOperator
-
-
Constructor Details
-
PropertiesSearchQuery
public PropertiesSearchQuery(@Nonnull String query, @Nonnull PropertiesSearchMode mode, @Nonnull LogicalOperator logicalOperator) - Parameters:
query- The property field value for which to search across templates. Must not benull.mode- The mode with which to perform the search. Must not benull.logicalOperator- The logical operator with which to append the query. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
PropertiesSearchQuery
NoneThe default values for unset fields will be used.
- Parameters:
query- The property field value for which to search across templates. Must not benull.mode- The mode with which to perform the search. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getQuery
The property field value for which to search across templates.- Returns:
- value for this field, never
null.
-
getMode
The mode with which to perform the search.- Returns:
- value for this field, never
null.
-
getLogicalOperator
The logical operator with which to append the query.- Returns:
- value for this field, or
nullif not present. Defaults to LogicalOperator.OR_OPERATOR.
-
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
-