public final class VideoSnippet
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: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
VideoSnippet() |
Modifier and Type | Method and Description |
---|---|
VideoSnippet |
clone() |
java.lang.String |
getCategoryId()
The YouTube video category associated with the video.
|
java.lang.String |
getChannelId()
The ID that YouTube uses to uniquely identify the channel that the video was uploaded to.
|
java.lang.String |
getChannelTitle()
Channel title for the channel that the video belongs to.
|
java.lang.String |
getDefaultAudioLanguage()
The default_audio_language property specifies the language spoken in the video's default audio
track.
|
java.lang.String |
getDefaultLanguage()
The language of the videos's default snippet.
|
java.lang.String |
getDescription()
The video's description.
|
java.lang.String |
getLiveBroadcastContent()
Indicates if the video is an upcoming/active live broadcast.
|
VideoLocalization |
getLocalized()
Localized snippet selected with the hl parameter.
|
com.google.api.client.util.DateTime |
getPublishedAt()
The date and time that the video was uploaded.
|
java.util.List<java.lang.String> |
getTags()
A list of keyword tags associated with the video.
|
ThumbnailDetails |
getThumbnails()
A map of thumbnail images associated with the video.
|
java.lang.String |
getTitle()
The video's title.
|
VideoSnippet |
set(java.lang.String fieldName,
java.lang.Object value) |
VideoSnippet |
setCategoryId(java.lang.String categoryId)
The YouTube video category associated with the video.
|
VideoSnippet |
setChannelId(java.lang.String channelId)
The ID that YouTube uses to uniquely identify the channel that the video was uploaded to.
|
VideoSnippet |
setChannelTitle(java.lang.String channelTitle)
Channel title for the channel that the video belongs to.
|
VideoSnippet |
setDefaultAudioLanguage(java.lang.String defaultAudioLanguage)
The default_audio_language property specifies the language spoken in the video's default audio
track.
|
VideoSnippet |
setDefaultLanguage(java.lang.String defaultLanguage)
The language of the videos's default snippet.
|
VideoSnippet |
setDescription(java.lang.String description)
The video's description.
|
VideoSnippet |
setLiveBroadcastContent(java.lang.String liveBroadcastContent)
Indicates if the video is an upcoming/active live broadcast.
|
VideoSnippet |
setLocalized(VideoLocalization localized)
Localized snippet selected with the hl parameter.
|
VideoSnippet |
setPublishedAt(com.google.api.client.util.DateTime publishedAt)
The date and time that the video was uploaded.
|
VideoSnippet |
setTags(java.util.List<java.lang.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(java.lang.String title)
The video's title.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getCategoryId()
null
for nonepublic VideoSnippet setCategoryId(java.lang.String categoryId)
categoryId
- categoryId or null
for nonepublic java.lang.String getChannelId()
null
for nonepublic VideoSnippet setChannelId(java.lang.String channelId)
channelId
- channelId or null
for nonepublic java.lang.String getChannelTitle()
null
for nonepublic VideoSnippet setChannelTitle(java.lang.String channelTitle)
channelTitle
- channelTitle or null
for nonepublic java.lang.String getDefaultAudioLanguage()
null
for nonepublic VideoSnippet setDefaultAudioLanguage(java.lang.String defaultAudioLanguage)
defaultAudioLanguage
- defaultAudioLanguage or null
for nonepublic java.lang.String getDefaultLanguage()
null
for nonepublic VideoSnippet setDefaultLanguage(java.lang.String defaultLanguage)
defaultLanguage
- defaultLanguage or null
for nonepublic java.lang.String getDescription()
null
for nonepublic VideoSnippet setDescription(java.lang.String description)
description
- description or null
for nonepublic java.lang.String getLiveBroadcastContent()
null
for nonepublic VideoSnippet setLiveBroadcastContent(java.lang.String liveBroadcastContent)
liveBroadcastContent
- liveBroadcastContent or null
for nonepublic VideoLocalization getLocalized()
null
for nonepublic VideoSnippet setLocalized(VideoLocalization localized)
localized
- localized or null
for nonepublic com.google.api.client.util.DateTime getPublishedAt()
null
for nonepublic VideoSnippet setPublishedAt(com.google.api.client.util.DateTime publishedAt)
publishedAt
- publishedAt or null
for nonepublic java.util.List<java.lang.String> getTags()
null
for nonepublic VideoSnippet setTags(java.util.List<java.lang.String> tags)
tags
- tags or null
for nonepublic ThumbnailDetails getThumbnails()
null
for nonepublic VideoSnippet setThumbnails(ThumbnailDetails thumbnails)
thumbnails
- thumbnails or null
for nonepublic java.lang.String getTitle()
null
for nonepublic VideoSnippet setTitle(java.lang.String title)
title
- title or null
for nonepublic VideoSnippet set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public VideoSnippet clone()
clone
in class com.google.api.client.json.GenericJson