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

#include <event_reminder.h>

Inheritance diagram for google_calendar_api::EventReminder:

Public Member Functions

 EventReminder (const Json::Value &storage)
 
 EventReminder (Json::Value *storage)
 
virtual ~EventReminder ()
 
const StringPiece GetTypeName () const
 
bool has_method () const
 
void clear_method ()
 
const StringPiece get_method () const
 
void set_method (const StringPiece &value)
 
bool has_minutes () const
 
void clear_minutes ()
 
int32 get_minutes () const
 
void set_minutes (int32 value)
 

Static Public Member Functions

static EventReminderNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ EventReminder() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ EventReminder() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~EventReminder()

google_calendar_api::EventReminder::~EventReminder ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_method()

void google_calendar_api::EventReminder::clear_method ( )
inline

Clears the 'method' attribute.

◆ clear_minutes()

void google_calendar_api::EventReminder::clear_minutes ( )
inline

Clears the 'minutes' attribute.

◆ get_method()

const StringPiece google_calendar_api::EventReminder::get_method ( ) const
inline

Get the value of the 'method' attribute.

◆ get_minutes()

int32 google_calendar_api::EventReminder::get_minutes ( ) const
inline

Get the value of the 'minutes' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_calendar_api::EventReminder

◆ has_method()

bool google_calendar_api::EventReminder::has_method ( ) const
inline

Determine if the 'method' attribute was set.

Returns
true if the 'method' attribute was set.

◆ has_minutes()

bool google_calendar_api::EventReminder::has_minutes ( ) const
inline

Determine if the 'minutes' attribute was set.

Returns
true if the 'minutes' attribute was set.

◆ New()

EventReminder * google_calendar_api::EventReminder::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_method()

void google_calendar_api::EventReminder::set_method ( const StringPiece &  value)
inline

Change the 'method' attribute.

The method used by this reminder. Possible values are:

"email"
Reminders are sent via email.
"popup"
Reminders are sent via a UI popup.

Required when adding a reminder.

Parameters
[in]valueThe new value.

◆ set_minutes()

void google_calendar_api::EventReminder::set_minutes ( int32  value)
inline

Change the 'minutes' attribute.

Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes). Required when adding a reminder.

Parameters
[in]valueThe new value.

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