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: https://developers.google.com/api-client-library/java/google-http-java-client/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, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic 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.GenericJsonpublic VideoContentDetailsRegionRestriction clone()
clone in class com.google.api.client.json.GenericJson