blogger  v2
Public Member Functions | Static Public Member Functions | List of all members
google_blogger_api::Blog::BlogLocale Class Reference

#include <blog.h>

Inheritance diagram for google_blogger_api::Blog::BlogLocale:

Public Member Functions

 BlogLocale (const Json::Value &storage)
 
 BlogLocale (Json::Value *storage)
 
virtual ~BlogLocale ()
 
const StringPiece GetTypeName () const
 
bool has_country () const
 
void clear_country ()
 
const StringPiece get_country () const
 
void set_country (const StringPiece &value)
 
bool has_language () const
 
void clear_language ()
 
const StringPiece get_language () const
 
void set_language (const StringPiece &value)
 
bool has_variant () const
 
void clear_variant ()
 
const StringPiece get_variant () const
 
void set_variant (const StringPiece &value)
 

Static Public Member Functions

static BlogLocaleNew ()
 

Detailed Description

The locale this Blog is set to.

Constructor & Destructor Documentation

◆ BlogLocale() [1/2]

google_blogger_api::Blog::BlogLocale::BlogLocale ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ BlogLocale() [2/2]

google_blogger_api::Blog::BlogLocale::BlogLocale ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~BlogLocale()

google_blogger_api::Blog::BlogLocale::~BlogLocale ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_country()

void google_blogger_api::Blog::BlogLocale::clear_country ( )
inline

Clears the 'country' attribute.

◆ clear_language()

void google_blogger_api::Blog::BlogLocale::clear_language ( )
inline

Clears the 'language' attribute.

◆ clear_variant()

void google_blogger_api::Blog::BlogLocale::clear_variant ( )
inline

Clears the 'variant' attribute.

◆ get_country()

const StringPiece google_blogger_api::Blog::BlogLocale::get_country ( ) const
inline

Get the value of the 'country' attribute.

◆ get_language()

const StringPiece google_blogger_api::Blog::BlogLocale::get_language ( ) const
inline

Get the value of the 'language' attribute.

◆ get_variant()

const StringPiece google_blogger_api::Blog::BlogLocale::get_variant ( ) const
inline

Get the value of the 'variant' attribute.

◆ GetTypeName()

const StringPiece google_blogger_api::Blog::BlogLocale::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_blogger_api::BlogLocale

◆ has_country()

bool google_blogger_api::Blog::BlogLocale::has_country ( ) const
inline

Determine if the 'country' attribute was set.

Returns
true if the 'country' attribute was set.

◆ has_language()

bool google_blogger_api::Blog::BlogLocale::has_language ( ) const
inline

Determine if the 'language' attribute was set.

Returns
true if the 'language' attribute was set.

◆ has_variant()

bool google_blogger_api::Blog::BlogLocale::has_variant ( ) const
inline

Determine if the 'variant' attribute was set.

Returns
true if the 'variant' attribute was set.

◆ New()

Blog::BlogLocale * google_blogger_api::Blog::BlogLocale::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_country()

void google_blogger_api::Blog::BlogLocale::set_country ( const StringPiece &  value)
inline

Change the 'country' attribute.

The country this blog's locale is set to.

Parameters
[in]valueThe new value.

◆ set_language()

void google_blogger_api::Blog::BlogLocale::set_language ( const StringPiece &  value)
inline

Change the 'language' attribute.

The language this blog is authored in.

Parameters
[in]valueThe new value.

◆ set_variant()

void google_blogger_api::Blog::BlogLocale::set_variant ( const StringPiece &  value)
inline

Change the 'variant' attribute.

The language variant this blog is authored in.

Parameters
[in]valueThe new value.

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