public final class PlaylistSnippet 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 v3. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
PlaylistSnippet() |
| Modifier and Type | Method and Description |
|---|---|
PlaylistSnippet |
clone() |
String |
getChannelId()
The ID that YouTube uses to uniquely identify the channel that published the playlist.
|
String |
getChannelTitle()
The channel title of the channel that the video belongs to.
|
String |
getDefaultLanguage()
The language of the playlist's default title and description.
|
String |
getDescription()
The playlist's description.
|
PlaylistLocalization |
getLocalized()
Localized title and description, read-only.
|
DateTime |
getPublishedAt()
The date and time that the playlist was created.
|
List<String> |
getTags()
Keyword tags associated with the playlist.
|
ThumbnailDetails |
getThumbnails()
A map of thumbnail images associated with the playlist.
|
String |
getThumbnailVideoId()
Note: if the playlist has a custom thumbnail, this field will not be populated.
|
String |
getTitle()
The playlist's title.
|
PlaylistSnippet |
set(String fieldName,
Object value) |
PlaylistSnippet |
setChannelId(String channelId)
The ID that YouTube uses to uniquely identify the channel that published the playlist.
|
PlaylistSnippet |
setChannelTitle(String channelTitle)
The channel title of the channel that the video belongs to.
|
PlaylistSnippet |
setDefaultLanguage(String defaultLanguage)
The language of the playlist's default title and description.
|
PlaylistSnippet |
setDescription(String description)
The playlist's description.
|
PlaylistSnippet |
setLocalized(PlaylistLocalization localized)
Localized title and description, read-only.
|
PlaylistSnippet |
setPublishedAt(DateTime publishedAt)
The date and time that the playlist was created.
|
PlaylistSnippet |
setTags(List<String> tags)
Keyword tags associated with the playlist.
|
PlaylistSnippet |
setThumbnails(ThumbnailDetails thumbnails)
A map of thumbnail images associated with the playlist.
|
PlaylistSnippet |
setThumbnailVideoId(String thumbnailVideoId)
Note: if the playlist has a custom thumbnail, this field will not be populated.
|
PlaylistSnippet |
setTitle(String title)
The playlist's title.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getChannelId()
null for nonepublic PlaylistSnippet setChannelId(String channelId)
channelId - channelId or null for nonepublic String getChannelTitle()
null for nonepublic PlaylistSnippet setChannelTitle(String channelTitle)
channelTitle - channelTitle or null for nonepublic String getDefaultLanguage()
null for nonepublic PlaylistSnippet setDefaultLanguage(String defaultLanguage)
defaultLanguage - defaultLanguage or null for nonepublic String getDescription()
null for nonepublic PlaylistSnippet setDescription(String description)
description - description or null for nonepublic PlaylistLocalization getLocalized()
null for nonepublic PlaylistSnippet setLocalized(PlaylistLocalization localized)
localized - localized or null for nonepublic DateTime getPublishedAt()
null for nonepublic PlaylistSnippet setPublishedAt(DateTime publishedAt)
publishedAt - publishedAt or null for nonepublic List<String> getTags()
null for nonepublic PlaylistSnippet setTags(List<String> tags)
tags - tags or null for nonepublic String getThumbnailVideoId()
null for nonepublic PlaylistSnippet setThumbnailVideoId(String thumbnailVideoId)
thumbnailVideoId - thumbnailVideoId or null for nonepublic ThumbnailDetails getThumbnails()
null for nonepublic PlaylistSnippet setThumbnails(ThumbnailDetails thumbnails)
thumbnails - thumbnails or null for nonepublic String getTitle()
null for nonepublic PlaylistSnippet setTitle(String title)
title - title or null for nonepublic PlaylistSnippet set(String fieldName, Object value)
set in class GenericJsonpublic PlaylistSnippet clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.