Class TargetedEmotionResults
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.natural_language_understanding.v1.model.TargetedEmotionResults
- All Implemented Interfaces:
 com.ibm.cloud.sdk.core.service.model.ObjectModel
public class TargetedEmotionResults
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Emotion results for a specified target.
- 
Constructor Summary
Constructors Constructor Description TargetedEmotionResults() - 
Method Summary
Modifier and Type Method Description EmotionScoresgetEmotion()Gets the emotion.StringgetText()Gets the text.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString 
- 
Constructor Details
- 
TargetedEmotionResults
public TargetedEmotionResults() 
 - 
 - 
Method Details
- 
getText
Gets the text.Targeted text.
- Returns:
 - the text
 
 - 
getEmotion
Gets the emotion.The emotion results for the target.
- Returns:
 - the emotion
 
 
 -