calendar  v3
Public Member Functions | Static Public Member Functions | List of all members
google_calendar_api::Setting Class Reference

#include <setting.h>

Inheritance diagram for google_calendar_api::Setting:

Public Member Functions

 Setting (const Json::Value &storage)
 
 Setting (Json::Value *storage)
 
virtual ~Setting ()
 
const StringPiece GetTypeName () const
 
bool has_etag () const
 
void clear_etag ()
 
const StringPiece get_etag () const
 
void set_etag (const StringPiece &value)
 
bool has_id () const
 
void clear_id ()
 
const StringPiece get_id () const
 
void set_id (const StringPiece &value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_value () const
 
void clear_value ()
 
const StringPiece get_value () const
 
void set_value (const StringPiece &value)
 

Static Public Member Functions

static SettingNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ Setting() [1/2]

google_calendar_api::Setting::Setting ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ Setting() [2/2]

google_calendar_api::Setting::Setting ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~Setting()

google_calendar_api::Setting::~Setting ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_etag()

void google_calendar_api::Setting::clear_etag ( )
inline

Clears the 'etag' attribute.

◆ clear_id()

void google_calendar_api::Setting::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_kind()

void google_calendar_api::Setting::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_value()

void google_calendar_api::Setting::clear_value ( )
inline

Clears the 'value' attribute.

◆ get_etag()

const StringPiece google_calendar_api::Setting::get_etag ( ) const
inline

Get the value of the 'etag' attribute.

◆ get_id()

const StringPiece google_calendar_api::Setting::get_id ( ) const
inline

Get the value of the 'id' attribute.

◆ get_kind()

const StringPiece google_calendar_api::Setting::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_value()

const StringPiece google_calendar_api::Setting::get_value ( ) const
inline

Get the value of the 'value' attribute.

◆ GetTypeName()

const StringPiece google_calendar_api::Setting::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_calendar_api::Setting

◆ has_etag()

bool google_calendar_api::Setting::has_etag ( ) const
inline

Determine if the 'etag' attribute was set.

Returns
true if the 'etag' attribute was set.

◆ has_id()

bool google_calendar_api::Setting::has_id ( ) const
inline

Determine if the 'id' attribute was set.

Returns
true if the 'id' attribute was set.

◆ has_kind()

bool google_calendar_api::Setting::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_value()

bool google_calendar_api::Setting::has_value ( ) const
inline

Determine if the 'value' attribute was set.

Returns
true if the 'value' attribute was set.

◆ New()

Setting * google_calendar_api::Setting::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_etag()

void google_calendar_api::Setting::set_etag ( const StringPiece &  value)
inline

Change the 'etag' attribute.

ETag of the resource.

Parameters
[in]valueThe new value.

◆ set_id()

void google_calendar_api::Setting::set_id ( const StringPiece &  value)
inline

Change the 'id' attribute.

The id of the user setting.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_calendar_api::Setting::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

Type of the resource ("calendar#setting").

Parameters
[in]valueThe new value.

◆ set_value()

void google_calendar_api::Setting::set_value ( const StringPiece &  value)
inline

Change the 'value' attribute.

Value of the user setting. The format of the value depends on the ID of the setting. It must always be a UTF-8 string of length up to 1024 characters.

Parameters
[in]valueThe new value.

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