public final class VideoContentDetails
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 |
---|
VideoContentDetails() |
Modifier and Type | Method and Description |
---|---|
VideoContentDetails |
clone() |
java.lang.String |
getCaption()
The value of captions indicates whether the video has captions or not.
|
ContentRating |
getContentRating()
Specifies the ratings that the video received under various rating schemes.
|
AccessPolicy |
getCountryRestriction()
The countryRestriction object contains information about the countries where a video is (or is
not) viewable.
|
java.lang.String |
getDefinition()
The value of definition indicates whether the video is available in high definition or only in
standard definition.
|
java.lang.String |
getDimension()
The value of dimension indicates whether the video is available in 3D or in 2D.
|
java.lang.String |
getDuration()
The length of the video.
|
java.lang.Boolean |
getLicensedContent()
The value of is_license_content indicates whether the video is licensed content.
|
VideoContentDetailsRegionRestriction |
getRegionRestriction()
The regionRestriction object contains information about the countries where a video is (or is
not) viewable.
|
VideoContentDetails |
set(java.lang.String fieldName,
java.lang.Object value) |
VideoContentDetails |
setCaption(java.lang.String caption)
The value of captions indicates whether the video has captions or not.
|
VideoContentDetails |
setContentRating(ContentRating contentRating)
Specifies the ratings that the video received under various rating schemes.
|
VideoContentDetails |
setCountryRestriction(AccessPolicy countryRestriction)
The countryRestriction object contains information about the countries where a video is (or is
not) viewable.
|
VideoContentDetails |
setDefinition(java.lang.String definition)
The value of definition indicates whether the video is available in high definition or only in
standard definition.
|
VideoContentDetails |
setDimension(java.lang.String dimension)
The value of dimension indicates whether the video is available in 3D or in 2D.
|
VideoContentDetails |
setDuration(java.lang.String duration)
The length of the video.
|
VideoContentDetails |
setLicensedContent(java.lang.Boolean licensedContent)
The value of is_license_content indicates whether the video is licensed content.
|
VideoContentDetails |
setRegionRestriction(VideoContentDetailsRegionRestriction regionRestriction)
The regionRestriction object contains information about the countries where a video is (or is
not) viewable.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.String getCaption()
null
for nonepublic VideoContentDetails setCaption(java.lang.String caption)
caption
- caption or null
for nonepublic ContentRating getContentRating()
null
for nonepublic VideoContentDetails setContentRating(ContentRating contentRating)
contentRating
- contentRating or null
for nonepublic AccessPolicy getCountryRestriction()
null
for nonepublic VideoContentDetails setCountryRestriction(AccessPolicy countryRestriction)
countryRestriction
- countryRestriction or null
for nonepublic java.lang.String getDefinition()
null
for nonepublic VideoContentDetails setDefinition(java.lang.String definition)
definition
- definition or null
for nonepublic java.lang.String getDimension()
null
for nonepublic VideoContentDetails setDimension(java.lang.String dimension)
dimension
- dimension or null
for nonepublic java.lang.String getDuration()
null
for nonepublic VideoContentDetails setDuration(java.lang.String duration)
duration
- duration or null
for nonepublic java.lang.Boolean getLicensedContent()
null
for nonepublic VideoContentDetails setLicensedContent(java.lang.Boolean licensedContent)
licensedContent
- licensedContent or null
for nonepublic VideoContentDetailsRegionRestriction getRegionRestriction()
null
for nonepublic VideoContentDetails setRegionRestriction(VideoContentDetailsRegionRestriction regionRestriction)
regionRestriction
- regionRestriction or null
for nonepublic VideoContentDetails set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public VideoContentDetails clone()
clone
in class com.google.api.client.json.GenericJson