Class MatchCriteria

java.lang.Object
com.mypurecloud.sdk.v2.model.MatchCriteria
All Implemented Interfaces:
Serializable

public class MatchCriteria extends Object implements Serializable
Defines a simple matching condition
See Also:
  • Constructor Details

    • MatchCriteria

      public MatchCriteria()
    • MatchCriteria

      public MatchCriteria(Boolean initWithEmptyList)
  • Method Details

    • jsonPath

      public MatchCriteria jsonPath(String jsonPath)
      The Goessner json path of the field to match
    • getJsonPath

      public String getJsonPath()
    • setJsonPath

      public void setJsonPath(String jsonPath)
    • operator

      public MatchCriteria operator(MatchCriteria.OperatorEnum operator)
      The type of operation to perform for matching check
    • getOperator

      public MatchCriteria.OperatorEnum getOperator()
    • setOperator

      public void setOperator(MatchCriteria.OperatorEnum operator)
    • value

      public MatchCriteria value(com.fasterxml.jackson.databind.JsonNode value)
      The value to match on. Only one of value and values can be included
    • getValue

      public com.fasterxml.jackson.databind.JsonNode getValue()
    • setValue

      public void setValue(com.fasterxml.jackson.databind.JsonNode value)
    • values

      public MatchCriteria values(List<com.fasterxml.jackson.databind.JsonNode> values)
      The list of values to match on. Only one of value and values can be included
    • getValues

      public List<com.fasterxml.jackson.databind.JsonNode> getValues()
    • setValues

      public void setValues(List<com.fasterxml.jackson.databind.JsonNode> values)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object