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. 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 |
---|
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 |
getDescription()
The playlist's description.
|
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 |
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 |
setDescription(String description)
The playlist's description.
|
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 |
setTitle(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 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 getDescription()
null
for nonepublic PlaylistSnippet setDescription(String description)
description
- description 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 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 GenericJson
public PlaylistSnippet clone()
clone
in class GenericJson