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

#include <channel_section.h>

Inheritance diagram for google_youtube_api::ChannelSection:

Public Member Functions

 ChannelSection (const Json::Value &storage)
 
 ChannelSection (Json::Value *storage)
 
virtual ~ChannelSection ()
 
const StringPiece GetTypeName () const
 
bool has_content_details () const
 
void clear_content_details ()
 
const ChannelSectionContentDetails get_content_details () const
 
ChannelSectionContentDetails mutable_contentDetails ()
 
bool has_etag () const
 
void clear_etag ()
 
const StringPiece get_etag () const
 
void set_etag (const StringPiece &value)
 
bool has_id () const
 
void clear_id ()
 
const StringPiece get_id () const
 
void set_id (const StringPiece &value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_localizations () const
 
void clear_localizations ()
 
const client::JsonCppAssociativeArray< ChannelSectionLocalizationget_localizations () const
 
client::JsonCppAssociativeArray< ChannelSectionLocalizationmutable_localizations ()
 
bool has_snippet () const
 
void clear_snippet ()
 
const ChannelSectionSnippet get_snippet () const
 
ChannelSectionSnippet mutable_snippet ()
 
bool has_targeting () const
 
void clear_targeting ()
 
const ChannelSectionTargeting get_targeting () const
 
ChannelSectionTargeting mutable_targeting ()
 

Static Public Member Functions

static ChannelSectionNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ ChannelSection() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ ChannelSection() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~ChannelSection()

google_youtube_api::ChannelSection::~ChannelSection ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_content_details()

void google_youtube_api::ChannelSection::clear_content_details ( )
inline

Clears the 'contentDetails' attribute.

◆ clear_etag()

void google_youtube_api::ChannelSection::clear_etag ( )
inline

Clears the 'etag' attribute.

◆ clear_id()

void google_youtube_api::ChannelSection::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_kind()

void google_youtube_api::ChannelSection::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_localizations()

void google_youtube_api::ChannelSection::clear_localizations ( )
inline

Clears the 'localizations' attribute.

◆ clear_snippet()

void google_youtube_api::ChannelSection::clear_snippet ( )
inline

Clears the 'snippet' attribute.

◆ clear_targeting()

void google_youtube_api::ChannelSection::clear_targeting ( )
inline

Clears the 'targeting' attribute.

◆ get_content_details()

const ChannelSectionContentDetails google_youtube_api::ChannelSection::get_content_details ( ) const

Get a reference to the value of the 'contentDetails' attribute.

◆ get_etag()

const StringPiece google_youtube_api::ChannelSection::get_etag ( ) const
inline

Get the value of the 'etag' attribute.

◆ get_id()

const StringPiece google_youtube_api::ChannelSection::get_id ( ) const
inline

Get the value of the 'id' attribute.

◆ get_kind()

const StringPiece google_youtube_api::ChannelSection::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_localizations()

const client::JsonCppAssociativeArray<ChannelSectionLocalization > google_youtube_api::ChannelSection::get_localizations ( ) const

Get a reference to the value of the 'localizations' attribute.

◆ get_snippet()

const ChannelSectionSnippet google_youtube_api::ChannelSection::get_snippet ( ) const

Get a reference to the value of the 'snippet' attribute.

◆ get_targeting()

const ChannelSectionTargeting google_youtube_api::ChannelSection::get_targeting ( ) const

Get a reference to the value of the 'targeting' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_youtube_api::ChannelSection

◆ has_content_details()

bool google_youtube_api::ChannelSection::has_content_details ( ) const
inline

Determine if the 'contentDetails' attribute was set.

Returns
true if the 'contentDetails' attribute was set.

◆ has_etag()

bool google_youtube_api::ChannelSection::has_etag ( ) const
inline

Determine if the 'etag' attribute was set.

Returns
true if the 'etag' attribute was set.

◆ has_id()

bool google_youtube_api::ChannelSection::has_id ( ) const
inline

Determine if the 'id' attribute was set.

Returns
true if the 'id' attribute was set.

◆ has_kind()

bool google_youtube_api::ChannelSection::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_localizations()

bool google_youtube_api::ChannelSection::has_localizations ( ) const
inline

Determine if the 'localizations' attribute was set.

Returns
true if the 'localizations' attribute was set.

◆ has_snippet()

bool google_youtube_api::ChannelSection::has_snippet ( ) const
inline

Determine if the 'snippet' attribute was set.

Returns
true if the 'snippet' attribute was set.

◆ has_targeting()

bool google_youtube_api::ChannelSection::has_targeting ( ) const
inline

Determine if the 'targeting' attribute was set.

Returns
true if the 'targeting' attribute was set.

◆ mutable_contentDetails()

ChannelSectionContentDetails google_youtube_api::ChannelSection::mutable_contentDetails ( )

Gets a reference to a mutable value of the 'contentDetails' property.

The contentDetails object contains details about the channel section content, such as a list of playlists or channels featured in the section.

Returns
The result can be modified to change the attribute value.

◆ mutable_localizations()

client::JsonCppAssociativeArray<ChannelSectionLocalization > google_youtube_api::ChannelSection::mutable_localizations ( )

Gets a reference to a mutable value of the 'localizations' property.

Localizations for different languages.

Returns
The result can be modified to change the attribute value.

◆ mutable_snippet()

ChannelSectionSnippet google_youtube_api::ChannelSection::mutable_snippet ( )

Gets a reference to a mutable value of the 'snippet' property.

The snippet object contains basic details about the channel section, such as its type, style and title.

Returns
The result can be modified to change the attribute value.

◆ mutable_targeting()

ChannelSectionTargeting google_youtube_api::ChannelSection::mutable_targeting ( )

Gets a reference to a mutable value of the 'targeting' property.

The targeting object contains basic targeting settings about the channel section.

Returns
The result can be modified to change the attribute value.

◆ New()

ChannelSection * google_youtube_api::ChannelSection::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_etag()

void google_youtube_api::ChannelSection::set_etag ( const StringPiece &  value)
inline

Change the 'etag' attribute.

Etag of this resource.

Parameters
[in]valueThe new value.

◆ set_id()

void google_youtube_api::ChannelSection::set_id ( const StringPiece &  value)
inline

Change the 'id' attribute.

The ID that YouTube uses to uniquely identify the channel section.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_youtube_api::ChannelSection::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

Identifies what kind of resource this is. Value: the fixed string "youtube#channelSection".

Parameters
[in]valueThe new value.

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