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. 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
Constructor and Description |
---|
PlaylistItemContentDetails() |
Modifier and Type | Method and Description |
---|---|
PlaylistItemContentDetails |
clone() |
java.lang.String |
getEndAt()
The time, measured in seconds from the start of the video, when the video should stop playing.
|
java.lang.String |
getNote()
A user-generated note for this item.
|
java.lang.String |
getStartAt()
The time, measured in seconds from the start of the video, when the video should start playing.
|
java.lang.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(java.lang.String fieldName,
java.lang.Object value) |
PlaylistItemContentDetails |
setEndAt(java.lang.String endAt)
The time, measured in seconds from the start of the video, when the video should stop playing.
|
PlaylistItemContentDetails |
setNote(java.lang.String note)
A user-generated note for this item.
|
PlaylistItemContentDetails |
setStartAt(java.lang.String startAt)
The time, measured in seconds from the start of the video, when the video should start playing.
|
PlaylistItemContentDetails |
setVideoId(java.lang.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, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getEndAt()
null
for nonepublic PlaylistItemContentDetails setEndAt(java.lang.String endAt)
endAt
- endAt or null
for nonepublic java.lang.String getNote()
null
for nonepublic PlaylistItemContentDetails setNote(java.lang.String note)
note
- note or null
for nonepublic java.lang.String getStartAt()
null
for nonepublic PlaylistItemContentDetails setStartAt(java.lang.String startAt)
startAt
- startAt or null
for nonepublic java.lang.String getVideoId()
null
for nonepublic PlaylistItemContentDetails setVideoId(java.lang.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(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public PlaylistItemContentDetails clone()
clone
in class com.google.api.client.json.GenericJson