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

#include <calendar_notification.h>

Inheritance diagram for google_calendar_api::CalendarNotification:

Public Member Functions

 CalendarNotification (const Json::Value &storage)
 
 CalendarNotification (Json::Value *storage)
 
virtual ~CalendarNotification ()
 
const StringPiece GetTypeName () const
 
bool has_method () const
 
void clear_method ()
 
const StringPiece get_method () const
 
void set_method (const StringPiece &value)
 
bool has_type () const
 
void clear_type ()
 
const StringPiece get_type () const
 
void set_type (const StringPiece &value)
 

Static Public Member Functions

static CalendarNotificationNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ CalendarNotification() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ CalendarNotification() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~CalendarNotification()

google_calendar_api::CalendarNotification::~CalendarNotification ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_method()

void google_calendar_api::CalendarNotification::clear_method ( )
inline

Clears the 'method' attribute.

◆ clear_type()

void google_calendar_api::CalendarNotification::clear_type ( )
inline

Clears the 'type' attribute.

◆ get_method()

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

Get the value of the 'method' attribute.

◆ get_type()

const StringPiece google_calendar_api::CalendarNotification::get_type ( ) const
inline

Get the value of the 'type' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_calendar_api::CalendarNotification

◆ has_method()

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

Determine if the 'method' attribute was set.

Returns
true if the 'method' attribute was set.

◆ has_type()

bool google_calendar_api::CalendarNotification::has_type ( ) const
inline

Determine if the 'type' attribute was set.

Returns
true if the 'type' attribute was set.

◆ New()

CalendarNotification * google_calendar_api::CalendarNotification::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_method()

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

Change the 'method' attribute.

The method used to deliver the notification. The possible value is:

  • "email" - Notifications are sent via email. Required when adding a notification.
Parameters
[in]valueThe new value.

◆ set_type()

void google_calendar_api::CalendarNotification::set_type ( const StringPiece &  value)
inline

Change the 'type' attribute.

The type of notification. Possible values are:

"eventCreation"
Notification sent when a new event is put on the calendar.
"eventChange"
Notification sent when an event is changed.
"eventCancellation"
Notification sent when an event is cancelled.
"eventResponse"
Notification sent when an attendee responds to the event invitation.
"agenda"
An agenda with the events of the day (sent out in the morning).

Required when adding a notification.

Parameters
[in]valueThe new value.

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