Package com.mypurecloud.sdk.v2.model
Class Phrase
java.lang.Object
com.mypurecloud.sdk.v2.model.Phrase
- All Implemented Interfaces:
Serializable
Phrase
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe phrase sentiment, default value is Unspecified.static enumThe phrase strictness, default value is null -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetText()inthashCode()isAIGenerated(Boolean isAIGenerated) Indicates whether the phrase is AI generatedsentiment(Phrase.SentimentEnum sentiment) The phrase sentiment, default value is Unspecified.voidsetIsAIGenerated(Boolean isAIGenerated) voidsetSentiment(Phrase.SentimentEnum sentiment) voidsetStrictness(Phrase.StrictnessEnum strictness) voidstrictness(Phrase.StrictnessEnum strictness) The phrase strictness, default value is nullThe phrase texttoString()
-
Constructor Details
-
Phrase
public Phrase() -
Phrase
-
-
Method Details
-
text
The phrase text -
getText
-
setText
-
strictness
The phrase strictness, default value is null -
getStrictness
-
setStrictness
-
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
-
setSentiment
-
isAIGenerated
Indicates whether the phrase is AI generated -
getIsAIGenerated
-
setIsAIGenerated
-
equals
-
hashCode
public int hashCode() -
toString
-