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

#include <localized_property.h>

Inheritance diagram for google_youtube_api::LocalizedProperty:

Public Member Functions

 LocalizedProperty (const Json::Value &storage)
 
 LocalizedProperty (Json::Value *storage)
 
virtual ~LocalizedProperty ()
 
const StringPiece GetTypeName () const
 
bool has_default () const
 
void clear_default ()
 
const StringPiece get_default () const
 
void set_default (const StringPiece &value)
 
bool has_default_language () const
 
void clear_default_language ()
 
const LanguageTag get_default_language () const
 
LanguageTag mutable_defaultLanguage ()
 
bool has_localized () const
 
void clear_localized ()
 
const client::JsonCppArray< LocalizedStringget_localized () const
 
client::JsonCppArray< LocalizedStringmutable_localized ()
 

Static Public Member Functions

static LocalizedPropertyNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ LocalizedProperty() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ LocalizedProperty() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~LocalizedProperty()

google_youtube_api::LocalizedProperty::~LocalizedProperty ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_default()

void google_youtube_api::LocalizedProperty::clear_default ( )
inline

Clears the 'default' attribute.

◆ clear_default_language()

void google_youtube_api::LocalizedProperty::clear_default_language ( )
inline

Clears the 'defaultLanguage' attribute.

◆ clear_localized()

void google_youtube_api::LocalizedProperty::clear_localized ( )
inline

Clears the 'localized' attribute.

◆ get_default()

const StringPiece google_youtube_api::LocalizedProperty::get_default ( ) const
inline

Get the value of the 'default' attribute.

◆ get_default_language()

const LanguageTag google_youtube_api::LocalizedProperty::get_default_language ( ) const

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

◆ get_localized()

const client::JsonCppArray<LocalizedString > google_youtube_api::LocalizedProperty::get_localized ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_youtube_api::LocalizedProperty

◆ has_default()

bool google_youtube_api::LocalizedProperty::has_default ( ) const
inline

Determine if the 'default' attribute was set.

Returns
true if the 'default' attribute was set.

◆ has_default_language()

bool google_youtube_api::LocalizedProperty::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::LocalizedProperty::has_localized ( ) const
inline

Determine if the 'localized' attribute was set.

Returns
true if the 'localized' attribute was set.

◆ mutable_defaultLanguage()

LanguageTag google_youtube_api::LocalizedProperty::mutable_defaultLanguage ( )

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

The language of the default property.

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

◆ mutable_localized()

client::JsonCppArray<LocalizedString > google_youtube_api::LocalizedProperty::mutable_localized ( )

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

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

◆ New()

LocalizedProperty * google_youtube_api::LocalizedProperty::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_default()

void google_youtube_api::LocalizedProperty::set_default ( const StringPiece &  value)
inline

Change the 'default' attribute.

Parameters
[in]valueThe new value.

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