target.apidocs.com.google.api.services.youtube.model.Channel.html Maven / Gradle / Ivy
Channel (YouTube Data API v3 v3-rev20240909-2.0.0)
com.google.api.services.youtube.model
Class Channel
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.youtube.model.Channel
-
public final class Channel
extends com.google.api.client.json.GenericJson
A *channel* resource contains information about a YouTube channel.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
Channel()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getAuditDetails
public ChannelAuditDetails getAuditDetails()
The auditionDetails object encapsulates channel data that is relevant for YouTube Partners
during the audition process.
- Returns:
- value or
null
for none
-
setAuditDetails
public Channel setAuditDetails(ChannelAuditDetails auditDetails)
The auditionDetails object encapsulates channel data that is relevant for YouTube Partners
during the audition process.
- Parameters:
auditDetails
- auditDetails or null
for none
-
getBrandingSettings
public ChannelBrandingSettings getBrandingSettings()
The brandingSettings object encapsulates information about the branding of the channel.
- Returns:
- value or
null
for none
-
setBrandingSettings
public Channel setBrandingSettings(ChannelBrandingSettings brandingSettings)
The brandingSettings object encapsulates information about the branding of the channel.
- Parameters:
brandingSettings
- brandingSettings or null
for none
-
getContentDetails
public ChannelContentDetails getContentDetails()
The contentDetails object encapsulates information about the channel's content.
- Returns:
- value or
null
for none
-
setContentDetails
public Channel setContentDetails(ChannelContentDetails contentDetails)
The contentDetails object encapsulates information about the channel's content.
- Parameters:
contentDetails
- contentDetails or null
for none
-
getContentOwnerDetails
public ChannelContentOwnerDetails getContentOwnerDetails()
The contentOwnerDetails object encapsulates channel data that is relevant for YouTube Partners
linked with the channel.
- Returns:
- value or
null
for none
-
setContentOwnerDetails
public Channel setContentOwnerDetails(ChannelContentOwnerDetails contentOwnerDetails)
The contentOwnerDetails object encapsulates channel data that is relevant for YouTube Partners
linked with the channel.
- Parameters:
contentOwnerDetails
- contentOwnerDetails or null
for none
-
getConversionPings
public ChannelConversionPings getConversionPings()
The conversionPings object encapsulates information about conversion pings that need to be
respected by the channel.
- Returns:
- value or
null
for none
-
setConversionPings
public Channel setConversionPings(ChannelConversionPings conversionPings)
The conversionPings object encapsulates information about conversion pings that need to be
respected by the channel.
- Parameters:
conversionPings
- conversionPings or null
for none
-
getEtag
public String getEtag()
Etag of this resource.
- Returns:
- value or
null
for none
-
setEtag
public Channel setEtag(String etag)
Etag of this resource.
- Parameters:
etag
- etag or null
for none
-
getId
public String getId()
The ID that YouTube uses to uniquely identify the channel.
- Returns:
- value or
null
for none
-
setId
public Channel setId(String id)
The ID that YouTube uses to uniquely identify the channel.
- Parameters:
id
- id or null
for none
-
getKind
public String getKind()
Identifies what kind of resource this is. Value: the fixed string "youtube#channel".
- Returns:
- value or
null
for none
-
setKind
public Channel setKind(String kind)
Identifies what kind of resource this is. Value: the fixed string "youtube#channel".
- Parameters:
kind
- kind or null
for none
-
getLocalizations
public Map<String,ChannelLocalization> getLocalizations()
Localizations for different languages
- Returns:
- value or
null
for none
-
setLocalizations
public Channel setLocalizations(Map<String,ChannelLocalization> localizations)
Localizations for different languages
- Parameters:
localizations
- localizations or null
for none
-
getSnippet
public ChannelSnippet getSnippet()
The snippet object contains basic details about the channel, such as its title, description,
and thumbnail images.
- Returns:
- value or
null
for none
-
setSnippet
public Channel setSnippet(ChannelSnippet snippet)
The snippet object contains basic details about the channel, such as its title, description,
and thumbnail images.
- Parameters:
snippet
- snippet or null
for none
-
getStatistics
public ChannelStatistics getStatistics()
The statistics object encapsulates statistics for the channel.
- Returns:
- value or
null
for none
-
setStatistics
public Channel setStatistics(ChannelStatistics statistics)
The statistics object encapsulates statistics for the channel.
- Parameters:
statistics
- statistics or null
for none
-
getStatus
public ChannelStatus getStatus()
The status object encapsulates information about the privacy status of the channel.
- Returns:
- value or
null
for none
-
setStatus
public Channel setStatus(ChannelStatus status)
The status object encapsulates information about the privacy status of the channel.
- Parameters:
status
- status or null
for none
-
getTopicDetails
public ChannelTopicDetails getTopicDetails()
The topicDetails object encapsulates information about Freebase topics associated with the
channel.
- Returns:
- value or
null
for none
-
setTopicDetails
public Channel setTopicDetails(ChannelTopicDetails topicDetails)
The topicDetails object encapsulates information about Freebase topics associated with the
channel.
- Parameters:
topicDetails
- topicDetails or null
for none
-
set
public Channel set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public Channel clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy