public final class PlaylistItemContentDetails
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 v3. 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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
PlaylistItemContentDetails() |
Modifier and Type | Method and Description |
---|---|
PlaylistItemContentDetails |
clone() |
String |
getEndAt()
The time, measured in seconds from the start of the video, when the video should stop playing.
|
String |
getNote()
A user-generated note for this item.
|
String |
getStartAt()
The time, measured in seconds from the start of the video, when the video should start playing.
|
String |
getVideoId()
The ID that YouTube uses to uniquely identify a video.
|
com.google.api.client.util.DateTime |
getVideoPublishedAt()
The date and time that the video was published to YouTube.
|
PlaylistItemContentDetails |
set(String fieldName,
Object value) |
PlaylistItemContentDetails |
setEndAt(String endAt)
The time, measured in seconds from the start of the video, when the video should stop playing.
|
PlaylistItemContentDetails |
setNote(String note)
A user-generated note for this item.
|
PlaylistItemContentDetails |
setStartAt(String startAt)
The time, measured in seconds from the start of the video, when the video should start playing.
|
PlaylistItemContentDetails |
setVideoId(String videoId)
The ID that YouTube uses to uniquely identify a video.
|
PlaylistItemContentDetails |
setVideoPublishedAt(com.google.api.client.util.DateTime videoPublishedAt)
The date and time that the video was published to YouTube.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getEndAt()
null
for nonepublic PlaylistItemContentDetails setEndAt(String endAt)
endAt
- endAt or null
for nonepublic String getNote()
null
for nonepublic PlaylistItemContentDetails setNote(String note)
note
- note or null
for nonepublic String getStartAt()
null
for nonepublic PlaylistItemContentDetails setStartAt(String startAt)
startAt
- startAt or null
for nonepublic String getVideoId()
null
for nonepublic PlaylistItemContentDetails setVideoId(String videoId)
videoId
- videoId or null
for nonepublic com.google.api.client.util.DateTime getVideoPublishedAt()
null
for nonepublic PlaylistItemContentDetails setVideoPublishedAt(com.google.api.client.util.DateTime videoPublishedAt)
videoPublishedAt
- videoPublishedAt or null
for nonepublic PlaylistItemContentDetails set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public PlaylistItemContentDetails clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.