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

#include <i18n_language_snippet.h>

Inheritance diagram for google_youtube_api::I18nLanguageSnippet:

Public Member Functions

 I18nLanguageSnippet (const Json::Value &storage)
 
 I18nLanguageSnippet (Json::Value *storage)
 
virtual ~I18nLanguageSnippet ()
 
const StringPiece GetTypeName () const
 
bool has_hl () const
 
void clear_hl ()
 
const StringPiece get_hl () const
 
void set_hl (const StringPiece &value)
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 

Static Public Member Functions

static I18nLanguageSnippetNew ()
 

Detailed Description

Basic details about an i18n language, such as language code and human- readable name.

Constructor & Destructor Documentation

◆ I18nLanguageSnippet() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ I18nLanguageSnippet() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~I18nLanguageSnippet()

google_youtube_api::I18nLanguageSnippet::~I18nLanguageSnippet ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_hl()

void google_youtube_api::I18nLanguageSnippet::clear_hl ( )
inline

Clears the 'hl' attribute.

◆ clear_name()

void google_youtube_api::I18nLanguageSnippet::clear_name ( )
inline

Clears the 'name' attribute.

◆ get_hl()

const StringPiece google_youtube_api::I18nLanguageSnippet::get_hl ( ) const
inline

Get the value of the 'hl' attribute.

◆ get_name()

const StringPiece google_youtube_api::I18nLanguageSnippet::get_name ( ) const
inline

Get the value of the 'name' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_youtube_api::I18nLanguageSnippet

◆ has_hl()

bool google_youtube_api::I18nLanguageSnippet::has_hl ( ) const
inline

Determine if the 'hl' attribute was set.

Returns
true if the 'hl' attribute was set.

◆ has_name()

bool google_youtube_api::I18nLanguageSnippet::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ New()

I18nLanguageSnippet * google_youtube_api::I18nLanguageSnippet::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_hl()

void google_youtube_api::I18nLanguageSnippet::set_hl ( const StringPiece &  value)
inline

Change the 'hl' attribute.

A short BCP-47 code that uniquely identifies a language.

Parameters
[in]valueThe new value.

◆ set_name()

void google_youtube_api::I18nLanguageSnippet::set_name ( const StringPiece &  value)
inline

Change the 'name' attribute.

The human-readable name of the language in the language itself.

Parameters
[in]valueThe new value.

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