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

#include <event.h>

Inheritance diagram for google_calendar_api::Event::EventReminders:

Public Member Functions

 EventReminders (const Json::Value &storage)
 
 EventReminders (Json::Value *storage)
 
virtual ~EventReminders ()
 
const StringPiece GetTypeName () const
 
bool has_overrides () const
 
void clear_overrides ()
 
const client::JsonCppArray< EventReminderget_overrides () const
 
client::JsonCppArray< EventRemindermutable_overrides ()
 
bool has_use_default () const
 
void clear_use_default ()
 
bool get_use_default () const
 
void set_use_default (bool value)
 

Static Public Member Functions

static EventRemindersNew ()
 

Detailed Description

Information about the event's reminders for the authenticated user.

Constructor & Destructor Documentation

◆ EventReminders() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ EventReminders() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~EventReminders()

google_calendar_api::Event::EventReminders::~EventReminders ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_overrides()

void google_calendar_api::Event::EventReminders::clear_overrides ( )
inline

Clears the 'overrides' attribute.

◆ clear_use_default()

void google_calendar_api::Event::EventReminders::clear_use_default ( )
inline

Clears the 'useDefault' attribute.

◆ get_overrides()

const client::JsonCppArray<EventReminder > google_calendar_api::Event::EventReminders::get_overrides ( ) const

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

◆ get_use_default()

bool google_calendar_api::Event::EventReminders::get_use_default ( ) const
inline

Get the value of the 'useDefault' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_calendar_api::EventReminders

◆ has_overrides()

bool google_calendar_api::Event::EventReminders::has_overrides ( ) const
inline

Determine if the 'overrides' attribute was set.

Returns
true if the 'overrides' attribute was set.

◆ has_use_default()

bool google_calendar_api::Event::EventReminders::has_use_default ( ) const
inline

Determine if the 'useDefault' attribute was set.

Returns
true if the 'useDefault' attribute was set.

◆ mutable_overrides()

client::JsonCppArray<EventReminder > google_calendar_api::Event::EventReminders::mutable_overrides ( )

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

If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5.

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

◆ New()

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

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_use_default()

void google_calendar_api::Event::EventReminders::set_use_default ( bool  value)
inline

Change the 'useDefault' attribute.

Whether the default reminders of the calendar apply to the event.

Parameters
[in]valueThe new value.

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