public final class I18nLanguage 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 |
---|
I18nLanguage() |
Modifier and Type | Method and Description |
---|---|
I18nLanguage |
clone() |
String |
getEtag()
Etag of this resource.
|
String |
getId()
The ID that YouTube uses to uniquely identify the i18n language.
|
String |
getKind()
Identifies what kind of resource this is.
|
I18nLanguageSnippet |
getSnippet()
The snippet object contains basic details about the i18n language, such as language code and
human-readable name.
|
I18nLanguage |
set(String fieldName,
Object value) |
I18nLanguage |
setEtag(String etag)
Etag of this resource.
|
I18nLanguage |
setId(String id)
The ID that YouTube uses to uniquely identify the i18n language.
|
I18nLanguage |
setKind(String kind)
Identifies what kind of resource this is.
|
I18nLanguage |
setSnippet(I18nLanguageSnippet snippet)
The snippet object contains basic details about the i18n language, such as language code and
human-readable name.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getEtag()
null
for nonepublic I18nLanguage setEtag(String etag)
etag
- etag or null
for nonepublic String getId()
null
for nonepublic I18nLanguage setId(String id)
id
- id or null
for nonepublic String getKind()
null
for nonepublic I18nLanguage setKind(String kind)
kind
- kind or null
for nonepublic I18nLanguageSnippet getSnippet()
null
for nonepublic I18nLanguage setSnippet(I18nLanguageSnippet snippet)
snippet
- snippet or null
for nonepublic I18nLanguage set(String fieldName, Object value)
set
in class GenericJson
public I18nLanguage clone()
clone
in class GenericJson