#include <channel_settings.h>
Branding properties for the channel view.
◆ ChannelSettings() [1/2]
google_youtube_api::ChannelSettings::ChannelSettings |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ChannelSettings() [2/2]
google_youtube_api::ChannelSettings::ChannelSettings |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~ChannelSettings()
google_youtube_api::ChannelSettings::~ChannelSettings |
( |
| ) |
|
|
virtual |
◆ clear_country()
void google_youtube_api::ChannelSettings::clear_country |
( |
| ) |
|
|
inline |
Clears the 'country
' attribute.
◆ clear_default_language()
void google_youtube_api::ChannelSettings::clear_default_language |
( |
| ) |
|
|
inline |
Clears the 'defaultLanguage
' attribute.
◆ clear_default_tab()
void google_youtube_api::ChannelSettings::clear_default_tab |
( |
| ) |
|
|
inline |
Clears the 'defaultTab
' attribute.
◆ clear_description()
void google_youtube_api::ChannelSettings::clear_description |
( |
| ) |
|
|
inline |
Clears the 'description
' attribute.
◆ clear_featured_channels_title()
void google_youtube_api::ChannelSettings::clear_featured_channels_title |
( |
| ) |
|
|
inline |
Clears the 'featuredChannelsTitle
' attribute.
◆ clear_featured_channels_urls()
void google_youtube_api::ChannelSettings::clear_featured_channels_urls |
( |
| ) |
|
|
inline |
Clears the 'featuredChannelsUrls
' attribute.
◆ clear_keywords()
void google_youtube_api::ChannelSettings::clear_keywords |
( |
| ) |
|
|
inline |
Clears the 'keywords
' attribute.
◆ clear_moderate_comments()
void google_youtube_api::ChannelSettings::clear_moderate_comments |
( |
| ) |
|
|
inline |
Clears the 'moderateComments
' attribute.
◆ clear_profile_color()
void google_youtube_api::ChannelSettings::clear_profile_color |
( |
| ) |
|
|
inline |
Clears the 'profileColor
' attribute.
◆ clear_show_browse_view()
void google_youtube_api::ChannelSettings::clear_show_browse_view |
( |
| ) |
|
|
inline |
Clears the 'showBrowseView
' attribute.
◆ clear_show_related_channels()
void google_youtube_api::ChannelSettings::clear_show_related_channels |
( |
| ) |
|
|
inline |
Clears the 'showRelatedChannels
' attribute.
◆ clear_title()
void google_youtube_api::ChannelSettings::clear_title |
( |
| ) |
|
|
inline |
Clears the 'title
' attribute.
◆ clear_tracking_analytics_account_id()
void google_youtube_api::ChannelSettings::clear_tracking_analytics_account_id |
( |
| ) |
|
|
inline |
Clears the 'trackingAnalyticsAccountId
' attribute.
◆ clear_unsubscribed_trailer()
void google_youtube_api::ChannelSettings::clear_unsubscribed_trailer |
( |
| ) |
|
|
inline |
Clears the 'unsubscribedTrailer
' attribute.
◆ get_country()
const StringPiece google_youtube_api::ChannelSettings::get_country |
( |
| ) |
const |
|
inline |
Get the value of the 'country
' attribute.
◆ get_default_language()
const StringPiece google_youtube_api::ChannelSettings::get_default_language |
( |
| ) |
const |
|
inline |
Get the value of the 'defaultLanguage
' attribute.
◆ get_default_tab()
const StringPiece google_youtube_api::ChannelSettings::get_default_tab |
( |
| ) |
const |
|
inline |
Get the value of the 'defaultTab
' attribute.
◆ get_description()
const StringPiece google_youtube_api::ChannelSettings::get_description |
( |
| ) |
const |
|
inline |
Get the value of the 'description
' attribute.
◆ get_featured_channels_title()
const StringPiece google_youtube_api::ChannelSettings::get_featured_channels_title |
( |
| ) |
const |
|
inline |
Get the value of the 'featuredChannelsTitle
' attribute.
◆ get_featured_channels_urls()
const client::JsonCppArray<string > google_youtube_api::ChannelSettings::get_featured_channels_urls |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'featuredChannelsUrls
' attribute.
◆ get_keywords()
const StringPiece google_youtube_api::ChannelSettings::get_keywords |
( |
| ) |
const |
|
inline |
Get the value of the 'keywords
' attribute.
◆ get_moderate_comments()
bool google_youtube_api::ChannelSettings::get_moderate_comments |
( |
| ) |
const |
|
inline |
Get the value of the 'moderateComments
' attribute.
◆ get_profile_color()
const StringPiece google_youtube_api::ChannelSettings::get_profile_color |
( |
| ) |
const |
|
inline |
Get the value of the 'profileColor
' attribute.
◆ get_show_browse_view()
bool google_youtube_api::ChannelSettings::get_show_browse_view |
( |
| ) |
const |
|
inline |
Get the value of the 'showBrowseView
' attribute.
◆ get_show_related_channels()
bool google_youtube_api::ChannelSettings::get_show_related_channels |
( |
| ) |
const |
|
inline |
Get the value of the 'showRelatedChannels
' attribute.
◆ get_title()
const StringPiece google_youtube_api::ChannelSettings::get_title |
( |
| ) |
const |
|
inline |
Get the value of the 'title
' attribute.
◆ get_tracking_analytics_account_id()
const StringPiece google_youtube_api::ChannelSettings::get_tracking_analytics_account_id |
( |
| ) |
const |
|
inline |
Get the value of the 'trackingAnalyticsAccountId
' attribute.
◆ get_unsubscribed_trailer()
const StringPiece google_youtube_api::ChannelSettings::get_unsubscribed_trailer |
( |
| ) |
const |
|
inline |
Get the value of the 'unsubscribedTrailer
' attribute.
◆ GetTypeName()
const StringPiece google_youtube_api::ChannelSettings::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_country()
bool google_youtube_api::ChannelSettings::has_country |
( |
| ) |
const |
|
inline |
Determine if the 'country
' attribute was set.
- Returns
- true if the '
country
' attribute was set.
◆ has_default_language()
bool google_youtube_api::ChannelSettings::has_default_language |
( |
| ) |
const |
|
inline |
Determine if the 'defaultLanguage
' attribute was set.
- Returns
- true if the '
defaultLanguage
' attribute was set.
◆ has_default_tab()
bool google_youtube_api::ChannelSettings::has_default_tab |
( |
| ) |
const |
|
inline |
Determine if the 'defaultTab
' attribute was set.
- Returns
- true if the '
defaultTab
' attribute was set.
◆ has_description()
bool google_youtube_api::ChannelSettings::has_description |
( |
| ) |
const |
|
inline |
Determine if the 'description
' attribute was set.
- Returns
- true if the '
description
' attribute was set.
◆ has_featured_channels_title()
bool google_youtube_api::ChannelSettings::has_featured_channels_title |
( |
| ) |
const |
|
inline |
Determine if the 'featuredChannelsTitle
' attribute was set.
- Returns
- true if the '
featuredChannelsTitle
' attribute was set.
◆ has_featured_channels_urls()
bool google_youtube_api::ChannelSettings::has_featured_channels_urls |
( |
| ) |
const |
|
inline |
Determine if the 'featuredChannelsUrls
' attribute was set.
- Returns
- true if the '
featuredChannelsUrls
' attribute was set.
◆ has_keywords()
bool google_youtube_api::ChannelSettings::has_keywords |
( |
| ) |
const |
|
inline |
Determine if the 'keywords
' attribute was set.
- Returns
- true if the '
keywords
' attribute was set.
◆ has_moderate_comments()
bool google_youtube_api::ChannelSettings::has_moderate_comments |
( |
| ) |
const |
|
inline |
Determine if the 'moderateComments
' attribute was set.
- Returns
- true if the '
moderateComments
' attribute was set.
◆ has_profile_color()
bool google_youtube_api::ChannelSettings::has_profile_color |
( |
| ) |
const |
|
inline |
Determine if the 'profileColor
' attribute was set.
- Returns
- true if the '
profileColor
' attribute was set.
◆ has_show_browse_view()
bool google_youtube_api::ChannelSettings::has_show_browse_view |
( |
| ) |
const |
|
inline |
Determine if the 'showBrowseView
' attribute was set.
- Returns
- true if the '
showBrowseView
' attribute was set.
◆ has_show_related_channels()
bool google_youtube_api::ChannelSettings::has_show_related_channels |
( |
| ) |
const |
|
inline |
Determine if the 'showRelatedChannels
' attribute was set.
- Returns
- true if the '
showRelatedChannels
' attribute was set.
◆ has_title()
bool google_youtube_api::ChannelSettings::has_title |
( |
| ) |
const |
|
inline |
Determine if the 'title
' attribute was set.
- Returns
- true if the '
title
' attribute was set.
◆ has_tracking_analytics_account_id()
bool google_youtube_api::ChannelSettings::has_tracking_analytics_account_id |
( |
| ) |
const |
|
inline |
Determine if the 'trackingAnalyticsAccountId
' attribute was set.
- Returns
- true if the '
trackingAnalyticsAccountId
' attribute was set.
◆ has_unsubscribed_trailer()
bool google_youtube_api::ChannelSettings::has_unsubscribed_trailer |
( |
| ) |
const |
|
inline |
Determine if the 'unsubscribedTrailer
' attribute was set.
- Returns
- true if the '
unsubscribedTrailer
' attribute was set.
◆ mutable_featuredChannelsUrls()
client::JsonCppArray<string > google_youtube_api::ChannelSettings::mutable_featuredChannelsUrls |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'featuredChannelsUrls
' property.
The list of featured channels.
- Returns
- The result can be modified to change the attribute value.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_country()
void google_youtube_api::ChannelSettings::set_country |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'country
' attribute.
The country of the channel.
- Parameters
-
◆ set_default_language()
void google_youtube_api::ChannelSettings::set_default_language |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'defaultLanguage
' attribute.
- Parameters
-
◆ set_default_tab()
void google_youtube_api::ChannelSettings::set_default_tab |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'defaultTab
' attribute.
Which content tab users should see when viewing the channel.
- Parameters
-
◆ set_description()
void google_youtube_api::ChannelSettings::set_description |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'description
' attribute.
Specifies the channel description.
- Parameters
-
◆ set_featured_channels_title()
void google_youtube_api::ChannelSettings::set_featured_channels_title |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'featuredChannelsTitle
' attribute.
Title for the featured channels tab.
- Parameters
-
◆ set_keywords()
void google_youtube_api::ChannelSettings::set_keywords |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'keywords
' attribute.
Lists keywords associated with the channel, comma-separated.
- Parameters
-
◆ set_moderate_comments()
void google_youtube_api::ChannelSettings::set_moderate_comments |
( |
bool |
value | ) |
|
|
inline |
Change the 'moderateComments
' attribute.
Whether user-submitted comments left on the channel page need to be approved by the channel owner to be publicly visible.
- Parameters
-
◆ set_profile_color()
void google_youtube_api::ChannelSettings::set_profile_color |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'profileColor
' attribute.
A prominent color that can be rendered on this channel page.
- Parameters
-
◆ set_show_browse_view()
void google_youtube_api::ChannelSettings::set_show_browse_view |
( |
bool |
value | ) |
|
|
inline |
Change the 'showBrowseView
' attribute.
Whether the tab to browse the videos should be displayed.
- Parameters
-
◆ set_show_related_channels()
void google_youtube_api::ChannelSettings::set_show_related_channels |
( |
bool |
value | ) |
|
|
inline |
Change the 'showRelatedChannels
' attribute.
Whether related channels should be proposed.
- Parameters
-
◆ set_title()
void google_youtube_api::ChannelSettings::set_title |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'title
' attribute.
Specifies the channel title.
- Parameters
-
◆ set_tracking_analytics_account_id()
void google_youtube_api::ChannelSettings::set_tracking_analytics_account_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'trackingAnalyticsAccountId
' attribute.
The ID for a Google Analytics account to track and measure traffic to the channels.
- Parameters
-
◆ set_unsubscribed_trailer()
void google_youtube_api::ChannelSettings::set_unsubscribed_trailer |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'unsubscribedTrailer
' attribute.
The trailer of the channel, for users that are not subscribers.
- Parameters
-
The documentation for this class was generated from the following files: