public class SentenceAnalysis
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected java.lang.Long |
inputFrom |
protected java.lang.Long |
inputTo |
protected java.lang.Long |
sentenceId |
protected java.lang.String |
text |
protected java.util.List<ToneCategory> |
toneCategories |
protected java.util.List<ToneScore> |
tones |
Constructor and Description |
---|
SentenceAnalysis() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getInputFrom()
Gets the inputFrom.
|
java.lang.Long |
getInputTo()
Gets the inputTo.
|
java.lang.Long |
getSentenceId()
Gets the sentenceId.
|
java.lang.String |
getText()
Gets the text.
|
java.util.List<ToneCategory> |
getToneCategories()
Gets the toneCategories.
|
java.util.List<ToneScore> |
getTones()
Gets the tones.
|
@SerializedName(value="sentence_id") protected java.lang.Long sentenceId
protected java.lang.String text
protected java.util.List<ToneScore> tones
@SerializedName(value="tone_categories") protected java.util.List<ToneCategory> toneCategories
@SerializedName(value="input_from") protected java.lang.Long inputFrom
@SerializedName(value="input_to") protected java.lang.Long inputTo
public java.lang.Long getSentenceId()
public java.lang.String getText()
public java.util.List<ToneScore> getTones()
public java.util.List<ToneCategory> getToneCategories()
public java.lang.Long getInputFrom()
public java.lang.Long getInputTo()