Class RoutingRule

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

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

    • RoutingRule

      public RoutingRule()
    • RoutingRule

      public RoutingRule(Boolean initWithEmptyList)
  • Method Details

    • operator

      public RoutingRule operator(RoutingRule.OperatorEnum operator)
      matching operator. MEETS_THRESHOLD matches any agent with a score at or above the rule's threshold. ANY matches all specified agents, regardless of score.
    • getOperator

      public RoutingRule.OperatorEnum getOperator()
    • setOperator

      public void setOperator(RoutingRule.OperatorEnum operator)
    • threshold

      public RoutingRule threshold(Integer threshold)
      threshold required for routing attempt (generally an agent score). may be null for operator ANY.
    • getThreshold

      public Integer getThreshold()
    • setThreshold

      public void setThreshold(Integer threshold)
    • waitSeconds

      public RoutingRule waitSeconds(Double waitSeconds)
      seconds to wait in this rule before moving to the next
    • getWaitSeconds

      public Double getWaitSeconds()
    • setWaitSeconds

      public void setWaitSeconds(Double waitSeconds)
    • 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