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

#include <event.h>

Inheritance diagram for google_calendar_api::Event::EventGadget:

Public Member Functions

 EventGadget (const Json::Value &storage)
 
 EventGadget (Json::Value *storage)
 
virtual ~EventGadget ()
 
const StringPiece GetTypeName () const
 
bool has_display () const
 
void clear_display ()
 
const StringPiece get_display () const
 
void set_display (const StringPiece &value)
 
bool has_height () const
 
void clear_height ()
 
int32 get_height () const
 
void set_height (int32 value)
 
bool has_icon_link () const
 
void clear_icon_link ()
 
const StringPiece get_icon_link () const
 
void set_icon_link (const StringPiece &value)
 
bool has_link () const
 
void clear_link ()
 
const StringPiece get_link () const
 
void set_link (const StringPiece &value)
 
bool has_preferences () const
 
void clear_preferences ()
 
const client::JsonCppAssociativeArray< string > get_preferences () const
 
client::JsonCppAssociativeArray< string > mutable_preferences ()
 
bool has_title () const
 
void clear_title ()
 
const StringPiece get_title () const
 
void set_title (const StringPiece &value)
 
bool has_type () const
 
void clear_type ()
 
const StringPiece get_type () const
 
void set_type (const StringPiece &value)
 
bool has_width () const
 
void clear_width ()
 
int32 get_width () const
 
void set_width (int32 value)
 

Static Public Member Functions

static EventGadgetNew ()
 

Detailed Description

A gadget that extends this event.

Constructor & Destructor Documentation

◆ EventGadget() [1/2]

google_calendar_api::Event::EventGadget::EventGadget ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ EventGadget() [2/2]

google_calendar_api::Event::EventGadget::EventGadget ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~EventGadget()

google_calendar_api::Event::EventGadget::~EventGadget ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_display()

void google_calendar_api::Event::EventGadget::clear_display ( )
inline

Clears the 'display' attribute.

◆ clear_height()

void google_calendar_api::Event::EventGadget::clear_height ( )
inline

Clears the 'height' attribute.

◆ clear_icon_link()

void google_calendar_api::Event::EventGadget::clear_icon_link ( )
inline

Clears the 'iconLink' attribute.

◆ clear_link()

void google_calendar_api::Event::EventGadget::clear_link ( )
inline

Clears the 'link' attribute.

◆ clear_preferences()

void google_calendar_api::Event::EventGadget::clear_preferences ( )
inline

Clears the 'preferences' attribute.

◆ clear_title()

void google_calendar_api::Event::EventGadget::clear_title ( )
inline

Clears the 'title' attribute.

◆ clear_type()

void google_calendar_api::Event::EventGadget::clear_type ( )
inline

Clears the 'type' attribute.

◆ clear_width()

void google_calendar_api::Event::EventGadget::clear_width ( )
inline

Clears the 'width' attribute.

◆ get_display()

const StringPiece google_calendar_api::Event::EventGadget::get_display ( ) const
inline

Get the value of the 'display' attribute.

◆ get_height()

int32 google_calendar_api::Event::EventGadget::get_height ( ) const
inline

Get the value of the 'height' attribute.

◆ get_icon_link()

const StringPiece google_calendar_api::Event::EventGadget::get_icon_link ( ) const
inline

Get the value of the 'iconLink' attribute.

◆ get_link()

const StringPiece google_calendar_api::Event::EventGadget::get_link ( ) const
inline

Get the value of the 'link' attribute.

◆ get_preferences()

const client::JsonCppAssociativeArray<string > google_calendar_api::Event::EventGadget::get_preferences ( ) const
inline

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

◆ get_title()

const StringPiece google_calendar_api::Event::EventGadget::get_title ( ) const
inline

Get the value of the 'title' attribute.

◆ get_type()

const StringPiece google_calendar_api::Event::EventGadget::get_type ( ) const
inline

Get the value of the 'type' attribute.

◆ get_width()

int32 google_calendar_api::Event::EventGadget::get_width ( ) const
inline

Get the value of the 'width' attribute.

◆ GetTypeName()

const StringPiece google_calendar_api::Event::EventGadget::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_calendar_api::EventGadget

◆ has_display()

bool google_calendar_api::Event::EventGadget::has_display ( ) const
inline

Determine if the 'display' attribute was set.

Returns
true if the 'display' attribute was set.

◆ has_height()

bool google_calendar_api::Event::EventGadget::has_height ( ) const
inline

Determine if the 'height' attribute was set.

Returns
true if the 'height' attribute was set.

◆ has_icon_link()

bool google_calendar_api::Event::EventGadget::has_icon_link ( ) const
inline

Determine if the 'iconLink' attribute was set.

Returns
true if the 'iconLink' attribute was set.

◆ has_link()

bool google_calendar_api::Event::EventGadget::has_link ( ) const
inline

Determine if the 'link' attribute was set.

Returns
true if the 'link' attribute was set.

◆ has_preferences()

bool google_calendar_api::Event::EventGadget::has_preferences ( ) const
inline

Determine if the 'preferences' attribute was set.

Returns
true if the 'preferences' attribute was set.

◆ has_title()

bool google_calendar_api::Event::EventGadget::has_title ( ) const
inline

Determine if the 'title' attribute was set.

Returns
true if the 'title' attribute was set.

◆ has_type()

bool google_calendar_api::Event::EventGadget::has_type ( ) const
inline

Determine if the 'type' attribute was set.

Returns
true if the 'type' attribute was set.

◆ has_width()

bool google_calendar_api::Event::EventGadget::has_width ( ) const
inline

Determine if the 'width' attribute was set.

Returns
true if the 'width' attribute was set.

◆ mutable_preferences()

client::JsonCppAssociativeArray<string > google_calendar_api::Event::EventGadget::mutable_preferences ( )
inline

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

Preferences.

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

◆ New()

Event::EventGadget * google_calendar_api::Event::EventGadget::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_display()

void google_calendar_api::Event::EventGadget::set_display ( const StringPiece &  value)
inline

Change the 'display' attribute.

The gadget's display mode. Optional. Possible values are:

"icon"
The gadget displays next to the event's title in the calendar view.
"chip"
The gadget displays when the event is clicked.
Parameters
[in]valueThe new value.

◆ set_height()

void google_calendar_api::Event::EventGadget::set_height ( int32  value)
inline

Change the 'height' attribute.

The gadget's height in pixels. The height must be an integer greater than 0. Optional.

Parameters
[in]valueThe new value.

◆ set_icon_link()

void google_calendar_api::Event::EventGadget::set_icon_link ( const StringPiece &  value)
inline

Change the 'iconLink' attribute.

The gadget's icon URL. The URL scheme must be HTTPS.

Parameters
[in]valueThe new value.

◆ set_link()

void google_calendar_api::Event::EventGadget::set_link ( const StringPiece &  value)
inline

Change the 'link' attribute.

The gadget's URL. The URL scheme must be HTTPS.

Parameters
[in]valueThe new value.

◆ set_title()

void google_calendar_api::Event::EventGadget::set_title ( const StringPiece &  value)
inline

Change the 'title' attribute.

The gadget's title.

Parameters
[in]valueThe new value.

◆ set_type()

void google_calendar_api::Event::EventGadget::set_type ( const StringPiece &  value)
inline

Change the 'type' attribute.

The gadget's type.

Parameters
[in]valueThe new value.

◆ set_width()

void google_calendar_api::Event::EventGadget::set_width ( int32  value)
inline

Change the 'width' attribute.

The gadget's width in pixels. The width must be an integer greater than 0. Optional.

Parameters
[in]valueThe new value.

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