public final class TranslationsListResponse extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Translate API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
TranslationsListResponse() |
| Modifier and Type | Method and Description |
|---|---|
TranslationsListResponse |
clone() |
List<TranslationsResource> |
getTranslations()
Translations contains list of translation results of given text
|
TranslationsListResponse |
set(String fieldName,
Object value) |
TranslationsListResponse |
setTranslations(List<TranslationsResource> translations)
Translations contains list of translation results of given text
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic List<TranslationsResource> getTranslations()
null for nonepublic TranslationsListResponse setTranslations(List<TranslationsResource> translations)
translations - translations or null for nonepublic TranslationsListResponse set(String fieldName, Object value)
set in class GenericJsonpublic TranslationsListResponse clone()
clone in class GenericJson