public final class LiveStreamSnippet
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 |
---|
LiveStreamSnippet() |
Modifier and Type | Method and Description |
---|---|
LiveStreamSnippet |
clone() |
java.lang.String |
getChannelId()
The ID that YouTube uses to uniquely identify the channel that is transmitting the stream.
|
java.lang.String |
getDescription()
The stream's description.
|
java.lang.Boolean |
getIsDefaultStream() |
com.google.api.client.util.DateTime |
getPublishedAt()
The date and time that the stream was created.
|
java.lang.String |
getTitle()
The stream's title.
|
LiveStreamSnippet |
set(java.lang.String fieldName,
java.lang.Object value) |
LiveStreamSnippet |
setChannelId(java.lang.String channelId)
The ID that YouTube uses to uniquely identify the channel that is transmitting the stream.
|
LiveStreamSnippet |
setDescription(java.lang.String description)
The stream's description.
|
LiveStreamSnippet |
setIsDefaultStream(java.lang.Boolean isDefaultStream) |
LiveStreamSnippet |
setPublishedAt(com.google.api.client.util.DateTime publishedAt)
The date and time that the stream was created.
|
LiveStreamSnippet |
setTitle(java.lang.String title)
The stream's title.
|
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 getChannelId()
null
for nonepublic LiveStreamSnippet setChannelId(java.lang.String channelId)
channelId
- channelId or null
for nonepublic java.lang.String getDescription()
null
for nonepublic LiveStreamSnippet setDescription(java.lang.String description)
description
- description or null
for nonepublic java.lang.Boolean getIsDefaultStream()
null
for nonepublic LiveStreamSnippet setIsDefaultStream(java.lang.Boolean isDefaultStream)
isDefaultStream
- isDefaultStream or null
for nonepublic com.google.api.client.util.DateTime getPublishedAt()
null
for nonepublic LiveStreamSnippet setPublishedAt(com.google.api.client.util.DateTime publishedAt)
publishedAt
- publishedAt or null
for nonepublic java.lang.String getTitle()
null
for nonepublic LiveStreamSnippet setTitle(java.lang.String title)
title
- title or null
for nonepublic LiveStreamSnippet set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public LiveStreamSnippet clone()
clone
in class com.google.api.client.json.GenericJson