public final class PlaylistItemSnippet
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 |
---|
PlaylistItemSnippet() |
Modifier and Type | Method and Description |
---|---|
PlaylistItemSnippet |
clone() |
java.lang.String |
getChannelId()
The ID that YouTube uses to uniquely identify the user that added the item to the playlist.
|
java.lang.String |
getChannelTitle()
Channel title for the channel that the playlist item belongs to.
|
java.lang.String |
getDescription()
The item's description.
|
java.lang.String |
getPlaylistId()
The ID that YouTube uses to uniquely identify the playlist that the playlist item is in.
|
java.lang.Long |
getPosition()
The order in which the item appears in the playlist.
|
com.google.api.client.util.DateTime |
getPublishedAt()
The date and time that the item was added to the playlist.
|
ResourceId |
getResourceId()
The id object contains information that can be used to uniquely identify the resource that is
included in the playlist as the playlist item.
|
ThumbnailDetails |
getThumbnails()
A map of thumbnail images associated with the playlist item.
|
java.lang.String |
getTitle()
The item's title.
|
PlaylistItemSnippet |
set(java.lang.String fieldName,
java.lang.Object value) |
PlaylistItemSnippet |
setChannelId(java.lang.String channelId)
The ID that YouTube uses to uniquely identify the user that added the item to the playlist.
|
PlaylistItemSnippet |
setChannelTitle(java.lang.String channelTitle)
Channel title for the channel that the playlist item belongs to.
|
PlaylistItemSnippet |
setDescription(java.lang.String description)
The item's description.
|
PlaylistItemSnippet |
setPlaylistId(java.lang.String playlistId)
The ID that YouTube uses to uniquely identify the playlist that the playlist item is in.
|
PlaylistItemSnippet |
setPosition(java.lang.Long position)
The order in which the item appears in the playlist.
|
PlaylistItemSnippet |
setPublishedAt(com.google.api.client.util.DateTime publishedAt)
The date and time that the item was added to the playlist.
|
PlaylistItemSnippet |
setResourceId(ResourceId resourceId)
The id object contains information that can be used to uniquely identify the resource that is
included in the playlist as the playlist item.
|
PlaylistItemSnippet |
setThumbnails(ThumbnailDetails thumbnails)
A map of thumbnail images associated with the playlist item.
|
PlaylistItemSnippet |
setTitle(java.lang.String title)
The item'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 PlaylistItemSnippet setChannelId(java.lang.String channelId)
channelId
- channelId or null
for nonepublic java.lang.String getChannelTitle()
null
for nonepublic PlaylistItemSnippet setChannelTitle(java.lang.String channelTitle)
channelTitle
- channelTitle or null
for nonepublic java.lang.String getDescription()
null
for nonepublic PlaylistItemSnippet setDescription(java.lang.String description)
description
- description or null
for nonepublic java.lang.String getPlaylistId()
null
for nonepublic PlaylistItemSnippet setPlaylistId(java.lang.String playlistId)
playlistId
- playlistId or null
for nonepublic java.lang.Long getPosition()
null
for nonepublic PlaylistItemSnippet setPosition(java.lang.Long position)
position
- position or null
for nonepublic com.google.api.client.util.DateTime getPublishedAt()
null
for nonepublic PlaylistItemSnippet setPublishedAt(com.google.api.client.util.DateTime publishedAt)
publishedAt
- publishedAt or null
for nonepublic ResourceId getResourceId()
null
for nonepublic PlaylistItemSnippet setResourceId(ResourceId resourceId)
resourceId
- resourceId or null
for nonepublic ThumbnailDetails getThumbnails()
null
for nonepublic PlaylistItemSnippet setThumbnails(ThumbnailDetails thumbnails)
thumbnails
- thumbnails or null
for nonepublic java.lang.String getTitle()
null
for nonepublic PlaylistItemSnippet setTitle(java.lang.String title)
title
- title or null
for nonepublic PlaylistItemSnippet set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public PlaylistItemSnippet clone()
clone
in class com.google.api.client.json.GenericJson