public final class VideoSnippet 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 |
---|
VideoSnippet() |
Modifier and Type | Method and Description |
---|---|
String |
getCategoryId()
The YouTube video category associated with the video.
|
String |
getChannelId()
The ID that YouTube uses to uniquely identify the channel that the video was uploaded to.
|
String |
getChannelTitle()
Channel title for the channel that the video belongs to.
|
String |
getDescription()
The video's description.
|
DateTime |
getPublishedAt()
The date and time that the video was uploaded.
|
List<String> |
getTags()
A list of keyword tags associated with the video.
|
ThumbnailDetails |
getThumbnails()
A map of thumbnail images associated with the video.
|
String |
getTitle()
The video's title.
|
VideoSnippet |
setCategoryId(String categoryId)
The YouTube video category associated with the video.
|
VideoSnippet |
setChannelId(String channelId)
The ID that YouTube uses to uniquely identify the channel that the video was uploaded to.
|
VideoSnippet |
setChannelTitle(String channelTitle)
Channel title for the channel that the video belongs to.
|
VideoSnippet |
setDescription(String description)
The video's description.
|
VideoSnippet |
setPublishedAt(DateTime publishedAt)
The date and time that the video was uploaded.
|
VideoSnippet |
setTags(List<String> tags)
A list of keyword tags associated with the video.
|
VideoSnippet |
setThumbnails(ThumbnailDetails thumbnails)
A map of thumbnail images associated with the video.
|
VideoSnippet |
setTitle(String title)
The video's title.
|
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 getCategoryId()
null
.public VideoSnippet setCategoryId(String categoryId)
null
.public String getChannelId()
null
.public VideoSnippet setChannelId(String channelId)
null
.public String getChannelTitle()
null
.public VideoSnippet setChannelTitle(String channelTitle)
null
.public String getDescription()
null
.public VideoSnippet setDescription(String description)
null
.public DateTime getPublishedAt()
null
.public VideoSnippet setPublishedAt(DateTime publishedAt)
null
.public List<String> getTags()
null
.public VideoSnippet setTags(List<String> tags)
null
.public ThumbnailDetails getThumbnails()
null
.public VideoSnippet setThumbnails(ThumbnailDetails thumbnails)
null
.public String getTitle()
null
.public VideoSnippet setTitle(String title)
null
.