Package dev.array21.espocrm.types
Class Where
java.lang.Object
dev.array21.espocrm.types.Where
Where parameter is an array if items, that can contain nested items. The data should be URL-encoded. API clients provided in the documentation handle encoding.
Refer to the EspoCRM documentation for more information
Refer to the EspoCRM documentation for more information
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe attribute to apply the filter toThe FilterType to usegetValue()The value Field.setAttribute(String attribute) The attribute to apply the filter to.setFilterType(FilterType filterType) The FilterType to use.setValueString(String value) Set the Value field to a StringsetValueStringArray(String[] value) Set the Value field to a String[]setValueStringList(List<String> value) Set the Value field to a List, this is converted to a String[]
-
Constructor Details
-
Where
Create a new Where filter- Parameters:
filterType- The FilterType. See:setFilterType(FilterType)attribute- The attribute. SeesetAttribute(String)
-
-
Method Details
-
setFilterType
The FilterType to use. This may not be left null.- Parameters:
filterType- The filterType- Returns:
- Returns an instance of Where for easy chaining
- See Also:
-
getFilterType
The FilterType to use- Returns:
- Returns the FilterType
-
setAttribute
The attribute to apply the filter to. This may not be left null.s- Parameters:
attribute- The attribute- Returns:
- Returns an instance of Where for easy chaining
-
getAttribute
The attribute to apply the filter to- Returns:
- Returns the attribute
-
setValueString
Set the Value field to a String- Parameters:
value- The value- Returns:
- Returns an instance of Where for easy chaining
-
setValueStringArray
Set the Value field to a String[]- Parameters:
value- The value- Returns:
- Returns an instance of Where for easy chaining
-
setValueStringList
Set the Value field to a List, this is converted to a String[] - Parameters:
value- The value- Returns:
- Returns an instance of Where for easy chaining
-
getValue
The value Field. Can be a String or a String[]- Returns:
- The value
-