youtube  v3
Public Member Functions | Static Public Member Functions | List of all members
google_youtube_api::WatchSettings Class Reference

#include <watch_settings.h>

Inheritance diagram for google_youtube_api::WatchSettings:

Public Member Functions

 WatchSettings (const Json::Value &storage)
 
 WatchSettings (Json::Value *storage)
 
virtual ~WatchSettings ()
 
const StringPiece GetTypeName () const
 
bool has_background_color () const
 
void clear_background_color ()
 
const StringPiece get_background_color () const
 
void set_background_color (const StringPiece &value)
 
bool has_featured_playlist_id () const
 
void clear_featured_playlist_id ()
 
const StringPiece get_featured_playlist_id () const
 
void set_featured_playlist_id (const StringPiece &value)
 
bool has_text_color () const
 
void clear_text_color ()
 
const StringPiece get_text_color () const
 
void set_text_color (const StringPiece &value)
 

Static Public Member Functions

static WatchSettingsNew ()
 

Detailed Description

Branding properties for the watch. All deprecated.

Constructor & Destructor Documentation

◆ WatchSettings() [1/2]

google_youtube_api::WatchSettings::WatchSettings ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ WatchSettings() [2/2]

google_youtube_api::WatchSettings::WatchSettings ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~WatchSettings()

google_youtube_api::WatchSettings::~WatchSettings ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_background_color()

void google_youtube_api::WatchSettings::clear_background_color ( )
inline

Clears the 'backgroundColor' attribute.

◆ clear_featured_playlist_id()

void google_youtube_api::WatchSettings::clear_featured_playlist_id ( )
inline

Clears the 'featuredPlaylistId' attribute.

◆ clear_text_color()

void google_youtube_api::WatchSettings::clear_text_color ( )
inline

Clears the 'textColor' attribute.

◆ get_background_color()

const StringPiece google_youtube_api::WatchSettings::get_background_color ( ) const
inline

Get the value of the 'backgroundColor' attribute.

◆ get_featured_playlist_id()

const StringPiece google_youtube_api::WatchSettings::get_featured_playlist_id ( ) const
inline

Get the value of the 'featuredPlaylistId' attribute.

◆ get_text_color()

const StringPiece google_youtube_api::WatchSettings::get_text_color ( ) const
inline

Get the value of the 'textColor' attribute.

◆ GetTypeName()

const StringPiece google_youtube_api::WatchSettings::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_youtube_api::WatchSettings

◆ has_background_color()

bool google_youtube_api::WatchSettings::has_background_color ( ) const
inline

Determine if the 'backgroundColor' attribute was set.

Returns
true if the 'backgroundColor' attribute was set.

◆ has_featured_playlist_id()

bool google_youtube_api::WatchSettings::has_featured_playlist_id ( ) const
inline

Determine if the 'featuredPlaylistId' attribute was set.

Returns
true if the 'featuredPlaylistId' attribute was set.

◆ has_text_color()

bool google_youtube_api::WatchSettings::has_text_color ( ) const
inline

Determine if the 'textColor' attribute was set.

Returns
true if the 'textColor' attribute was set.

◆ New()

WatchSettings * google_youtube_api::WatchSettings::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_background_color()

void google_youtube_api::WatchSettings::set_background_color ( const StringPiece &  value)
inline

Change the 'backgroundColor' attribute.

The text color for the video watch page's branded area.

Parameters
[in]valueThe new value.

◆ set_featured_playlist_id()

void google_youtube_api::WatchSettings::set_featured_playlist_id ( const StringPiece &  value)
inline

Change the 'featuredPlaylistId' attribute.

An ID that uniquely identifies a playlist that displays next to the video player.

Parameters
[in]valueThe new value.

◆ set_text_color()

void google_youtube_api::WatchSettings::set_text_color ( const StringPiece &  value)
inline

Change the 'textColor' attribute.

The background color for the video watch page's branded area.

Parameters
[in]valueThe new value.

The documentation for this class was generated from the following files: