#include <events.h>
◆ Events() [1/2]
| google_calendar_api::Events::Events |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ Events() [2/2]
| google_calendar_api::Events::Events |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~Events()
| google_calendar_api::Events::~Events |
( |
| ) |
|
|
virtual |
◆ clear_access_role()
| void google_calendar_api::Events::clear_access_role |
( |
| ) |
|
|
inline |
Clears the 'accessRole' attribute.
◆ clear_default_reminders()
| void google_calendar_api::Events::clear_default_reminders |
( |
| ) |
|
|
inline |
Clears the 'defaultReminders' attribute.
◆ clear_description()
| void google_calendar_api::Events::clear_description |
( |
| ) |
|
|
inline |
Clears the 'description' attribute.
◆ clear_etag()
| void google_calendar_api::Events::clear_etag |
( |
| ) |
|
|
inline |
Clears the 'etag' attribute.
◆ clear_items()
| void google_calendar_api::Events::clear_items |
( |
| ) |
|
|
inline |
Clears the 'items' attribute.
◆ clear_kind()
| void google_calendar_api::Events::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind' attribute.
◆ clear_next_page_token()
| void google_calendar_api::Events::clear_next_page_token |
( |
| ) |
|
|
inline |
Clears the 'nextPageToken' attribute.
◆ clear_next_sync_token()
| void google_calendar_api::Events::clear_next_sync_token |
( |
| ) |
|
|
inline |
Clears the 'nextSyncToken' attribute.
◆ clear_summary()
| void google_calendar_api::Events::clear_summary |
( |
| ) |
|
|
inline |
Clears the 'summary' attribute.
◆ clear_time_zone()
| void google_calendar_api::Events::clear_time_zone |
( |
| ) |
|
|
inline |
Clears the 'timeZone' attribute.
◆ clear_updated()
| void google_calendar_api::Events::clear_updated |
( |
| ) |
|
|
inline |
Clears the 'updated' attribute.
◆ get_access_role()
| const StringPiece google_calendar_api::Events::get_access_role |
( |
| ) |
const |
|
inline |
Get the value of the 'accessRole' attribute.
◆ get_default_reminders()
| const client::JsonCppArray<EventReminder > google_calendar_api::Events::get_default_reminders |
( |
| ) |
const |
Get a reference to the value of the 'defaultReminders' attribute.
◆ get_description()
| const StringPiece google_calendar_api::Events::get_description |
( |
| ) |
const |
|
inline |
Get the value of the 'description' attribute.
◆ get_etag()
| const StringPiece google_calendar_api::Events::get_etag |
( |
| ) |
const |
|
inline |
Get the value of the 'etag' attribute.
◆ get_items()
| const client::JsonCppArray<Event > google_calendar_api::Events::get_items |
( |
| ) |
const |
Get a reference to the value of the 'items' attribute.
◆ get_kind()
| const StringPiece google_calendar_api::Events::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind' attribute.
◆ get_next_page_token()
| const StringPiece google_calendar_api::Events::get_next_page_token |
( |
| ) |
const |
|
inline |
Get the value of the 'nextPageToken' attribute.
◆ get_next_sync_token()
| const StringPiece google_calendar_api::Events::get_next_sync_token |
( |
| ) |
const |
|
inline |
Get the value of the 'nextSyncToken' attribute.
◆ get_summary()
| const StringPiece google_calendar_api::Events::get_summary |
( |
| ) |
const |
|
inline |
Get the value of the 'summary' attribute.
◆ get_time_zone()
| const StringPiece google_calendar_api::Events::get_time_zone |
( |
| ) |
const |
|
inline |
Get the value of the 'timeZone' attribute.
◆ get_updated()
| client::DateTime google_calendar_api::Events::get_updated |
( |
| ) |
const |
|
inline |
Get the value of the 'updated' attribute.
◆ GetTypeName()
| const StringPiece google_calendar_api::Events::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_access_role()
| bool google_calendar_api::Events::has_access_role |
( |
| ) |
const |
|
inline |
Determine if the 'accessRole' attribute was set.
- Returns
- true if the '
accessRole' attribute was set.
◆ has_default_reminders()
| bool google_calendar_api::Events::has_default_reminders |
( |
| ) |
const |
|
inline |
Determine if the 'defaultReminders' attribute was set.
- Returns
- true if the '
defaultReminders' attribute was set.
◆ has_description()
| bool google_calendar_api::Events::has_description |
( |
| ) |
const |
|
inline |
Determine if the 'description' attribute was set.
- Returns
- true if the '
description' attribute was set.
◆ has_etag()
| bool google_calendar_api::Events::has_etag |
( |
| ) |
const |
|
inline |
Determine if the 'etag' attribute was set.
- Returns
- true if the '
etag' attribute was set.
◆ has_items()
| bool google_calendar_api::Events::has_items |
( |
| ) |
const |
|
inline |
Determine if the 'items' attribute was set.
- Returns
- true if the '
items' attribute was set.
◆ has_kind()
| bool google_calendar_api::Events::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind' attribute was set.
- Returns
- true if the '
kind' attribute was set.
◆ has_next_page_token()
| bool google_calendar_api::Events::has_next_page_token |
( |
| ) |
const |
|
inline |
Determine if the 'nextPageToken' attribute was set.
- Returns
- true if the '
nextPageToken' attribute was set.
◆ has_next_sync_token()
| bool google_calendar_api::Events::has_next_sync_token |
( |
| ) |
const |
|
inline |
Determine if the 'nextSyncToken' attribute was set.
- Returns
- true if the '
nextSyncToken' attribute was set.
◆ has_summary()
| bool google_calendar_api::Events::has_summary |
( |
| ) |
const |
|
inline |
Determine if the 'summary' attribute was set.
- Returns
- true if the '
summary' attribute was set.
◆ has_time_zone()
| bool google_calendar_api::Events::has_time_zone |
( |
| ) |
const |
|
inline |
Determine if the 'timeZone' attribute was set.
- Returns
- true if the '
timeZone' attribute was set.
◆ has_updated()
| bool google_calendar_api::Events::has_updated |
( |
| ) |
const |
|
inline |
Determine if the 'updated' attribute was set.
- Returns
- true if the '
updated' attribute was set.
◆ mutable_defaultReminders()
| client::JsonCppArray<EventReminder > google_calendar_api::Events::mutable_defaultReminders |
( |
| ) |
|
Gets a reference to a mutable value of the 'defaultReminders' property.
The default reminders on the calendar for the authenticated user. These reminders apply to all events on this calendar that do not explicitly override them (i.e. do not have reminders.useDefault set to True).
- Returns
- The result can be modified to change the attribute value.
◆ mutable_items()
| client::JsonCppArray<Event > google_calendar_api::Events::mutable_items |
( |
| ) |
|
Gets a reference to a mutable value of the 'items' property.
List of events on the calendar.
- Returns
- The result can be modified to change the attribute value.
◆ New()
| Events * google_calendar_api::Events::New |
( |
| ) |
|
|
static |
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_access_role()
| void google_calendar_api::Events::set_access_role |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'accessRole' attribute.
The user's access role for this calendar. Read-only. Possible values are:
- "none"
- The user has no access.
- "freeBusyReader"
- The user has read access to free/busy information.
- "reader"
- The user has read access to the calendar. Private events will appear to users with reader access, but event details will be hidden.
- "writer"
- The user has read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible.
- "owner"
- The user has ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and manipulate ACLs.
- Parameters
-
◆ set_description()
| void google_calendar_api::Events::set_description |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'description' attribute.
Description of the calendar. Read-only.
- Parameters
-
◆ set_etag()
| void google_calendar_api::Events::set_etag |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'etag' attribute.
ETag of the collection.
- Parameters
-
◆ set_kind()
| void google_calendar_api::Events::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind' attribute.
Type of the collection ("calendar#events").
- Parameters
-
◆ set_next_page_token()
| void google_calendar_api::Events::set_next_page_token |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'nextPageToken' attribute.
Token used to access the next page of this result. Omitted if no further results are available, in which case nextSyncToken is provided.
- Parameters
-
◆ set_next_sync_token()
| void google_calendar_api::Events::set_next_sync_token |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'nextSyncToken' attribute.
Token used at a later point in time to retrieve only the entries that have changed since this result was returned. Omitted if further results are available, in which case nextPageToken is provided.
- Parameters
-
◆ set_summary()
| void google_calendar_api::Events::set_summary |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'summary' attribute.
Title of the calendar. Read-only.
- Parameters
-
◆ set_time_zone()
| void google_calendar_api::Events::set_time_zone |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'timeZone' attribute.
The time zone of the calendar. Read-only.
- Parameters
-
◆ set_updated()
| void google_calendar_api::Events::set_updated |
( |
client::DateTime |
value | ) |
|
|
inline |
Change the 'updated' attribute.
Last modification time of the calendar (as a RFC3339 timestamp). Read-only.
- Parameters
-
The documentation for this class was generated from the following files:
- google/calendar_api/events.h
- google/calendar_api/events.cc