public final class Playlist 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 |
|---|
Playlist() |
| Modifier and Type | Method and Description |
|---|---|
Playlist |
clone() |
PlaylistContentDetails |
getContentDetails()
The contentDetails object contains information like video count.
|
String |
getEtag()
Etag of this resource.
|
String |
getId()
The ID that YouTube uses to uniquely identify the playlist.
|
String |
getKind()
Identifies what kind of resource this is.
|
Map<String,PlaylistLocalization> |
getLocalizations()
Localizations for different languages
|
PlaylistPlayer |
getPlayer()
The player object contains information that you would use to play the playlist in an embedded
player.
|
PlaylistSnippet |
getSnippet()
The snippet object contains basic details about the playlist, such as its title and
description.
|
PlaylistStatus |
getStatus()
The status object contains status information for the playlist.
|
Playlist |
set(String fieldName,
Object value) |
Playlist |
setContentDetails(PlaylistContentDetails contentDetails)
The contentDetails object contains information like video count.
|
Playlist |
setEtag(String etag)
Etag of this resource.
|
Playlist |
setId(String id)
The ID that YouTube uses to uniquely identify the playlist.
|
Playlist |
setKind(String kind)
Identifies what kind of resource this is.
|
Playlist |
setLocalizations(Map<String,PlaylistLocalization> localizations)
Localizations for different languages
|
Playlist |
setPlayer(PlaylistPlayer player)
The player object contains information that you would use to play the playlist in an embedded
player.
|
Playlist |
setSnippet(PlaylistSnippet snippet)
The snippet object contains basic details about the playlist, such as its title and
description.
|
Playlist |
setStatus(PlaylistStatus status)
The status object contains status information for the playlist.
|
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 PlaylistContentDetails getContentDetails()
null for nonepublic Playlist setContentDetails(PlaylistContentDetails contentDetails)
contentDetails - contentDetails or null for nonepublic String getEtag()
null for nonepublic Playlist setEtag(String etag)
etag - etag or null for nonepublic String getId()
null for nonepublic Playlist setId(String id)
id - id or null for nonepublic String getKind()
null for nonepublic Playlist setKind(String kind)
kind - kind or null for nonepublic Map<String,PlaylistLocalization> getLocalizations()
null for nonepublic Playlist setLocalizations(Map<String,PlaylistLocalization> localizations)
localizations - localizations or null for nonepublic PlaylistPlayer getPlayer()
null for nonepublic Playlist setPlayer(PlaylistPlayer player)
player - player or null for nonepublic PlaylistSnippet getSnippet()
null for nonepublic Playlist setSnippet(PlaylistSnippet snippet)
snippet - snippet or null for nonepublic PlaylistStatus getStatus()
null for nonepublic Playlist setStatus(PlaylistStatus status)
status - status or null for nonepublic Playlist set(String fieldName, Object value)
set in class GenericJsonpublic Playlist clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.