public final class VideoContentDetailsRegionRestriction extends 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-api-java-client/wiki/Json
Upgrade warning: starting with version 1.12 getResponseHeaders()
is removed, instead use
JsonHttpRequest.getLastResponseHeaders()
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
VideoContentDetailsRegionRestriction() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getAllowed()
A list of region codes that identify countries where the video is viewable.
|
List<String> |
getBlocked()
A list of region codes that identify countries where the video is blocked.
|
VideoContentDetailsRegionRestriction |
setAllowed(List<String> allowed)
A list of region codes that identify countries where the video is viewable.
|
VideoContentDetailsRegionRestriction |
setBlocked(List<String> blocked)
A list of region codes that identify countries where the video is blocked.
|
clone, getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public VideoContentDetailsRegionRestriction()
public List<String> getAllowed()
null
.public VideoContentDetailsRegionRestriction setAllowed(List<String> allowed)
null
.public List<String> getBlocked()
null
.public VideoContentDetailsRegionRestriction setBlocked(List<String> blocked)
null
.