public final class ChannelSettings 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ChannelSettings() |
| 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.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getCountry()
null for nonepublic ChannelSettings setCountry(String country)
country - country or null for nonepublic String getDefaultLanguage()
null for nonepublic ChannelSettings setDefaultLanguage(String defaultLanguage)
defaultLanguage - defaultLanguage or null for nonepublic String getDefaultTab()
null for nonepublic ChannelSettings setDefaultTab(String defaultTab)
defaultTab - defaultTab or null for nonepublic String getDescription()
null for nonepublic ChannelSettings setDescription(String description)
description - description or null for nonepublic String getFeaturedChannelsTitle()
null for nonepublic ChannelSettings setFeaturedChannelsTitle(String featuredChannelsTitle)
featuredChannelsTitle - featuredChannelsTitle or null for nonepublic List<String> getFeaturedChannelsUrls()
null for nonepublic ChannelSettings setFeaturedChannelsUrls(List<String> featuredChannelsUrls)
featuredChannelsUrls - featuredChannelsUrls or null for nonepublic String getKeywords()
null for nonepublic ChannelSettings setKeywords(String keywords)
keywords - keywords or null for nonepublic Boolean getModerateComments()
null for nonepublic ChannelSettings setModerateComments(Boolean moderateComments)
moderateComments - moderateComments or null for nonepublic String getProfileColor()
null for nonepublic ChannelSettings setProfileColor(String profileColor)
profileColor - profileColor or null for nonepublic Boolean getShowBrowseView()
null for nonepublic ChannelSettings setShowBrowseView(Boolean showBrowseView)
showBrowseView - showBrowseView or null for nonepublic Boolean getShowRelatedChannels()
null for nonepublic ChannelSettings setShowRelatedChannels(Boolean showRelatedChannels)
showRelatedChannels - showRelatedChannels or null for nonepublic String getTitle()
null for nonepublic ChannelSettings setTitle(String title)
title - title or null for nonepublic String getTrackingAnalyticsAccountId()
null for nonepublic ChannelSettings setTrackingAnalyticsAccountId(String trackingAnalyticsAccountId)
trackingAnalyticsAccountId - trackingAnalyticsAccountId or null for nonepublic String getUnsubscribedTrailer()
null for nonepublic ChannelSettings setUnsubscribedTrailer(String unsubscribedTrailer)
unsubscribedTrailer - unsubscribedTrailer or null for nonepublic ChannelSettings set(String fieldName, Object value)
set in class GenericJsonpublic ChannelSettings clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.