public final class LiveBroadcastSnippet
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 |
---|
LiveBroadcastSnippet() |
Modifier and Type | Method and Description |
---|---|
LiveBroadcastSnippet |
clone() |
com.google.api.client.util.DateTime |
getActualEndTime()
The date and time that the broadcast actually ended.
|
com.google.api.client.util.DateTime |
getActualStartTime()
The date and time that the broadcast actually started.
|
java.lang.String |
getBroadcastType() |
java.lang.String |
getChannelId()
The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast.
|
java.lang.String |
getDescription()
The broadcast's description.
|
java.lang.Boolean |
getIsDefaultBroadcast() |
java.lang.String |
getLiveChatId()
The id of the live chat for this broadcast.
|
com.google.api.client.util.DateTime |
getPublishedAt()
The date and time that the broadcast was added to YouTube's live broadcast schedule.
|
com.google.api.client.util.DateTime |
getScheduledEndTime()
The date and time that the broadcast is scheduled to end.
|
com.google.api.client.util.DateTime |
getScheduledStartTime()
The date and time that the broadcast is scheduled to start.
|
ThumbnailDetails |
getThumbnails()
A map of thumbnail images associated with the broadcast.
|
java.lang.String |
getTitle()
The broadcast's title.
|
LiveBroadcastSnippet |
set(java.lang.String fieldName,
java.lang.Object value) |
LiveBroadcastSnippet |
setActualEndTime(com.google.api.client.util.DateTime actualEndTime)
The date and time that the broadcast actually ended.
|
LiveBroadcastSnippet |
setActualStartTime(com.google.api.client.util.DateTime actualStartTime)
The date and time that the broadcast actually started.
|
LiveBroadcastSnippet |
setBroadcastType(java.lang.String broadcastType) |
LiveBroadcastSnippet |
setChannelId(java.lang.String channelId)
The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast.
|
LiveBroadcastSnippet |
setDescription(java.lang.String description)
The broadcast's description.
|
LiveBroadcastSnippet |
setIsDefaultBroadcast(java.lang.Boolean isDefaultBroadcast) |
LiveBroadcastSnippet |
setLiveChatId(java.lang.String liveChatId)
The id of the live chat for this broadcast.
|
LiveBroadcastSnippet |
setPublishedAt(com.google.api.client.util.DateTime publishedAt)
The date and time that the broadcast was added to YouTube's live broadcast schedule.
|
LiveBroadcastSnippet |
setScheduledEndTime(com.google.api.client.util.DateTime scheduledEndTime)
The date and time that the broadcast is scheduled to end.
|
LiveBroadcastSnippet |
setScheduledStartTime(com.google.api.client.util.DateTime scheduledStartTime)
The date and time that the broadcast is scheduled to start.
|
LiveBroadcastSnippet |
setThumbnails(ThumbnailDetails thumbnails)
A map of thumbnail images associated with the broadcast.
|
LiveBroadcastSnippet |
setTitle(java.lang.String title)
The broadcast's title.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public com.google.api.client.util.DateTime getActualEndTime()
null
for nonepublic LiveBroadcastSnippet setActualEndTime(com.google.api.client.util.DateTime actualEndTime)
actualEndTime
- actualEndTime or null
for nonepublic com.google.api.client.util.DateTime getActualStartTime()
null
for nonepublic LiveBroadcastSnippet setActualStartTime(com.google.api.client.util.DateTime actualStartTime)
actualStartTime
- actualStartTime or null
for nonepublic java.lang.String getBroadcastType()
null
for nonepublic LiveBroadcastSnippet setBroadcastType(java.lang.String broadcastType)
broadcastType
- broadcastType or null
for nonepublic java.lang.String getChannelId()
null
for nonepublic LiveBroadcastSnippet setChannelId(java.lang.String channelId)
channelId
- channelId or null
for nonepublic java.lang.String getDescription()
null
for nonepublic LiveBroadcastSnippet setDescription(java.lang.String description)
description
- description or null
for nonepublic java.lang.Boolean getIsDefaultBroadcast()
null
for nonepublic LiveBroadcastSnippet setIsDefaultBroadcast(java.lang.Boolean isDefaultBroadcast)
isDefaultBroadcast
- isDefaultBroadcast or null
for nonepublic java.lang.String getLiveChatId()
null
for nonepublic LiveBroadcastSnippet setLiveChatId(java.lang.String liveChatId)
liveChatId
- liveChatId or null
for nonepublic com.google.api.client.util.DateTime getPublishedAt()
null
for nonepublic LiveBroadcastSnippet setPublishedAt(com.google.api.client.util.DateTime publishedAt)
publishedAt
- publishedAt or null
for nonepublic com.google.api.client.util.DateTime getScheduledEndTime()
null
for nonepublic LiveBroadcastSnippet setScheduledEndTime(com.google.api.client.util.DateTime scheduledEndTime)
scheduledEndTime
- scheduledEndTime or null
for nonepublic com.google.api.client.util.DateTime getScheduledStartTime()
null
for nonepublic LiveBroadcastSnippet setScheduledStartTime(com.google.api.client.util.DateTime scheduledStartTime)
scheduledStartTime
- scheduledStartTime or null
for nonepublic ThumbnailDetails getThumbnails()
null
for nonepublic LiveBroadcastSnippet setThumbnails(ThumbnailDetails thumbnails)
thumbnails
- thumbnails or null
for nonepublic java.lang.String getTitle()
null
for nonepublic LiveBroadcastSnippet setTitle(java.lang.String title)
title
- title or null
for nonepublic LiveBroadcastSnippet set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public LiveBroadcastSnippet clone()
clone
in class com.google.api.client.json.GenericJson