|
calendar
v3
|
#include <event.h>
Classes | |
| class | EventCreator |
| class | EventExtendedProperties |
| class | EventGadget |
| class | EventOrganizer |
| class | EventReminders |
| class | EventSource |
Public Member Functions | |
| Event (const Json::Value &storage) | |
| Event (Json::Value *storage) | |
| virtual | ~Event () |
| const StringPiece | GetTypeName () const |
| bool | has_anyone_can_add_self () const |
| void | clear_anyone_can_add_self () |
| bool | get_anyone_can_add_self () const |
| void | set_anyone_can_add_self (bool value) |
| bool | has_attachments () const |
| void | clear_attachments () |
| const client::JsonCppArray< EventAttachment > | get_attachments () const |
| client::JsonCppArray< EventAttachment > | mutable_attachments () |
| bool | has_attendees () const |
| void | clear_attendees () |
| const client::JsonCppArray< EventAttendee > | get_attendees () const |
| client::JsonCppArray< EventAttendee > | mutable_attendees () |
| bool | has_attendees_omitted () const |
| void | clear_attendees_omitted () |
| bool | get_attendees_omitted () const |
| void | set_attendees_omitted (bool value) |
| bool | has_color_id () const |
| void | clear_color_id () |
| const StringPiece | get_color_id () const |
| void | set_color_id (const StringPiece &value) |
| bool | has_conference_data () const |
| void | clear_conference_data () |
| const ConferenceData | get_conference_data () const |
| ConferenceData | mutable_conferenceData () |
| bool | has_created () const |
| void | clear_created () |
| client::DateTime | get_created () const |
| void | set_created (client::DateTime value) |
| bool | has_creator () const |
| void | clear_creator () |
| const EventCreator | get_creator () const |
| EventCreator | mutable_creator () |
| bool | has_description () const |
| void | clear_description () |
| const StringPiece | get_description () const |
| void | set_description (const StringPiece &value) |
| bool | has_end () const |
| void | clear_end () |
| const EventDateTime | get_end () const |
| EventDateTime | mutable_end () |
| bool | has_end_time_unspecified () const |
| void | clear_end_time_unspecified () |
| bool | get_end_time_unspecified () const |
| void | set_end_time_unspecified (bool value) |
| bool | has_etag () const |
| void | clear_etag () |
| const StringPiece | get_etag () const |
| void | set_etag (const StringPiece &value) |
| bool | has_extended_properties () const |
| void | clear_extended_properties () |
| const EventExtendedProperties | get_extended_properties () const |
| EventExtendedProperties | mutable_extendedProperties () |
| bool | has_gadget () const |
| void | clear_gadget () |
| const EventGadget | get_gadget () const |
| EventGadget | mutable_gadget () |
| bool | has_guests_can_invite_others () const |
| void | clear_guests_can_invite_others () |
| bool | get_guests_can_invite_others () const |
| void | set_guests_can_invite_others (bool value) |
| bool | has_guests_can_modify () const |
| void | clear_guests_can_modify () |
| bool | get_guests_can_modify () const |
| void | set_guests_can_modify (bool value) |
| bool | has_guests_can_see_other_guests () const |
| void | clear_guests_can_see_other_guests () |
| bool | get_guests_can_see_other_guests () const |
| void | set_guests_can_see_other_guests (bool value) |
| bool | has_hangout_link () const |
| void | clear_hangout_link () |
| const StringPiece | get_hangout_link () const |
| void | set_hangout_link (const StringPiece &value) |
| bool | has_html_link () const |
| void | clear_html_link () |
| const StringPiece | get_html_link () const |
| void | set_html_link (const StringPiece &value) |
| bool | has_i_cal_uid () const |
| void | clear_i_cal_uid () |
| const StringPiece | get_i_cal_uid () const |
| void | set_i_cal_uid (const StringPiece &value) |
| bool | has_id () const |
| void | clear_id () |
| const StringPiece | get_id () const |
| void | set_id (const StringPiece &value) |
| bool | has_kind () const |
| void | clear_kind () |
| const StringPiece | get_kind () const |
| void | set_kind (const StringPiece &value) |
| bool | has_location () const |
| void | clear_location () |
| const StringPiece | get_location () const |
| void | set_location (const StringPiece &value) |
| bool | has_locked () const |
| void | clear_locked () |
| bool | get_locked () const |
| void | set_locked (bool value) |
| bool | has_organizer () const |
| void | clear_organizer () |
| const EventOrganizer | get_organizer () const |
| EventOrganizer | mutable_organizer () |
| bool | has_original_start_time () const |
| void | clear_original_start_time () |
| const EventDateTime | get_original_start_time () const |
| EventDateTime | mutable_originalStartTime () |
| bool | has_private_copy () const |
| void | clear_private_copy () |
| bool | get_private_copy () const |
| void | set_private_copy (bool value) |
| bool | has_recurrence () const |
| void | clear_recurrence () |
| const client::JsonCppArray< string > | get_recurrence () const |
| client::JsonCppArray< string > | mutable_recurrence () |
| bool | has_recurring_event_id () const |
| void | clear_recurring_event_id () |
| const StringPiece | get_recurring_event_id () const |
| void | set_recurring_event_id (const StringPiece &value) |
| bool | has_reminders () const |
| void | clear_reminders () |
| const EventReminders | get_reminders () const |
| EventReminders | mutable_reminders () |
| bool | has_sequence () const |
| void | clear_sequence () |
| int32 | get_sequence () const |
| void | set_sequence (int32 value) |
| bool | has_source () const |
| void | clear_source () |
| const EventSource | get_source () const |
| EventSource | mutable_source () |
| bool | has_start () const |
| void | clear_start () |
| const EventDateTime | get_start () const |
| EventDateTime | mutable_start () |
| bool | has_status () const |
| void | clear_status () |
| const StringPiece | get_status () const |
| void | set_status (const StringPiece &value) |
| bool | has_summary () const |
| void | clear_summary () |
| const StringPiece | get_summary () const |
| void | set_summary (const StringPiece &value) |
| bool | has_transparency () const |
| void | clear_transparency () |
| const StringPiece | get_transparency () const |
| void | set_transparency (const StringPiece &value) |
| bool | has_updated () const |
| void | clear_updated () |
| client::DateTime | get_updated () const |
| void | set_updated (client::DateTime value) |
| bool | has_visibility () const |
| void | clear_visibility () |
| const StringPiece | get_visibility () const |
| void | set_visibility (const StringPiece &value) |
Static Public Member Functions | |
| static Event * | New () |
No description provided.
|
explicit |
Standard constructor for an immutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'anyoneCanAddSelf' attribute.
|
inline |
Clears the 'attachments' attribute.
|
inline |
Clears the 'attendees' attribute.
|
inline |
Clears the 'attendeesOmitted' attribute.
|
inline |
Clears the 'colorId' attribute.
|
inline |
Clears the 'conferenceData' attribute.
|
inline |
Clears the 'created' attribute.
|
inline |
Clears the 'creator' attribute.
|
inline |
Clears the 'description' attribute.
|
inline |
Clears the 'end' attribute.
|
inline |
Clears the 'endTimeUnspecified' attribute.
|
inline |
Clears the 'etag' attribute.
|
inline |
Clears the 'extendedProperties' attribute.
|
inline |
Clears the 'gadget' attribute.
|
inline |
Clears the 'guestsCanInviteOthers' attribute.
|
inline |
Clears the 'guestsCanModify' attribute.
|
inline |
Clears the 'guestsCanSeeOtherGuests' attribute.
|
inline |
Clears the 'hangoutLink' attribute.
|
inline |
Clears the 'htmlLink' attribute.
|
inline |
Clears the 'iCalUID' attribute.
|
inline |
Clears the 'id' attribute.
|
inline |
Clears the 'kind' attribute.
|
inline |
Clears the 'location' attribute.
|
inline |
Clears the 'locked' attribute.
|
inline |
Clears the 'organizer' attribute.
|
inline |
Clears the 'originalStartTime' attribute.
|
inline |
Clears the 'privateCopy' attribute.
|
inline |
Clears the 'recurrence' attribute.
|
inline |
Clears the 'recurringEventId' attribute.
|
inline |
Clears the 'reminders' attribute.
|
inline |
Clears the 'sequence' attribute.
|
inline |
Clears the 'source' attribute.
|
inline |
Clears the 'start' attribute.
|
inline |
Clears the 'status' attribute.
|
inline |
Clears the 'summary' attribute.
|
inline |
Clears the 'transparency' attribute.
|
inline |
Clears the 'updated' attribute.
|
inline |
Clears the 'visibility' attribute.
|
inline |
Get the value of the 'anyoneCanAddSelf' attribute.
| const client::JsonCppArray<EventAttachment > google_calendar_api::Event::get_attachments | ( | ) | const |
Get a reference to the value of the 'attachments' attribute.
| const client::JsonCppArray<EventAttendee > google_calendar_api::Event::get_attendees | ( | ) | const |
Get a reference to the value of the 'attendees' attribute.
|
inline |
Get the value of the 'attendeesOmitted' attribute.
|
inline |
Get the value of the 'colorId' attribute.
| const ConferenceData google_calendar_api::Event::get_conference_data | ( | ) | const |
Get a reference to the value of the 'conferenceData' attribute.
|
inline |
Get the value of the 'created' attribute.
|
inline |
Get a reference to the value of the 'creator' attribute.
|
inline |
Get the value of the 'description' attribute.
| const EventDateTime google_calendar_api::Event::get_end | ( | ) | const |
Get a reference to the value of the 'end' attribute.
|
inline |
Get the value of the 'endTimeUnspecified' attribute.
|
inline |
Get the value of the 'etag' attribute.
|
inline |
Get a reference to the value of the 'extendedProperties' attribute.
|
inline |
Get a reference to the value of the 'gadget' attribute.
|
inline |
Get the value of the 'guestsCanInviteOthers' attribute.
|
inline |
Get the value of the 'guestsCanModify' attribute.
|
inline |
Get the value of the 'guestsCanSeeOtherGuests' attribute.
|
inline |
Get the value of the 'hangoutLink' attribute.
|
inline |
Get the value of the 'htmlLink' attribute.
|
inline |
Get the value of the 'iCalUID' attribute.
|
inline |
Get the value of the 'id' attribute.
|
inline |
Get the value of the 'kind' attribute.
|
inline |
Get the value of the 'location' attribute.
|
inline |
Get the value of the 'locked' attribute.
|
inline |
Get a reference to the value of the 'organizer' attribute.
| const EventDateTime google_calendar_api::Event::get_original_start_time | ( | ) | const |
Get a reference to the value of the 'originalStartTime' attribute.
|
inline |
Get the value of the 'privateCopy' attribute.
|
inline |
Get a reference to the value of the 'recurrence' attribute.
|
inline |
Get the value of the 'recurringEventId' attribute.
|
inline |
Get a reference to the value of the 'reminders' attribute.
|
inline |
Get the value of the 'sequence' attribute.
|
inline |
Get a reference to the value of the 'source' attribute.
| const EventDateTime google_calendar_api::Event::get_start | ( | ) | const |
Get a reference to the value of the 'start' attribute.
|
inline |
Get the value of the 'status' attribute.
|
inline |
Get the value of the 'summary' attribute.
|
inline |
Get the value of the 'transparency' attribute.
|
inline |
Get the value of the 'updated' attribute.
|
inline |
Get the value of the 'visibility' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_calendar_api::Event
|
inline |
Determine if the 'anyoneCanAddSelf' attribute was set.
anyoneCanAddSelf' attribute was set.
|
inline |
Determine if the 'attachments' attribute was set.
attachments' attribute was set.
|
inline |
Determine if the 'attendees' attribute was set.
attendees' attribute was set.
|
inline |
Determine if the 'attendeesOmitted' attribute was set.
attendeesOmitted' attribute was set.
|
inline |
Determine if the 'colorId' attribute was set.
colorId' attribute was set.
|
inline |
Determine if the 'conferenceData' attribute was set.
conferenceData' attribute was set.
|
inline |
Determine if the 'created' attribute was set.
created' attribute was set.
|
inline |
Determine if the 'creator' attribute was set.
creator' attribute was set.
|
inline |
Determine if the 'description' attribute was set.
description' attribute was set.
|
inline |
Determine if the 'end' attribute was set.
end' attribute was set.
|
inline |
Determine if the 'endTimeUnspecified' attribute was set.
endTimeUnspecified' attribute was set.
|
inline |
Determine if the 'etag' attribute was set.
etag' attribute was set.
|
inline |
Determine if the 'extendedProperties' attribute was set.
extendedProperties' attribute was set.
|
inline |
Determine if the 'gadget' attribute was set.
gadget' attribute was set.
|
inline |
Determine if the 'guestsCanInviteOthers' attribute was set.
guestsCanInviteOthers' attribute was set.
|
inline |
Determine if the 'guestsCanModify' attribute was set.
guestsCanModify' attribute was set.
|
inline |
Determine if the 'guestsCanSeeOtherGuests' attribute was set.
guestsCanSeeOtherGuests' attribute was set.
|
inline |
Determine if the 'hangoutLink' attribute was set.
hangoutLink' attribute was set.
|
inline |
Determine if the 'htmlLink' attribute was set.
htmlLink' attribute was set.
|
inline |
Determine if the 'iCalUID' attribute was set.
iCalUID' attribute was set.
|
inline |
Determine if the 'id' attribute was set.
id' attribute was set.
|
inline |
Determine if the 'kind' attribute was set.
kind' attribute was set.
|
inline |
Determine if the 'location' attribute was set.
location' attribute was set.
|
inline |
Determine if the 'locked' attribute was set.
locked' attribute was set.
|
inline |
Determine if the 'organizer' attribute was set.
organizer' attribute was set.
|
inline |
Determine if the 'originalStartTime' attribute was set.
originalStartTime' attribute was set.
|
inline |
Determine if the 'privateCopy' attribute was set.
privateCopy' attribute was set.
|
inline |
Determine if the 'recurrence' attribute was set.
recurrence' attribute was set.
|
inline |
Determine if the 'recurringEventId' attribute was set.
recurringEventId' attribute was set.
|
inline |
Determine if the 'reminders' attribute was set.
reminders' attribute was set.
|
inline |
Determine if the 'sequence' attribute was set.
sequence' attribute was set.
|
inline |
Determine if the 'source' attribute was set.
source' attribute was set.
|
inline |
Determine if the 'start' attribute was set.
start' attribute was set.
|
inline |
Determine if the 'status' attribute was set.
status' attribute was set.
|
inline |
Determine if the 'summary' attribute was set.
summary' attribute was set.
|
inline |
Determine if the 'transparency' attribute was set.
transparency' attribute was set.
|
inline |
Determine if the 'updated' attribute was set.
updated' attribute was set.
|
inline |
Determine if the 'visibility' attribute was set.
visibility' attribute was set. | client::JsonCppArray<EventAttachment > google_calendar_api::Event::mutable_attachments | ( | ) |
Gets a reference to a mutable value of the 'attachments' property.
File attachments for the event. Currently only Google Drive attachments are supported. In order to modify attachments the supportsAttachments request parameter should be set to true. There can be at most 25 attachments per event,.
| client::JsonCppArray<EventAttendee > google_calendar_api::Event::mutable_attendees | ( | ) |
Gets a reference to a mutable value of the 'attendees' property.
The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users.
| ConferenceData google_calendar_api::Event::mutable_conferenceData | ( | ) |
Gets a reference to a mutable value of the 'conferenceData' property.
The conference-related information, such as details of a Hangouts Meet conference. To create new conference details use the createRequest field. To persist your changes, remember to set the conferenceDataVersion request parameter to 1 for all event modification requests.
|
inline |
Gets a reference to a mutable value of the 'creator' property.
The creator of the event. Read-only.
| EventDateTime google_calendar_api::Event::mutable_end | ( | ) |
Gets a reference to a mutable value of the 'end' property.
The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
|
inline |
Gets a reference to a mutable value of the 'extendedProperties' property.
Extended properties of the event.
|
inline |
Gets a reference to a mutable value of the 'gadget' property.
A gadget that extends this event.
|
inline |
Gets a reference to a mutable value of the 'organizer' property.
The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
| EventDateTime google_calendar_api::Event::mutable_originalStartTime | ( | ) |
Gets a reference to a mutable value of the 'originalStartTime' property.
For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. It uniquely identifies the instance within the recurring event series even if the instance was moved to a different time. Immutable.
|
inline |
Gets a reference to a mutable value of the 'recurrence' property.
List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events.
|
inline |
Gets a reference to a mutable value of the 'reminders' property.
Information about the event's reminders for the authenticated user.
|
inline |
Gets a reference to a mutable value of the 'source' property.
Source from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event.
| EventDateTime google_calendar_api::Event::mutable_start | ( | ) |
Gets a reference to a mutable value of the 'start' property.
The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
|
static |
Creates a new default instance.
|
inline |
Change the 'anyoneCanAddSelf' attribute.
Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
| [in] | value | The new value. |
|
inline |
Change the 'attendeesOmitted' attribute.
Whether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False.
| [in] | value | The new value. |
|
inline |
Change the 'colorId' attribute.
The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional.
| [in] | value | The new value. |
|
inline |
Change the 'created' attribute.
Creation time of the event (as a RFC3339 timestamp). Read-only.
| [in] | value | The new value. |
|
inline |
Change the 'description' attribute.
Description of the event. Can contain HTML. Optional.
| [in] | value | The new value. |
|
inline |
Change the 'endTimeUnspecified' attribute.
Whether the end time is actually unspecified. An end time is still provided for compatibility reasons, even if this attribute is set to True. The default is False.
| [in] | value | The new value. |
|
inline |
Change the 'etag' attribute.
ETag of the resource.
| [in] | value | The new value. |
|
inline |
Change the 'guestsCanInviteOthers' attribute.
Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
| [in] | value | The new value. |
|
inline |
Change the 'guestsCanModify' attribute.
Whether attendees other than the organizer can modify the event. Optional. The default is False.
| [in] | value | The new value. |
|
inline |
Change the 'guestsCanSeeOtherGuests' attribute.
Whether attendees other than the organizer can see who the event's attendees are. Optional. The default is True.
| [in] | value | The new value. |
|
inline |
Change the 'hangoutLink' attribute.
An absolute link to the Google+ hangout associated with this event. Read- only.
| [in] | value | The new value. |
|
inline |
Change the 'htmlLink' attribute.
An absolute link to this event in the Google Calendar Web UI. Read-only.
| [in] | value | The new value. |
|
inline |
Change the 'iCalUID' attribute.
Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing events via the import method. Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
| [in] | value | The new value. |
|
inline |
Change the 'id' attribute.
Opaque identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules:
| [in] | value | The new value. |
|
inline |
Change the 'kind' attribute.
Type of the resource ("calendar#event").
| [in] | value | The new value. |
|
inline |
Change the 'location' attribute.
Geographic location of the event as free-form text. Optional.
| [in] | value | The new value. |
|
inline |
Change the 'locked' attribute.
Whether this is a locked event copy where no changes can be made to the main event fields "summary", "description", "location", "start", "end" or "recurrence". The default is False. Read-Only.
| [in] | value | The new value. |
|
inline |
Change the 'privateCopy' attribute.
If set to True, Event propagation is disabled. Note that it is not the same thing as Private event properties. Optional. Immutable. The default is False.
| [in] | value | The new value. |
|
inline |
Change the 'recurringEventId' attribute.
For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable.
| [in] | value | The new value. |
|
inline |
Change the 'sequence' attribute.
Sequence number as per iCalendar.
| [in] | value | The new value. |
|
inline |
Change the 'status' attribute.
Status of the event. Optional. Possible values are:
The list method returns cancelled events only on incremental sync (when syncToken or updatedMin are specified) or if the showD
Clients should remove their locally synced copies. Such cancelled events will eventually disappear, so do not rely on them being available indefinitely.
| [in] | value | The new value. |
|
inline |
Change the 'summary' attribute.
Title of the event.
| [in] | value | The new value. |
|
inline |
Change the 'transparency' attribute.
Whether the event blocks time on the calendar. Optional. Possible values are:
| [in] | value | The new value. |
|
inline |
Change the 'updated' attribute.
Last modification time of the event (as a RFC3339 timestamp). Read-only.
| [in] | value | The new value. |
|
inline |
Change the 'visibility' attribute.
Visibility of the event. Optional. Possible values are:
| [in] | value | The new value. |