Class Phrase

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

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

    • Phrase

      public Phrase()
    • Phrase

      public Phrase(Boolean initWithEmptyList)
  • Method Details

    • text

      public Phrase text(String text)
      The phrase text
    • getText

      public String getText()
    • setText

      public void setText(String text)
    • strictness

      public Phrase strictness(Phrase.StrictnessEnum strictness)
      The phrase strictness, default value is null
    • getStrictness

      public Phrase.StrictnessEnum getStrictness()
    • setStrictness

      public void setStrictness(Phrase.StrictnessEnum strictness)
    • sentiment

      public Phrase sentiment(Phrase.SentimentEnum sentiment)
      The phrase sentiment, default value is Unspecified. Note: Sentiment value for phrases is currently not in use and has no impact to the system.
    • getSentiment

      public Phrase.SentimentEnum getSentiment()
    • setSentiment

      public void setSentiment(Phrase.SentimentEnum sentiment)
    • isAIGenerated

      public Phrase isAIGenerated(Boolean isAIGenerated)
      Indicates whether the phrase is AI generated
    • getIsAIGenerated

      public Boolean getIsAIGenerated()
    • setIsAIGenerated

      public void setIsAIGenerated(Boolean isAIGenerated)
    • 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