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: http://code.google.com/p/google-http-java-client/wiki/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, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public 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.GenericJson
public I18nRegionSnippet clone()
clone
in class com.google.api.client.json.GenericJson