public final class VideoAgeGating
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 |
---|
VideoAgeGating() |
Modifier and Type | Method and Description |
---|---|
VideoAgeGating |
clone() |
java.lang.Boolean |
getAlcoholContent()
Indicates whether or not the video has alcoholic beverage content.
|
java.lang.Boolean |
getRestricted()
Age-restricted trailers.
|
java.lang.String |
getVideoGameRating()
Video game rating, if any.
|
VideoAgeGating |
set(java.lang.String fieldName,
java.lang.Object value) |
VideoAgeGating |
setAlcoholContent(java.lang.Boolean alcoholContent)
Indicates whether or not the video has alcoholic beverage content.
|
VideoAgeGating |
setRestricted(java.lang.Boolean restricted)
Age-restricted trailers.
|
VideoAgeGating |
setVideoGameRating(java.lang.String videoGameRating)
Video game rating, if any.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.Boolean getAlcoholContent()
null
for nonepublic VideoAgeGating setAlcoholContent(java.lang.Boolean alcoholContent)
alcoholContent
- alcoholContent or null
for nonepublic java.lang.Boolean getRestricted()
null
for nonepublic VideoAgeGating setRestricted(java.lang.Boolean restricted)
restricted
- restricted or null
for nonepublic java.lang.String getVideoGameRating()
null
for nonepublic VideoAgeGating setVideoGameRating(java.lang.String videoGameRating)
videoGameRating
- videoGameRating or null
for nonepublic VideoAgeGating set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public VideoAgeGating clone()
clone
in class com.google.api.client.json.GenericJson