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

#include <channel_section_snippet.h>

Inheritance diagram for google_youtube_api::ChannelSectionSnippet:

Public Member Functions

 ChannelSectionSnippet (const Json::Value &storage)
 
 ChannelSectionSnippet (Json::Value *storage)
 
virtual ~ChannelSectionSnippet ()
 
const StringPiece GetTypeName () const
 
bool has_channel_id () const
 
void clear_channel_id ()
 
const StringPiece get_channel_id () const
 
void set_channel_id (const StringPiece &value)
 
bool has_default_language () const
 
void clear_default_language ()
 
const StringPiece get_default_language () const
 
void set_default_language (const StringPiece &value)
 
bool has_localized () const
 
void clear_localized ()
 
const ChannelSectionLocalization get_localized () const
 
ChannelSectionLocalization mutable_localized ()
 
bool has_position () const
 
void clear_position ()
 
uint32 get_position () const
 
void set_position (uint32 value)
 
bool has_style () const
 
void clear_style ()
 
const StringPiece get_style () const
 
void set_style (const StringPiece &value)
 
bool has_title () const
 
void clear_title ()
 
const StringPiece get_title () const
 
void set_title (const StringPiece &value)
 
bool has_type () const
 
void clear_type ()
 
const StringPiece get_type () const
 
void set_type (const StringPiece &value)
 

Static Public Member Functions

static ChannelSectionSnippetNew ()
 

Detailed Description

Basic details about a channel section, including title, style and position.

Constructor & Destructor Documentation

◆ ChannelSectionSnippet() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ ChannelSectionSnippet() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~ChannelSectionSnippet()

google_youtube_api::ChannelSectionSnippet::~ChannelSectionSnippet ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_channel_id()

void google_youtube_api::ChannelSectionSnippet::clear_channel_id ( )
inline

Clears the 'channelId' attribute.

◆ clear_default_language()

void google_youtube_api::ChannelSectionSnippet::clear_default_language ( )
inline

Clears the 'defaultLanguage' attribute.

◆ clear_localized()

void google_youtube_api::ChannelSectionSnippet::clear_localized ( )
inline

Clears the 'localized' attribute.

◆ clear_position()

void google_youtube_api::ChannelSectionSnippet::clear_position ( )
inline

Clears the 'position' attribute.

◆ clear_style()

void google_youtube_api::ChannelSectionSnippet::clear_style ( )
inline

Clears the 'style' attribute.

◆ clear_title()

void google_youtube_api::ChannelSectionSnippet::clear_title ( )
inline

Clears the 'title' attribute.

◆ clear_type()

void google_youtube_api::ChannelSectionSnippet::clear_type ( )
inline

Clears the 'type' attribute.

◆ get_channel_id()

const StringPiece google_youtube_api::ChannelSectionSnippet::get_channel_id ( ) const
inline

Get the value of the 'channelId' attribute.

◆ get_default_language()

const StringPiece google_youtube_api::ChannelSectionSnippet::get_default_language ( ) const
inline

Get the value of the 'defaultLanguage' attribute.

◆ get_localized()

const ChannelSectionLocalization google_youtube_api::ChannelSectionSnippet::get_localized ( ) const

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

◆ get_position()

uint32 google_youtube_api::ChannelSectionSnippet::get_position ( ) const
inline

Get the value of the 'position' attribute.

◆ get_style()

const StringPiece google_youtube_api::ChannelSectionSnippet::get_style ( ) const
inline

Get the value of the 'style' attribute.

◆ get_title()

const StringPiece google_youtube_api::ChannelSectionSnippet::get_title ( ) const
inline

Get the value of the 'title' attribute.

◆ get_type()

const StringPiece google_youtube_api::ChannelSectionSnippet::get_type ( ) const
inline

Get the value of the 'type' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_youtube_api::ChannelSectionSnippet

◆ has_channel_id()

bool google_youtube_api::ChannelSectionSnippet::has_channel_id ( ) const
inline

Determine if the 'channelId' attribute was set.

Returns
true if the 'channelId' attribute was set.

◆ has_default_language()

bool google_youtube_api::ChannelSectionSnippet::has_default_language ( ) const
inline

Determine if the 'defaultLanguage' attribute was set.

Returns
true if the 'defaultLanguage' attribute was set.

◆ has_localized()

bool google_youtube_api::ChannelSectionSnippet::has_localized ( ) const
inline

Determine if the 'localized' attribute was set.

Returns
true if the 'localized' attribute was set.

◆ has_position()

bool google_youtube_api::ChannelSectionSnippet::has_position ( ) const
inline

Determine if the 'position' attribute was set.

Returns
true if the 'position' attribute was set.

◆ has_style()

bool google_youtube_api::ChannelSectionSnippet::has_style ( ) const
inline

Determine if the 'style' attribute was set.

Returns
true if the 'style' attribute was set.

◆ has_title()

bool google_youtube_api::ChannelSectionSnippet::has_title ( ) const
inline

Determine if the 'title' attribute was set.

Returns
true if the 'title' attribute was set.

◆ has_type()

bool google_youtube_api::ChannelSectionSnippet::has_type ( ) const
inline

Determine if the 'type' attribute was set.

Returns
true if the 'type' attribute was set.

◆ mutable_localized()

ChannelSectionLocalization google_youtube_api::ChannelSectionSnippet::mutable_localized ( )

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

Localized title, read-only.

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

◆ New()

ChannelSectionSnippet * google_youtube_api::ChannelSectionSnippet::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_channel_id()

void google_youtube_api::ChannelSectionSnippet::set_channel_id ( const StringPiece &  value)
inline

Change the 'channelId' attribute.

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

Parameters
[in]valueThe new value.

◆ set_default_language()

void google_youtube_api::ChannelSectionSnippet::set_default_language ( const StringPiece &  value)
inline

Change the 'defaultLanguage' attribute.

The language of the channel section's default title and description.

Parameters
[in]valueThe new value.

◆ set_position()

void google_youtube_api::ChannelSectionSnippet::set_position ( uint32  value)
inline

Change the 'position' attribute.

The position of the channel section in the channel.

Parameters
[in]valueThe new value.

◆ set_style()

void google_youtube_api::ChannelSectionSnippet::set_style ( const StringPiece &  value)
inline

Change the 'style' attribute.

The style of the channel section.

Parameters
[in]valueThe new value.

◆ set_title()

void google_youtube_api::ChannelSectionSnippet::set_title ( const StringPiece &  value)
inline

Change the 'title' attribute.

The channel section's title for multiple_playlists and multiple_channels.

Parameters
[in]valueThe new value.

◆ set_type()

void google_youtube_api::ChannelSectionSnippet::set_type ( const StringPiece &  value)
inline

Change the 'type' attribute.

The type of the channel section.

Parameters
[in]valueThe new value.

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