Class Operand

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

public class Operand extends Object implements Serializable
Operand
See Also:
  • Constructor Details

    • Operand

      public Operand()
    • Operand

      public Operand(Boolean initWithEmptyList)
  • Method Details

    • type

      public Operand type(Operand.TypeEnum type)
      The Operand type of the category
    • getType

      public Operand.TypeEnum getType()
    • setType

      public void setType(Operand.TypeEnum type)
    • occurrence

      public Operand occurrence(Integer occurrence)
      The minimum number of occurrences of the defined operand type
    • getOccurrence

      public Integer getOccurrence()
    • setOccurrence

      public void setOccurrence(Integer occurrence)
    • inverted

      public Operand inverted(Boolean inverted)
      Applies a NOT modifier to the operand group
    • getInverted

      public Boolean getInverted()
    • setInverted

      public void setInverted(Boolean inverted)
    • term

      public Operand term(Term term)
      Filter interaction by word(s)
    • getTerm

      public Term getTerm()
    • setTerm

      public void setTerm(Term term)
    • topicId

      public Operand topicId(String topicId)
      Filter interaction by topic ID
    • getTopicId

      public String getTopicId()
    • setTopicId

      public void setTopicId(String topicId)
    • voiceSecondsPosition

      public Operand voiceSecondsPosition(OperandPosition voiceSecondsPosition)
      Dictates when the operand must occur in a voice interaction
    • getVoiceSecondsPosition

      public OperandPosition getVoiceSecondsPosition()
    • setVoiceSecondsPosition

      public void setVoiceSecondsPosition(OperandPosition voiceSecondsPosition)
    • digitalWordsPosition

      public Operand digitalWordsPosition(OperandPosition digitalWordsPosition)
      Dictates when the operand must occur in a digital interaction
    • getDigitalWordsPosition

      public OperandPosition getDigitalWordsPosition()
    • setDigitalWordsPosition

      public void setDigitalWordsPosition(OperandPosition digitalWordsPosition)
    • infixOperator

      public Operand infixOperator(InfixOperator infixOperator)
      Defines a logical operation that is applied on the current operand, against the following operand
    • getInfixOperator

      public InfixOperator getInfixOperator()
    • setInfixOperator

      public void setInfixOperator(InfixOperator infixOperator)
    • operands

      public Operand operands(List<Operand> operands)
      Contains a new level of operands
    • getOperands

      public List<Operand> getOperands()
    • setOperands

      public void setOperands(List<Operand> operands)
    • 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