public class TranslationResult extends GenericModel
Translation list| Constructor and Description |
|---|
TranslationResult() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
getCharacterCount()
Gets the character count.
|
java.lang.String |
getFirstTranslation()
Gets the first translation.
|
java.util.List<Translation> |
getTranslations()
Gets the translations.
|
java.lang.Integer |
getWordCount()
Gets the word count.
|
void |
setCharacterCount(java.lang.Integer characterCount)
Sets the character count.
|
void |
setTranslations(java.util.List<Translation> translations)
Sets the translations.
|
void |
setWordCount(java.lang.Integer wordCount)
Sets the word count.
|
equals, hashCode, toStringpublic java.lang.Integer getCharacterCount()
public java.lang.String getFirstTranslation()
public java.util.List<Translation> getTranslations()
public java.lang.Integer getWordCount()
public void setCharacterCount(java.lang.Integer characterCount)
characterCount - The character countpublic void setTranslations(java.util.List<Translation> translations)
translations - The translationspublic void setWordCount(java.lang.Integer wordCount)
wordCount - The word count