public final class PlaylistSnippet
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 |
---|
PlaylistSnippet() |
Modifier and Type | Method and Description |
---|---|
PlaylistSnippet |
clone() |
java.lang.String |
getChannelId()
The ID that YouTube uses to uniquely identify the channel that published the playlist.
|
java.lang.String |
getChannelTitle()
The channel title of the channel that the video belongs to.
|
java.lang.String |
getDefaultLanguage()
The language of the playlist's default title and description.
|
java.lang.String |
getDescription()
The playlist's description.
|
PlaylistLocalization |
getLocalized()
Localized title and description, read-only.
|
com.google.api.client.util.DateTime |
getPublishedAt()
The date and time that the playlist was created.
|
java.util.List<java.lang.String> |
getTags()
Keyword tags associated with the playlist.
|
ThumbnailDetails |
getThumbnails()
A map of thumbnail images associated with the playlist.
|
java.lang.String |
getTitle()
The playlist's title.
|
PlaylistSnippet |
set(java.lang.String fieldName,
java.lang.Object value) |
PlaylistSnippet |
setChannelId(java.lang.String channelId)
The ID that YouTube uses to uniquely identify the channel that published the playlist.
|
PlaylistSnippet |
setChannelTitle(java.lang.String channelTitle)
The channel title of the channel that the video belongs to.
|
PlaylistSnippet |
setDefaultLanguage(java.lang.String defaultLanguage)
The language of the playlist's default title and description.
|
PlaylistSnippet |
setDescription(java.lang.String description)
The playlist's description.
|
PlaylistSnippet |
setLocalized(PlaylistLocalization localized)
Localized title and description, read-only.
|
PlaylistSnippet |
setPublishedAt(com.google.api.client.util.DateTime publishedAt)
The date and time that the playlist was created.
|
PlaylistSnippet |
setTags(java.util.List<java.lang.String> tags)
Keyword tags associated with the playlist.
|
PlaylistSnippet |
setThumbnails(ThumbnailDetails thumbnails)
A map of thumbnail images associated with the playlist.
|
PlaylistSnippet |
setTitle(java.lang.String title)
The playlist'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 getChannelId()
null
for nonepublic PlaylistSnippet setChannelId(java.lang.String channelId)
channelId
- channelId or null
for nonepublic java.lang.String getChannelTitle()
null
for nonepublic PlaylistSnippet setChannelTitle(java.lang.String channelTitle)
channelTitle
- channelTitle or null
for nonepublic java.lang.String getDefaultLanguage()
null
for nonepublic PlaylistSnippet setDefaultLanguage(java.lang.String defaultLanguage)
defaultLanguage
- defaultLanguage or null
for nonepublic java.lang.String getDescription()
null
for nonepublic PlaylistSnippet setDescription(java.lang.String description)
description
- description or null
for nonepublic PlaylistLocalization getLocalized()
null
for nonepublic PlaylistSnippet setLocalized(PlaylistLocalization localized)
localized
- localized or null
for nonepublic com.google.api.client.util.DateTime getPublishedAt()
null
for nonepublic PlaylistSnippet setPublishedAt(com.google.api.client.util.DateTime publishedAt)
publishedAt
- publishedAt or null
for nonepublic java.util.List<java.lang.String> getTags()
null
for nonepublic PlaylistSnippet setTags(java.util.List<java.lang.String> tags)
tags
- tags or null
for nonepublic ThumbnailDetails getThumbnails()
null
for nonepublic PlaylistSnippet setThumbnails(ThumbnailDetails thumbnails)
thumbnails
- thumbnails or null
for nonepublic java.lang.String getTitle()
null
for nonepublic PlaylistSnippet setTitle(java.lang.String title)
title
- title or null
for nonepublic PlaylistSnippet set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public PlaylistSnippet clone()
clone
in class com.google.api.client.json.GenericJson