public final class Channel
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 |
---|
Channel() |
Modifier and Type | Method and Description |
---|---|
Channel |
clone() |
ChannelAuditDetails |
getAuditDetails()
The auditionDetails object encapsulates channel data that is relevant for YouTube Partners
during the audition process.
|
ChannelBrandingSettings |
getBrandingSettings()
The brandingSettings object encapsulates information about the branding of the channel.
|
ChannelContentDetails |
getContentDetails()
The contentDetails object encapsulates information about the channel's content.
|
ChannelContentOwnerDetails |
getContentOwnerDetails()
The contentOwnerDetails object encapsulates channel data that is relevant for YouTube Partners
linked with the channel.
|
ChannelConversionPings |
getConversionPings()
The conversionPings object encapsulates information about conversion pings that need to be
respected by the channel.
|
java.lang.String |
getEtag()
Etag of this resource.
|
java.lang.String |
getId()
The ID that YouTube uses to uniquely identify the channel.
|
InvideoPromotion |
getInvideoPromotion()
The invideoPromotion object encapsulates information about promotion campaign associated with
the channel.
|
java.lang.String |
getKind()
Identifies what kind of resource this is.
|
java.util.Map<java.lang.String,ChannelLocalization> |
getLocalizations()
Localizations for different languages
|
ChannelSnippet |
getSnippet()
The snippet object contains basic details about the channel, such as its title, description,
and thumbnail images.
|
ChannelStatistics |
getStatistics()
The statistics object encapsulates statistics for the channel.
|
ChannelStatus |
getStatus()
The status object encapsulates information about the privacy status of the channel.
|
ChannelTopicDetails |
getTopicDetails()
The topicDetails object encapsulates information about Freebase topics associated with the
channel.
|
Channel |
set(java.lang.String fieldName,
java.lang.Object value) |
Channel |
setAuditDetails(ChannelAuditDetails auditDetails)
The auditionDetails object encapsulates channel data that is relevant for YouTube Partners
during the audition process.
|
Channel |
setBrandingSettings(ChannelBrandingSettings brandingSettings)
The brandingSettings object encapsulates information about the branding of the channel.
|
Channel |
setContentDetails(ChannelContentDetails contentDetails)
The contentDetails object encapsulates information about the channel's content.
|
Channel |
setContentOwnerDetails(ChannelContentOwnerDetails contentOwnerDetails)
The contentOwnerDetails object encapsulates channel data that is relevant for YouTube Partners
linked with the channel.
|
Channel |
setConversionPings(ChannelConversionPings conversionPings)
The conversionPings object encapsulates information about conversion pings that need to be
respected by the channel.
|
Channel |
setEtag(java.lang.String etag)
Etag of this resource.
|
Channel |
setId(java.lang.String id)
The ID that YouTube uses to uniquely identify the channel.
|
Channel |
setInvideoPromotion(InvideoPromotion invideoPromotion)
The invideoPromotion object encapsulates information about promotion campaign associated with
the channel.
|
Channel |
setKind(java.lang.String kind)
Identifies what kind of resource this is.
|
Channel |
setLocalizations(java.util.Map<java.lang.String,ChannelLocalization> localizations)
Localizations for different languages
|
Channel |
setSnippet(ChannelSnippet snippet)
The snippet object contains basic details about the channel, such as its title, description,
and thumbnail images.
|
Channel |
setStatistics(ChannelStatistics statistics)
The statistics object encapsulates statistics for the channel.
|
Channel |
setStatus(ChannelStatus status)
The status object encapsulates information about the privacy status of the channel.
|
Channel |
setTopicDetails(ChannelTopicDetails topicDetails)
The topicDetails object encapsulates information about Freebase topics associated with the
channel.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public ChannelAuditDetails getAuditDetails()
null
for nonepublic Channel setAuditDetails(ChannelAuditDetails auditDetails)
auditDetails
- auditDetails or null
for nonepublic ChannelBrandingSettings getBrandingSettings()
null
for nonepublic Channel setBrandingSettings(ChannelBrandingSettings brandingSettings)
brandingSettings
- brandingSettings or null
for nonepublic ChannelContentDetails getContentDetails()
null
for nonepublic Channel setContentDetails(ChannelContentDetails contentDetails)
contentDetails
- contentDetails or null
for nonepublic ChannelContentOwnerDetails getContentOwnerDetails()
null
for nonepublic Channel setContentOwnerDetails(ChannelContentOwnerDetails contentOwnerDetails)
contentOwnerDetails
- contentOwnerDetails or null
for nonepublic ChannelConversionPings getConversionPings()
null
for nonepublic Channel setConversionPings(ChannelConversionPings conversionPings)
conversionPings
- conversionPings or null
for nonepublic java.lang.String getEtag()
null
for nonepublic Channel setEtag(java.lang.String etag)
etag
- etag or null
for nonepublic java.lang.String getId()
null
for nonepublic Channel setId(java.lang.String id)
id
- id or null
for nonepublic InvideoPromotion getInvideoPromotion()
null
for nonepublic Channel setInvideoPromotion(InvideoPromotion invideoPromotion)
invideoPromotion
- invideoPromotion or null
for nonepublic java.lang.String getKind()
null
for nonepublic Channel setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.util.Map<java.lang.String,ChannelLocalization> getLocalizations()
null
for nonepublic Channel setLocalizations(java.util.Map<java.lang.String,ChannelLocalization> localizations)
localizations
- localizations or null
for nonepublic ChannelSnippet getSnippet()
null
for nonepublic Channel setSnippet(ChannelSnippet snippet)
snippet
- snippet or null
for nonepublic ChannelStatistics getStatistics()
null
for nonepublic Channel setStatistics(ChannelStatistics statistics)
statistics
- statistics or null
for nonepublic ChannelStatus getStatus()
null
for nonepublic Channel setStatus(ChannelStatus status)
status
- status or null
for nonepublic ChannelTopicDetails getTopicDetails()
null
for nonepublic Channel setTopicDetails(ChannelTopicDetails topicDetails)
topicDetails
- topicDetails or null
for nonepublic Channel set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Channel clone()
clone
in class com.google.api.client.json.GenericJson