Class DocumentEmotionResults
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.natural_language_understanding.v1.model.DocumentEmotionResults
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class DocumentEmotionResults
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Emotion results for the document as a whole.
-
Constructor Summary
Constructors Constructor Description DocumentEmotionResults()
-
Method Summary
Modifier and Type Method Description EmotionScores
getEmotion()
Gets the emotion.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
DocumentEmotionResults
public DocumentEmotionResults()
-
-
Method Details
-
getEmotion
Gets the emotion.Emotion results for the document as a whole.
- Returns:
- the emotion
-