blogger  v2
Public Member Functions | Static Public Member Functions | List of all members
google_blogger_api::User::UserLocale Class Reference

#include <user.h>

Inheritance diagram for google_blogger_api::User::UserLocale:

Public Member Functions

 UserLocale (const Json::Value &storage)
 
 UserLocale (Json::Value *storage)
 
virtual ~UserLocale ()
 
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 UserLocaleNew ()
 

Detailed Description

This user's locale.

Constructor & Destructor Documentation

◆ UserLocale() [1/2]

google_blogger_api::User::UserLocale::UserLocale ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ UserLocale() [2/2]

google_blogger_api::User::UserLocale::UserLocale ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~UserLocale()

google_blogger_api::User::UserLocale::~UserLocale ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_country()

void google_blogger_api::User::UserLocale::clear_country ( )
inline

Clears the 'country' attribute.

◆ clear_language()

void google_blogger_api::User::UserLocale::clear_language ( )
inline

Clears the 'language' attribute.

◆ clear_variant()

void google_blogger_api::User::UserLocale::clear_variant ( )
inline

Clears the 'variant' attribute.

◆ get_country()

const StringPiece google_blogger_api::User::UserLocale::get_country ( ) const
inline

Get the value of the 'country' attribute.

◆ get_language()

const StringPiece google_blogger_api::User::UserLocale::get_language ( ) const
inline

Get the value of the 'language' attribute.

◆ get_variant()

const StringPiece google_blogger_api::User::UserLocale::get_variant ( ) const
inline

Get the value of the 'variant' attribute.

◆ GetTypeName()

const StringPiece google_blogger_api::User::UserLocale::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_blogger_api::UserLocale

◆ has_country()

bool google_blogger_api::User::UserLocale::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::User::UserLocale::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::User::UserLocale::has_variant ( ) const
inline

Determine if the 'variant' attribute was set.

Returns
true if the 'variant' attribute was set.

◆ New()

User::UserLocale * google_blogger_api::User::UserLocale::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_country()

void google_blogger_api::User::UserLocale::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::User::UserLocale::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::User::UserLocale::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: