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. For a detailed explanation see: http://code.google.com/p/google-api-java-client/wiki/Json
Upgrade warning: starting with version 1.12 getResponseHeaders()
is removed, instead use
JsonHttpRequest.getLastResponseHeaders()
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Playlist() |
Modifier and Type | Method and Description |
---|---|
PlaylistContentDetails |
getContentDetails()
The contentDetails object contains information like video count.
|
String |
getEtag()
The ETag for the playlist resource.
|
String |
getId()
The ID that YouTube uses to uniquely identify the playlist.
|
String |
getKind()
The type of the API resource.
|
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 |
setContentDetails(PlaylistContentDetails contentDetails)
The contentDetails object contains information like video count.
|
Playlist |
setEtag(String etag)
The ETag for the playlist resource.
|
Playlist |
setId(String id)
The ID that YouTube uses to uniquely identify the playlist.
|
Playlist |
setKind(String kind)
The type of the API resource.
|
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.
|
clone, getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public PlaylistContentDetails getContentDetails()
null
.public Playlist setContentDetails(PlaylistContentDetails contentDetails)
null
.public String getEtag()
null
.public Playlist setEtag(String etag)
null
.public String getId()
null
.public Playlist setId(String id)
null
.public String getKind()
null
.public Playlist setKind(String kind)
null
.public PlaylistPlayer getPlayer()
null
.public Playlist setPlayer(PlaylistPlayer player)
null
.public PlaylistSnippet getSnippet()
null
.public Playlist setSnippet(PlaylistSnippet snippet)
null
.public PlaylistStatus getStatus()
null
.public Playlist setStatus(PlaylistStatus status)
null
.