public final class Channel 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 v3. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
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.
|
String |
getEtag()
Etag of this resource.
|
String |
getId()
The ID that YouTube uses to uniquely identify the channel.
|
String |
getKind()
Identifies what kind of resource this is.
|
Map<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(String fieldName,
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(String etag)
Etag of this resource.
|
Channel |
setId(String id)
The ID that YouTube uses to uniquely identify the channel.
|
Channel |
setKind(String kind)
Identifies what kind of resource this is.
|
Channel |
setLocalizations(Map<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, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
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 String getEtag()
null
for nonepublic Channel setEtag(String etag)
etag
- etag or null
for nonepublic String getId()
null
for nonepublic Channel setId(String id)
id
- id or null
for nonepublic String getKind()
null
for nonepublic Channel setKind(String kind)
kind
- kind or null
for nonepublic Map<String,ChannelLocalization> getLocalizations()
null
for nonepublic Channel setLocalizations(Map<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(String fieldName, Object value)
set
in class GenericJson
public Channel clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.