public final class Video 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-http-java-client/wiki/JSON
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Video() |
Modifier and Type | Method and Description |
---|---|
Video |
clone() |
VideoAgeGating |
getAgeGatingDetails()
Age restriction details related to a video.
|
VideoContentDetails |
getContentDetails()
The contentDetails object contains information about the video content, including the length of
the video and its aspect ratio.
|
VideoConversionPings |
getConversionPings()
The conversionPings object encapsulates information about url pings that need to be respected
by the App in different video contexts.
|
String |
getEtag()
The ETag of the video resource.
|
VideoFileDetails |
getFileDetails()
The fileDetails object encapsulates information about the video file that was uploaded to
YouTube, including the file's resolution, duration, audio and video codecs, stream bitrates,
and more.
|
String |
getId()
The ID that YouTube uses to uniquely identify the video.
|
String |
getKind()
The type of the API resource.
|
VideoMonetizationDetails |
getMonetizationDetails()
The monetizationDetails object encapsulates information about the monetization status of the
video.
|
VideoPlayer |
getPlayer()
The player object contains information that you would use to play the video in an embedded
player.
|
VideoProcessingDetails |
getProcessingDetails()
The processingProgress object encapsulates information about YouTube's progress in processing
the uploaded video file.
|
VideoProjectDetails |
getProjectDetails()
The projectDetails object contains information about the project specific video metadata.
|
VideoRecordingDetails |
getRecordingDetails()
The recordingDetails object encapsulates information about the location, date and address where
the video was recorded.
|
VideoSnippet |
getSnippet()
The snippet object contains basic details about the video, such as its title, description, and
category.
|
VideoStatistics |
getStatistics()
The statistics object contains statistics about the video.
|
VideoStatus |
getStatus()
The status object contains information about the video's uploading, processing, and privacy
statuses.
|
VideoSuggestions |
getSuggestions()
The suggestions object encapsulates suggestions that identify opportunities to improve the
video quality or the metadata for the uploaded video.
|
VideoTopicDetails |
getTopicDetails()
The topicDetails object encapsulates information about Freebase topics associated with the
video.
|
Video |
set(String fieldName,
Object value) |
Video |
setAgeGatingDetails(VideoAgeGating ageGatingDetails)
Age restriction details related to a video.
|
Video |
setContentDetails(VideoContentDetails contentDetails)
The contentDetails object contains information about the video content, including the length of
the video and its aspect ratio.
|
Video |
setConversionPings(VideoConversionPings conversionPings)
The conversionPings object encapsulates information about url pings that need to be respected
by the App in different video contexts.
|
Video |
setEtag(String etag)
The ETag of the video resource.
|
Video |
setFileDetails(VideoFileDetails fileDetails)
The fileDetails object encapsulates information about the video file that was uploaded to
YouTube, including the file's resolution, duration, audio and video codecs, stream bitrates,
and more.
|
Video |
setId(String id)
The ID that YouTube uses to uniquely identify the video.
|
Video |
setKind(String kind)
The type of the API resource.
|
Video |
setMonetizationDetails(VideoMonetizationDetails monetizationDetails)
The monetizationDetails object encapsulates information about the monetization status of the
video.
|
Video |
setPlayer(VideoPlayer player)
The player object contains information that you would use to play the video in an embedded
player.
|
Video |
setProcessingDetails(VideoProcessingDetails processingDetails)
The processingProgress object encapsulates information about YouTube's progress in processing
the uploaded video file.
|
Video |
setProjectDetails(VideoProjectDetails projectDetails)
The projectDetails object contains information about the project specific video metadata.
|
Video |
setRecordingDetails(VideoRecordingDetails recordingDetails)
The recordingDetails object encapsulates information about the location, date and address where
the video was recorded.
|
Video |
setSnippet(VideoSnippet snippet)
The snippet object contains basic details about the video, such as its title, description, and
category.
|
Video |
setStatistics(VideoStatistics statistics)
The statistics object contains statistics about the video.
|
Video |
setStatus(VideoStatus status)
The status object contains information about the video's uploading, processing, and privacy
statuses.
|
Video |
setSuggestions(VideoSuggestions suggestions)
The suggestions object encapsulates suggestions that identify opportunities to improve the
video quality or the metadata for the uploaded video.
|
Video |
setTopicDetails(VideoTopicDetails topicDetails)
The topicDetails object encapsulates information about Freebase topics associated with the
video.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public VideoAgeGating getAgeGatingDetails()
null
for nonepublic Video setAgeGatingDetails(VideoAgeGating ageGatingDetails)
ageGatingDetails
- ageGatingDetails or null
for nonepublic VideoContentDetails getContentDetails()
null
for nonepublic Video setContentDetails(VideoContentDetails contentDetails)
contentDetails
- contentDetails or null
for nonepublic VideoConversionPings getConversionPings()
null
for nonepublic Video setConversionPings(VideoConversionPings conversionPings)
conversionPings
- conversionPings or null
for nonepublic String getEtag()
null
for nonepublic Video setEtag(String etag)
etag
- etag or null
for nonepublic VideoFileDetails getFileDetails()
null
for nonepublic Video setFileDetails(VideoFileDetails fileDetails)
fileDetails
- fileDetails or null
for nonepublic String getId()
null
for nonepublic Video setId(String id)
id
- id or null
for nonepublic String getKind()
null
for nonepublic Video setKind(String kind)
kind
- kind or null
for nonepublic VideoMonetizationDetails getMonetizationDetails()
null
for nonepublic Video setMonetizationDetails(VideoMonetizationDetails monetizationDetails)
monetizationDetails
- monetizationDetails or null
for nonepublic VideoPlayer getPlayer()
null
for nonepublic Video setPlayer(VideoPlayer player)
player
- player or null
for nonepublic VideoProcessingDetails getProcessingDetails()
null
for nonepublic Video setProcessingDetails(VideoProcessingDetails processingDetails)
processingDetails
- processingDetails or null
for nonepublic VideoProjectDetails getProjectDetails()
null
for nonepublic Video setProjectDetails(VideoProjectDetails projectDetails)
projectDetails
- projectDetails or null
for nonepublic VideoRecordingDetails getRecordingDetails()
null
for nonepublic Video setRecordingDetails(VideoRecordingDetails recordingDetails)
recordingDetails
- recordingDetails or null
for nonepublic VideoSnippet getSnippet()
null
for nonepublic Video setSnippet(VideoSnippet snippet)
snippet
- snippet or null
for nonepublic VideoStatistics getStatistics()
null
for nonepublic Video setStatistics(VideoStatistics statistics)
statistics
- statistics or null
for nonepublic VideoStatus getStatus()
null
for nonepublic Video setStatus(VideoStatus status)
status
- status or null
for nonepublic VideoSuggestions getSuggestions()
null
for nonepublic Video setSuggestions(VideoSuggestions suggestions)
suggestions
- suggestions or null
for nonepublic VideoTopicDetails getTopicDetails()
null
for nonepublic Video setTopicDetails(VideoTopicDetails topicDetails)
topicDetails
- topicDetails or null
for nonepublic Video set(String fieldName, Object value)
set
in class GenericJson
public Video clone()
clone
in class GenericJson