public final class CdnSettings
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: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
CdnSettings() |
Modifier and Type | Method and Description |
---|---|
CdnSettings |
clone() |
java.lang.String |
getFormat()
The format of the video stream that you are sending to Youtube.
|
IngestionInfo |
getIngestionInfo()
The ingestionInfo object contains information that YouTube provides that you need to transmit
your RTMP or HTTP stream to YouTube.
|
java.lang.String |
getIngestionType()
The method or protocol used to transmit the video stream.
|
CdnSettings |
set(java.lang.String fieldName,
java.lang.Object value) |
CdnSettings |
setFormat(java.lang.String format)
The format of the video stream that you are sending to Youtube.
|
CdnSettings |
setIngestionInfo(IngestionInfo ingestionInfo)
The ingestionInfo object contains information that YouTube provides that you need to transmit
your RTMP or HTTP stream to YouTube.
|
CdnSettings |
setIngestionType(java.lang.String ingestionType)
The method or protocol used to transmit the video stream.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.String getFormat()
null
for nonepublic CdnSettings setFormat(java.lang.String format)
format
- format or null
for nonepublic IngestionInfo getIngestionInfo()
null
for nonepublic CdnSettings setIngestionInfo(IngestionInfo ingestionInfo)
ingestionInfo
- ingestionInfo or null
for nonepublic java.lang.String getIngestionType()
null
for nonepublic CdnSettings setIngestionType(java.lang.String ingestionType)
ingestionType
- ingestionType or null
for nonepublic CdnSettings set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public CdnSettings clone()
clone
in class com.google.api.client.json.GenericJson