public final class I18nRegionSnippet
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 |
|---|
I18nRegionSnippet() |
| Modifier and Type | Method and Description |
|---|---|
I18nRegionSnippet |
clone() |
java.lang.String |
getGl()
The region code as a 2-letter ISO country code.
|
java.lang.String |
getName()
The human-readable name of the region.
|
I18nRegionSnippet |
set(java.lang.String fieldName,
java.lang.Object value) |
I18nRegionSnippet |
setGl(java.lang.String gl)
The region code as a 2-letter ISO country code.
|
I18nRegionSnippet |
setName(java.lang.String name)
The human-readable name of the region.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getGl()
null for nonepublic I18nRegionSnippet setGl(java.lang.String gl)
gl - gl or null for nonepublic java.lang.String getName()
null for nonepublic I18nRegionSnippet setName(java.lang.String name)
name - name or null for nonepublic I18nRegionSnippet set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic I18nRegionSnippet clone()
clone in class com.google.api.client.json.GenericJson