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

#include <i18n_region_snippet.h>

Inheritance diagram for google_youtube_api::I18nRegionSnippet:

Public Member Functions

 I18nRegionSnippet (const Json::Value &storage)
 
 I18nRegionSnippet (Json::Value *storage)
 
virtual ~I18nRegionSnippet ()
 
const StringPiece GetTypeName () const
 
bool has_gl () const
 
void clear_gl ()
 
const StringPiece get_gl () const
 
void set_gl (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 I18nRegionSnippetNew ()
 

Detailed Description

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

Constructor & Destructor Documentation

◆ I18nRegionSnippet() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ I18nRegionSnippet() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~I18nRegionSnippet()

google_youtube_api::I18nRegionSnippet::~I18nRegionSnippet ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_gl()

void google_youtube_api::I18nRegionSnippet::clear_gl ( )
inline

Clears the 'gl' attribute.

◆ clear_name()

void google_youtube_api::I18nRegionSnippet::clear_name ( )
inline

Clears the 'name' attribute.

◆ get_gl()

const StringPiece google_youtube_api::I18nRegionSnippet::get_gl ( ) const
inline

Get the value of the 'gl' attribute.

◆ get_name()

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

Get the value of the 'name' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_youtube_api::I18nRegionSnippet

◆ has_gl()

bool google_youtube_api::I18nRegionSnippet::has_gl ( ) const
inline

Determine if the 'gl' attribute was set.

Returns
true if the 'gl' attribute was set.

◆ has_name()

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

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ New()

I18nRegionSnippet * google_youtube_api::I18nRegionSnippet::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_gl()

void google_youtube_api::I18nRegionSnippet::set_gl ( const StringPiece &  value)
inline

Change the 'gl' attribute.

The region code as a 2-letter ISO country code.

Parameters
[in]valueThe new value.

◆ set_name()

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

Change the 'name' attribute.

The human-readable name of the region.

Parameters
[in]valueThe new value.

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