target.apidocs.com.google.api.services.youtube.model.ChannelSettings.html Maven / Gradle / Ivy
ChannelSettings (YouTube Data API v3 v3-rev20240909-2.0.0)
com.google.api.services.youtube.model
Class ChannelSettings
- 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.ChannelSettings
-
public final class ChannelSettings
extends com.google.api.client.json.GenericJson
Branding properties for the channel view.
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
ChannelSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
ChannelSettings
clone()
String
getCountry()
The country of the channel.
String
getDefaultLanguage()
String
getDefaultTab()
Which content tab users should see when viewing the channel.
String
getDescription()
Specifies the channel description.
String
getFeaturedChannelsTitle()
Title for the featured channels tab.
List<String>
getFeaturedChannelsUrls()
The list of featured channels.
String
getKeywords()
Lists keywords associated with the channel, comma-separated.
Boolean
getModerateComments()
Whether user-submitted comments left on the channel page need to be approved by the channel
owner to be publicly visible.
String
getProfileColor()
A prominent color that can be rendered on this channel page.
Boolean
getShowBrowseView()
Whether the tab to browse the videos should be displayed.
Boolean
getShowRelatedChannels()
Whether related channels should be proposed.
String
getTitle()
Specifies the channel title.
String
getTrackingAnalyticsAccountId()
The ID for a Google Analytics account to track and measure traffic to the channels.
String
getUnsubscribedTrailer()
The trailer of the channel, for users that are not subscribers.
ChannelSettings
set(String fieldName,
Object value)
ChannelSettings
setCountry(String country)
The country of the channel.
ChannelSettings
setDefaultLanguage(String defaultLanguage)
ChannelSettings
setDefaultTab(String defaultTab)
Which content tab users should see when viewing the channel.
ChannelSettings
setDescription(String description)
Specifies the channel description.
ChannelSettings
setFeaturedChannelsTitle(String featuredChannelsTitle)
Title for the featured channels tab.
ChannelSettings
setFeaturedChannelsUrls(List<String> featuredChannelsUrls)
The list of featured channels.
ChannelSettings
setKeywords(String keywords)
Lists keywords associated with the channel, comma-separated.
ChannelSettings
setModerateComments(Boolean moderateComments)
Whether user-submitted comments left on the channel page need to be approved by the channel
owner to be publicly visible.
ChannelSettings
setProfileColor(String profileColor)
A prominent color that can be rendered on this channel page.
ChannelSettings
setShowBrowseView(Boolean showBrowseView)
Whether the tab to browse the videos should be displayed.
ChannelSettings
setShowRelatedChannels(Boolean showRelatedChannels)
Whether related channels should be proposed.
ChannelSettings
setTitle(String title)
Specifies the channel title.
ChannelSettings
setTrackingAnalyticsAccountId(String trackingAnalyticsAccountId)
The ID for a Google Analytics account to track and measure traffic to the channels.
ChannelSettings
setUnsubscribedTrailer(String unsubscribedTrailer)
The trailer of the channel, for users that are not subscribers.
-
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
-
getCountry
public String getCountry()
The country of the channel.
- Returns:
- value or
null
for none
-
setCountry
public ChannelSettings setCountry(String country)
The country of the channel.
- Parameters:
country
- country or null
for none
-
getDefaultLanguage
public String getDefaultLanguage()
- Returns:
- value or
null
for none
-
setDefaultLanguage
public ChannelSettings setDefaultLanguage(String defaultLanguage)
- Parameters:
defaultLanguage
- defaultLanguage or null
for none
-
getDefaultTab
public String getDefaultTab()
Which content tab users should see when viewing the channel.
- Returns:
- value or
null
for none
-
setDefaultTab
public ChannelSettings setDefaultTab(String defaultTab)
Which content tab users should see when viewing the channel.
- Parameters:
defaultTab
- defaultTab or null
for none
-
getDescription
public String getDescription()
Specifies the channel description.
- Returns:
- value or
null
for none
-
setDescription
public ChannelSettings setDescription(String description)
Specifies the channel description.
- Parameters:
description
- description or null
for none
-
getFeaturedChannelsTitle
public String getFeaturedChannelsTitle()
Title for the featured channels tab.
- Returns:
- value or
null
for none
-
setFeaturedChannelsTitle
public ChannelSettings setFeaturedChannelsTitle(String featuredChannelsTitle)
Title for the featured channels tab.
- Parameters:
featuredChannelsTitle
- featuredChannelsTitle or null
for none
-
getFeaturedChannelsUrls
public List<String> getFeaturedChannelsUrls()
The list of featured channels.
- Returns:
- value or
null
for none
-
setFeaturedChannelsUrls
public ChannelSettings setFeaturedChannelsUrls(List<String> featuredChannelsUrls)
The list of featured channels.
- Parameters:
featuredChannelsUrls
- featuredChannelsUrls or null
for none
-
getKeywords
public String getKeywords()
Lists keywords associated with the channel, comma-separated.
- Returns:
- value or
null
for none
-
setKeywords
public ChannelSettings setKeywords(String keywords)
Lists keywords associated with the channel, comma-separated.
- Parameters:
keywords
- keywords or null
for none
-
getModerateComments
public Boolean getModerateComments()
Whether user-submitted comments left on the channel page need to be approved by the channel
owner to be publicly visible.
- Returns:
- value or
null
for none
-
setModerateComments
public ChannelSettings setModerateComments(Boolean moderateComments)
Whether user-submitted comments left on the channel page need to be approved by the channel
owner to be publicly visible.
- Parameters:
moderateComments
- moderateComments or null
for none
-
getProfileColor
public String getProfileColor()
A prominent color that can be rendered on this channel page.
- Returns:
- value or
null
for none
-
setProfileColor
public ChannelSettings setProfileColor(String profileColor)
A prominent color that can be rendered on this channel page.
- Parameters:
profileColor
- profileColor or null
for none
-
getShowBrowseView
public Boolean getShowBrowseView()
Whether the tab to browse the videos should be displayed.
- Returns:
- value or
null
for none
-
setShowBrowseView
public ChannelSettings setShowBrowseView(Boolean showBrowseView)
Whether the tab to browse the videos should be displayed.
- Parameters:
showBrowseView
- showBrowseView or null
for none
-
getShowRelatedChannels
public Boolean getShowRelatedChannels()
Whether related channels should be proposed.
- Returns:
- value or
null
for none
-
setShowRelatedChannels
public ChannelSettings setShowRelatedChannels(Boolean showRelatedChannels)
Whether related channels should be proposed.
- Parameters:
showRelatedChannels
- showRelatedChannels or null
for none
-
getTitle
public String getTitle()
Specifies the channel title.
- Returns:
- value or
null
for none
-
setTitle
public ChannelSettings setTitle(String title)
Specifies the channel title.
- Parameters:
title
- title or null
for none
-
getTrackingAnalyticsAccountId
public String getTrackingAnalyticsAccountId()
The ID for a Google Analytics account to track and measure traffic to the channels.
- Returns:
- value or
null
for none
-
setTrackingAnalyticsAccountId
public ChannelSettings setTrackingAnalyticsAccountId(String trackingAnalyticsAccountId)
The ID for a Google Analytics account to track and measure traffic to the channels.
- Parameters:
trackingAnalyticsAccountId
- trackingAnalyticsAccountId or null
for none
-
getUnsubscribedTrailer
public String getUnsubscribedTrailer()
The trailer of the channel, for users that are not subscribers.
- Returns:
- value or
null
for none
-
setUnsubscribedTrailer
public ChannelSettings setUnsubscribedTrailer(String unsubscribedTrailer)
The trailer of the channel, for users that are not subscribers.
- Parameters:
unsubscribedTrailer
- unsubscribedTrailer or null
for none
-
set
public ChannelSettings set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public ChannelSettings 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