public final class I18nLanguageSnippet
extends com.google.api.client.json.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: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
I18nLanguageSnippet() |
| Modifier and Type | Method and Description |
|---|---|
I18nLanguageSnippet |
clone() |
java.lang.String |
getHl()
A short BCP-47 code that uniquely identifies a language.
|
java.lang.String |
getName()
The human-readable name of the language in the language itself.
|
I18nLanguageSnippet |
set(java.lang.String fieldName,
java.lang.Object value) |
I18nLanguageSnippet |
setHl(java.lang.String hl)
A short BCP-47 code that uniquely identifies a language.
|
I18nLanguageSnippet |
setName(java.lang.String name)
The human-readable name of the language in the language itself.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getHl()
null for nonepublic I18nLanguageSnippet setHl(java.lang.String hl)
hl - hl or null for nonepublic java.lang.String getName()
null for nonepublic I18nLanguageSnippet setName(java.lang.String name)
name - name or null for nonepublic I18nLanguageSnippet set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic I18nLanguageSnippet clone()
clone in class com.google.api.client.json.GenericJson