Class Where

java.lang.Object
dev.array21.espocrm.types.Where

public class Where extends Object
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
Since:
1.0.0
  • Constructor Details

  • Method Details

    • setFilterType

      public Where setFilterType(FilterType filterType)
      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

      public FilterType getFilterType()
      The FilterType to use
      Returns:
      Returns the FilterType
    • setAttribute

      public Where setAttribute(String attribute)
      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

      public String getAttribute()
      The attribute to apply the filter to
      Returns:
      Returns the attribute
    • setValueString

      public Where setValueString(String value)
      Set the Value field to a String
      Parameters:
      value - The value
      Returns:
      Returns an instance of Where for easy chaining
    • setValueStringArray

      public Where setValueStringArray(String[] value)
      Set the Value field to a String[]
      Parameters:
      value - The value
      Returns:
      Returns an instance of Where for easy chaining
    • setValueStringList

      public Where setValueStringList(List<String> value)
      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

      public Object getValue()
      The value Field. Can be a String or a String[]
      Returns:
      The value