public final class PlaylistItemContentDetails 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-http-java-client/wiki/JSON
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.
|
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.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
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 PlaylistItemContentDetails set(String fieldName, Object value)
set
in class GenericJson
public PlaylistItemContentDetails clone()
clone
in class GenericJson