public final class PlaylistItem 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 |
|---|
PlaylistItem() |
| Modifier and Type | Method and Description |
|---|---|
PlaylistItem |
clone() |
PlaylistItemContentDetails |
getContentDetails()
The contentDetails object is included in the resource if the included item is a YouTube video.
|
String |
getEtag()
Etag of this resource.
|
String |
getId()
The ID that YouTube uses to uniquely identify the playlist item.
|
String |
getKind()
Identifies what kind of resource this is.
|
PlaylistItemSnippet |
getSnippet()
The snippet object contains basic details about the playlist item, such as its title and
position in the playlist.
|
PlaylistItemStatus |
getStatus()
The status object contains information about the playlist item's privacy status.
|
PlaylistItem |
set(String fieldName,
Object value) |
PlaylistItem |
setContentDetails(PlaylistItemContentDetails contentDetails)
The contentDetails object is included in the resource if the included item is a YouTube video.
|
PlaylistItem |
setEtag(String etag)
Etag of this resource.
|
PlaylistItem |
setId(String id)
The ID that YouTube uses to uniquely identify the playlist item.
|
PlaylistItem |
setKind(String kind)
Identifies what kind of resource this is.
|
PlaylistItem |
setSnippet(PlaylistItemSnippet snippet)
The snippet object contains basic details about the playlist item, such as its title and
position in the playlist.
|
PlaylistItem |
setStatus(PlaylistItemStatus status)
The status object contains information about the playlist item's privacy status.
|
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 PlaylistItemContentDetails getContentDetails()
null for nonepublic PlaylistItem setContentDetails(PlaylistItemContentDetails contentDetails)
contentDetails - contentDetails or null for nonepublic String getEtag()
null for nonepublic PlaylistItem setEtag(String etag)
etag - etag or null for nonepublic String getId()
null for nonepublic PlaylistItem setId(String id)
id - id or null for nonepublic String getKind()
null for nonepublic PlaylistItem setKind(String kind)
kind - kind or null for nonepublic PlaylistItemSnippet getSnippet()
null for nonepublic PlaylistItem setSnippet(PlaylistItemSnippet snippet)
snippet - snippet or null for nonepublic PlaylistItemStatus getStatus()
null for nonepublic PlaylistItem setStatus(PlaylistItemStatus status)
status - status or null for nonepublic PlaylistItem set(String fieldName, Object value)
set in class GenericJsonpublic PlaylistItem clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.