public final class ChannelSectionTargeting
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 |
|---|
ChannelSectionTargeting() |
| Modifier and Type | Method and Description |
|---|---|
ChannelSectionTargeting |
clone() |
java.util.List<java.lang.String> |
getCountries()
The country the channel section is targeting.
|
java.util.List<java.lang.String> |
getLanguages()
The language the channel section is targeting.
|
java.util.List<java.lang.String> |
getRegions()
The region the channel section is targeting.
|
ChannelSectionTargeting |
set(java.lang.String fieldName,
java.lang.Object value) |
ChannelSectionTargeting |
setCountries(java.util.List<java.lang.String> countries)
The country the channel section is targeting.
|
ChannelSectionTargeting |
setLanguages(java.util.List<java.lang.String> languages)
The language the channel section is targeting.
|
ChannelSectionTargeting |
setRegions(java.util.List<java.lang.String> regions)
The region the channel section is targeting.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.util.List<java.lang.String> getCountries()
null for nonepublic ChannelSectionTargeting setCountries(java.util.List<java.lang.String> countries)
countries - countries or null for nonepublic java.util.List<java.lang.String> getLanguages()
null for nonepublic ChannelSectionTargeting setLanguages(java.util.List<java.lang.String> languages)
languages - languages or null for nonepublic java.util.List<java.lang.String> getRegions()
null for nonepublic ChannelSectionTargeting setRegions(java.util.List<java.lang.String> regions)
regions - regions or null for nonepublic ChannelSectionTargeting set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic ChannelSectionTargeting clone()
clone in class com.google.api.client.json.GenericJson