public final class ChannelSettings
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: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
ChannelSettings() |
Modifier and Type | Method and Description |
---|---|
ChannelSettings |
clone() |
java.lang.String |
getCountry()
The country of the channel.
|
java.lang.String |
getDefaultLanguage() |
java.lang.String |
getDefaultTab()
Which content tab users should see when viewing the channel.
|
java.lang.String |
getDescription()
Specifies the channel description.
|
java.lang.String |
getFeaturedChannelsTitle()
Title for the featured channels tab.
|
java.util.List<java.lang.String> |
getFeaturedChannelsUrls()
The list of featured channels.
|
java.lang.String |
getKeywords()
Lists keywords associated with the channel, comma-separated.
|
java.lang.Boolean |
getModerateComments()
Whether user-submitted comments left on the channel page need to be approved by the channel
owner to be publicly visible.
|
java.lang.String |
getProfileColor()
A prominent color that can be rendered on this channel page.
|
java.lang.Boolean |
getShowBrowseView()
Whether the tab to browse the videos should be displayed.
|
java.lang.Boolean |
getShowRelatedChannels()
Whether related channels should be proposed.
|
java.lang.String |
getTitle()
Specifies the channel title.
|
java.lang.String |
getTrackingAnalyticsAccountId()
The ID for a Google Analytics account to track and measure traffic to the channels.
|
java.lang.String |
getUnsubscribedTrailer()
The trailer of the channel, for users that are not subscribers.
|
ChannelSettings |
set(java.lang.String fieldName,
java.lang.Object value) |
ChannelSettings |
setCountry(java.lang.String country)
The country of the channel.
|
ChannelSettings |
setDefaultLanguage(java.lang.String defaultLanguage) |
ChannelSettings |
setDefaultTab(java.lang.String defaultTab)
Which content tab users should see when viewing the channel.
|
ChannelSettings |
setDescription(java.lang.String description)
Specifies the channel description.
|
ChannelSettings |
setFeaturedChannelsTitle(java.lang.String featuredChannelsTitle)
Title for the featured channels tab.
|
ChannelSettings |
setFeaturedChannelsUrls(java.util.List<java.lang.String> featuredChannelsUrls)
The list of featured channels.
|
ChannelSettings |
setKeywords(java.lang.String keywords)
Lists keywords associated with the channel, comma-separated.
|
ChannelSettings |
setModerateComments(java.lang.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(java.lang.String profileColor)
A prominent color that can be rendered on this channel page.
|
ChannelSettings |
setShowBrowseView(java.lang.Boolean showBrowseView)
Whether the tab to browse the videos should be displayed.
|
ChannelSettings |
setShowRelatedChannels(java.lang.Boolean showRelatedChannels)
Whether related channels should be proposed.
|
ChannelSettings |
setTitle(java.lang.String title)
Specifies the channel title.
|
ChannelSettings |
setTrackingAnalyticsAccountId(java.lang.String trackingAnalyticsAccountId)
The ID for a Google Analytics account to track and measure traffic to the channels.
|
ChannelSettings |
setUnsubscribedTrailer(java.lang.String unsubscribedTrailer)
The trailer of the channel, for users that are not subscribers.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getCountry()
null
for nonepublic ChannelSettings setCountry(java.lang.String country)
country
- country or null
for nonepublic java.lang.String getDefaultLanguage()
null
for nonepublic ChannelSettings setDefaultLanguage(java.lang.String defaultLanguage)
defaultLanguage
- defaultLanguage or null
for nonepublic java.lang.String getDefaultTab()
null
for nonepublic ChannelSettings setDefaultTab(java.lang.String defaultTab)
defaultTab
- defaultTab or null
for nonepublic java.lang.String getDescription()
null
for nonepublic ChannelSettings setDescription(java.lang.String description)
description
- description or null
for nonepublic java.lang.String getFeaturedChannelsTitle()
null
for nonepublic ChannelSettings setFeaturedChannelsTitle(java.lang.String featuredChannelsTitle)
featuredChannelsTitle
- featuredChannelsTitle or null
for nonepublic java.util.List<java.lang.String> getFeaturedChannelsUrls()
null
for nonepublic ChannelSettings setFeaturedChannelsUrls(java.util.List<java.lang.String> featuredChannelsUrls)
featuredChannelsUrls
- featuredChannelsUrls or null
for nonepublic java.lang.String getKeywords()
null
for nonepublic ChannelSettings setKeywords(java.lang.String keywords)
keywords
- keywords or null
for nonepublic java.lang.Boolean getModerateComments()
null
for nonepublic ChannelSettings setModerateComments(java.lang.Boolean moderateComments)
moderateComments
- moderateComments or null
for nonepublic java.lang.String getProfileColor()
null
for nonepublic ChannelSettings setProfileColor(java.lang.String profileColor)
profileColor
- profileColor or null
for nonepublic java.lang.Boolean getShowBrowseView()
null
for nonepublic ChannelSettings setShowBrowseView(java.lang.Boolean showBrowseView)
showBrowseView
- showBrowseView or null
for nonepublic java.lang.Boolean getShowRelatedChannels()
null
for nonepublic ChannelSettings setShowRelatedChannels(java.lang.Boolean showRelatedChannels)
showRelatedChannels
- showRelatedChannels or null
for nonepublic java.lang.String getTitle()
null
for nonepublic ChannelSettings setTitle(java.lang.String title)
title
- title or null
for nonepublic java.lang.String getTrackingAnalyticsAccountId()
null
for nonepublic ChannelSettings setTrackingAnalyticsAccountId(java.lang.String trackingAnalyticsAccountId)
trackingAnalyticsAccountId
- trackingAnalyticsAccountId or null
for nonepublic java.lang.String getUnsubscribedTrailer()
null
for nonepublic ChannelSettings setUnsubscribedTrailer(java.lang.String unsubscribedTrailer)
unsubscribedTrailer
- unsubscribedTrailer or null
for nonepublic ChannelSettings set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ChannelSettings clone()
clone
in class com.google.api.client.json.GenericJson