CalendarEvent
Object Hierarchy:
Description:
All the fields in the CalendarEvent structure are private and should never be
accessed directly.
Namespace: GData
Package: libgdata
Content:
Properties:
-
public bool anyone_can_add_self { set; get; }
Indicates whether anyone can invite themselves to the event, by adding themselves to the attendee list.
-
public int64 edited { get; }
The last time the event was edited. If the event has not been edited yet, the content indicates the time
it was created.
-
public bool guests_can_invite_others { set; get; }
Indicates whether attendees may invite others to the event.
-
public bool guests_can_modify { set; get; }
Indicates whether attendees may modify the original event, so that changes are visible to organizers and
other attendees. Otherwise, any changes made by attendees will be restricted to that attendee's calendar.
-
public bool guests_can_see_guests { set; get; }
Indicates whether attendees can see other people invited to the event.
-
public string original_event_id { owned get; }
The event ID for the original event, if this event is an exception to a recurring event.
-
public string original_event_uri { owned get; }
The event URI for the original event, if this event is an exception to a recurring event.
-
public string recurrence { set; get; }
Represents the dates and times when a recurring event takes place. The returned string is in iCal
format, as a list of properties.
-
public uint sequence { set; get; }
The revision sequence number of the event as defined in Section 4.8.7.4 of RFC 2445.
-
public string status { set; get; }
-
public string transparency { set; get; }
-
public string uid { set; get; }
The globally unique identifier (UID) of the event as defined in Section 4.8.4.7 of RFC 2445.
-
public string visibility { set; get; }
Creation methods:
Methods:
-
public void add_person (GDWho who)
Adds the person who to the event as a guest (attendee, organiser, performer, etc.), and
increments its reference count.
-
public void add_place (GDWhere where)
Adds the place where to the event as a location and increments its reference count.
-
public void add_time (GDWhen when)
Adds when to the event as a time period when the event happens, and increments its
reference count.
-
public bool get_anyone_can_add_self ()
-
public int64 get_edited ()
Gets the edited property. If the property
is unset, -1 will be returned.
-
public bool get_guests_can_invite_others ()
-
public bool get_guests_can_modify ()
-
public bool get_guests_can_see_guests ()
-
public void get_original_event_details (out string event_id, out string event_uri)
Gets details of the original event, if this event is an exception to a recurring event. The original
event's ID and the URI of the event's XML are returned in event_id and event_uri, respectively.
-
public unowned List<GDWho> get_people ()
Gets a list of the people attending the event.
-
public unowned List<GDWhere> get_places ()
Gets a list of the locations associated with the event.
-
public bool get_primary_time (out int64 start_time, out int64 end_time, out GDWhen when)
Gets the first time period associated with the event, conveniently returning just its start and end
times if required.
-
public unowned string get_recurrence ()
-
public uint get_sequence ()
-
public unowned string get_status ()
-
public unowned List<GDWhen> get_times ()
Gets a list of the time periods associated with the event.
-
public unowned string get_transparency ()
-
public unowned string get_uid ()
-
public unowned string get_visibility ()
-
public bool is_exception ()
Determines whether the event is an exception to a recurring event. If it is, details of the original
event can be retrieved using get_original_event_details
.
-
public void set_anyone_can_add_self (bool anyone_can_add_self)
-
public void set_guests_can_invite_others (bool guests_can_invite_others)
-
public void set_guests_can_modify (bool guests_can_modify)
-
public void set_guests_can_see_guests (bool guests_can_see_guests)
-
public void set_recurrence (string? recurrence)
Sets the recurrence property to the
new recurrence, recurrence.
-
public void set_sequence (uint sequence)
Sets the sequence property to the new
sequence number, sequence.
-
public void set_status (string? status)
Sets the status property to the new
status, status.
-
public void set_transparency (string? transparency)
Sets the transparency property to
the new transparency, transparency.
-
public void set_uid (string? uid)
Sets the uid property to the new UID,
uid.
-
public void set_visibility (string? visibility)
Sets the visibility property to the
new visibility, visibility.