public final class VideoContentDetailsRegionRestriction
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 |
---|
VideoContentDetailsRegionRestriction() |
Modifier and Type | Method and Description |
---|---|
VideoContentDetailsRegionRestriction |
clone() |
java.util.List<java.lang.String> |
getAllowed()
A list of region codes that identify countries where the video is viewable.
|
java.util.List<java.lang.String> |
getBlocked()
A list of region codes that identify countries where the video is blocked.
|
VideoContentDetailsRegionRestriction |
set(java.lang.String fieldName,
java.lang.Object value) |
VideoContentDetailsRegionRestriction |
setAllowed(java.util.List<java.lang.String> allowed)
A list of region codes that identify countries where the video is viewable.
|
VideoContentDetailsRegionRestriction |
setBlocked(java.util.List<java.lang.String> blocked)
A list of region codes that identify countries where the video is blocked.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public VideoContentDetailsRegionRestriction()
public java.util.List<java.lang.String> getAllowed()
null
for nonepublic VideoContentDetailsRegionRestriction setAllowed(java.util.List<java.lang.String> allowed)
allowed
- allowed or null
for nonepublic java.util.List<java.lang.String> getBlocked()
null
for nonepublic VideoContentDetailsRegionRestriction setBlocked(java.util.List<java.lang.String> blocked)
blocked
- blocked or null
for nonepublic VideoContentDetailsRegionRestriction set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public VideoContentDetailsRegionRestriction clone()
clone
in class com.google.api.client.json.GenericJson