public final class VideoContentDetails 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 |
---|
VideoContentDetails() |
Modifier and Type | Method and Description |
---|---|
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.
|
String |
getDefinition()
The value of definition indicates whether the video is available in high definition or only in
standard definition.
|
String |
getDimension()
The value of dimension indicates whether the video is available in 3D or in 2D.
|
String |
getDuration()
The length of the video.
|
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 |
setCaption(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(String definition)
The value of definition indicates whether the video is available in high definition or only in
standard definition.
|
VideoContentDetails |
setDimension(String dimension)
The value of dimension indicates whether the video is available in 3D or in 2D.
|
VideoContentDetails |
setDuration(String duration)
The length of the video.
|
VideoContentDetails |
setLicensedContent(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.
|
clone, getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getCaption()
null
.public VideoContentDetails setCaption(String caption)
null
.public ContentRating getContentRating()
null
.public VideoContentDetails setContentRating(ContentRating contentRating)
null
.public AccessPolicy getCountryRestriction()
null
.public VideoContentDetails setCountryRestriction(AccessPolicy countryRestriction)
null
.public String getDefinition()
null
.public VideoContentDetails setDefinition(String definition)
null
.public String getDimension()
null
.public VideoContentDetails setDimension(String dimension)
null
.public String getDuration()
null
.public VideoContentDetails setDuration(String duration)
null
.public Boolean getLicensedContent()
null
.public VideoContentDetails setLicensedContent(Boolean licensedContent)
null
.public VideoContentDetailsRegionRestriction getRegionRestriction()
null
.public VideoContentDetails setRegionRestriction(VideoContentDetailsRegionRestriction regionRestriction)
null
.