public final class LocalizedString 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 YouTube Data API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
LocalizedString() |
Modifier and Type | Method and Description |
---|---|
LocalizedString |
clone() |
String |
getLanguage()
Language associated to this value.
|
String |
getValue()
Value of the property.
|
LocalizedString |
set(String fieldName,
Object value) |
LocalizedString |
setLanguage(String language)
Language associated to this value.
|
LocalizedString |
setValue(String value)
Value of the property.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getLanguage()
null
for nonepublic LocalizedString setLanguage(String language)
language
- language or null
for nonepublic String getValue()
null
for nonepublic LocalizedString setValue(String value)
value
- value or null
for nonepublic LocalizedString set(String fieldName, Object value)
set
in class GenericJson
public LocalizedString clone()
clone
in class GenericJson