public final class VideoAgeGating 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 |
---|
VideoAgeGating() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getAlcoholContent()
Indicates whether or not the video has alcoholic beverage content.
|
Boolean |
getRestricted()
Age-restricted trailers.
|
String |
getVideoGameRating()
Video game rating, if any.
|
VideoAgeGating |
setAlcoholContent(Boolean alcoholContent)
Indicates whether or not the video has alcoholic beverage content.
|
VideoAgeGating |
setRestricted(Boolean restricted)
Age-restricted trailers.
|
VideoAgeGating |
setVideoGameRating(String videoGameRating)
Video game rating, if any.
|
clone, getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Boolean getAlcoholContent()
null
.public VideoAgeGating setAlcoholContent(Boolean alcoholContent)
null
.public Boolean getRestricted()
null
.public VideoAgeGating setRestricted(Boolean restricted)
null
.public String getVideoGameRating()
null
.public VideoAgeGating setVideoGameRating(String videoGameRating)
null
.