public final class PlaylistItemSnippet 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 |
|---|
PlaylistItemSnippet() |
| Modifier and Type | Method and Description |
|---|---|
PlaylistItemSnippet |
clone() |
String |
getChannelId()
The ID that YouTube uses to uniquely identify the user that added the item to the playlist.
|
String |
getChannelTitle()
Channel title for the channel that the playlist item belongs to.
|
String |
getDescription()
The item's description.
|
String |
getPlaylistId()
The ID that YouTube uses to uniquely identify thGe playlist that the playlist item is in.
|
Long |
getPosition()
The order in which the item appears in the playlist.
|
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.
|
String |
getTitle()
The item's title.
|
String |
getVideoOwnerChannelId()
Channel id for the channel this video belongs to.
|
String |
getVideoOwnerChannelTitle()
Channel title for the channel this video belongs to.
|
PlaylistItemSnippet |
set(String fieldName,
Object value) |
PlaylistItemSnippet |
setChannelId(String channelId)
The ID that YouTube uses to uniquely identify the user that added the item to the playlist.
|
PlaylistItemSnippet |
setChannelTitle(String channelTitle)
Channel title for the channel that the playlist item belongs to.
|
PlaylistItemSnippet |
setDescription(String description)
The item's description.
|
PlaylistItemSnippet |
setPlaylistId(String playlistId)
The ID that YouTube uses to uniquely identify thGe playlist that the playlist item is in.
|
PlaylistItemSnippet |
setPosition(Long position)
The order in which the item appears in the playlist.
|
PlaylistItemSnippet |
setPublishedAt(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(String title)
The item's title.
|
PlaylistItemSnippet |
setVideoOwnerChannelId(String videoOwnerChannelId)
Channel id for the channel this video belongs to.
|
PlaylistItemSnippet |
setVideoOwnerChannelTitle(String videoOwnerChannelTitle)
Channel title for the channel this video belongs to.
|
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 PlaylistItemSnippet setChannelId(String channelId)
channelId - channelId or null for nonepublic String getChannelTitle()
null for nonepublic PlaylistItemSnippet setChannelTitle(String channelTitle)
channelTitle - channelTitle or null for nonepublic String getDescription()
null for nonepublic PlaylistItemSnippet setDescription(String description)
description - description or null for nonepublic String getPlaylistId()
null for nonepublic PlaylistItemSnippet setPlaylistId(String playlistId)
playlistId - playlistId or null for nonepublic Long getPosition()
null for nonepublic PlaylistItemSnippet setPosition(Long position)
position - position or null for nonepublic DateTime getPublishedAt()
null for nonepublic PlaylistItemSnippet setPublishedAt(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 String getTitle()
null for nonepublic PlaylistItemSnippet setTitle(String title)
title - title or null for nonepublic String getVideoOwnerChannelId()
null for nonepublic PlaylistItemSnippet setVideoOwnerChannelId(String videoOwnerChannelId)
videoOwnerChannelId - videoOwnerChannelId or null for nonepublic String getVideoOwnerChannelTitle()
null for nonepublic PlaylistItemSnippet setVideoOwnerChannelTitle(String videoOwnerChannelTitle)
videoOwnerChannelTitle - videoOwnerChannelTitle or null for nonepublic PlaylistItemSnippet set(String fieldName, Object value)
set in class GenericJsonpublic PlaylistItemSnippet clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.