public class TargetedEmotionResults extends GenericModel
Constructor and Description |
---|
TargetedEmotionResults() |
Modifier and Type | Method and Description |
---|---|
EmotionScores |
getEmotion()
Gets the emotion.
|
java.lang.String |
getText()
Gets the text.
|
void |
setEmotion(EmotionScores emotion)
Sets the emotion.
|
void |
setText(java.lang.String text)
Sets the text.
|
equals, hashCode, toString
public java.lang.String getText()
public EmotionScores getEmotion()
public void setText(java.lang.String text)
text
- the new textpublic void setEmotion(EmotionScores emotion)
emotion
- the new emotion