ECal.ComponentAttendee¶
Fields¶
None
Methods¶
class |
|
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- class ECal.ComponentAttendee¶
Describes an attendee. Use the functions below to work with it.
- classmethod new()¶
- Returns:
a newly allocated
ECal.ComponentAttendee- Return type:
Creates a new empty
ECal.ComponentAttendeestructure. Free it with e_cal_component_attendee_free(), when no longer needed.New in version 3.34.
- classmethod new_from_property(property)¶
- Parameters:
property (
ICalGLib.Property) – anICalGLib.Propertyof kindICalGLib.PropertyKind.ATTENDEE_PROPERTY- Returns:
a newly allocated
ECal.ComponentAttendee- Return type:
Creates a new
ECal.ComponentAttendee, filled with values from property, which should be of kindICalGLib.PropertyKind.ATTENDEE_PROPERTY. The function returnsNonewhen it is not of the expected kind. Free the structure with e_cal_component_attendee_free(), when no longer needed.New in version 3.34.
- classmethod new_full(value, member, cutype, role, partstat, rsvp, delegatedfrom, delegatedto, sentby, cn, language)¶
- Parameters:
value (
strorNone) – usually a “mailto:email” of the attendeecutype (
ICalGLib.ParameterCutype) – type of the attendee, anICalGLib.ParameterCutyperole (
ICalGLib.ParameterRole) – role of the attendee, anICalGLib.ParameterRolepartstat (
ICalGLib.ParameterPartstat) – current status of the attendee, anICalGLib.ParameterPartstatrsvp (
bool) – whether requires RSVP
- Returns:
a newly allocated
ECal.ComponentAttendee- Return type:
Creates a new
ECal.ComponentAttendeestructure, with all members filled with given values from the parameters. TheNoneand empty strings are treated as unset the value. Free the structure with e_cal_component_attendee_free(), when no longer needed.New in version 3.34.
- copy()¶
- Returns:
a newly allocated copy of self
- Return type:
Returns a newly allocated copy of self, which should be freed with e_cal_component_attendee_free(), when no longer needed.
New in version 3.34.
- fill_property(property)¶
- Parameters:
property (
ICalGLib.Property) – anICalGLib.Property- Returns:
- Return type:
property:
ICalGLib.Property
Fill property with information from self. The property should be of kind
ICalGLib.PropertyKind.ATTENDEE_PROPERTY.New in version 3.34.
- get_as_property()¶
- Returns:
a newly created
ICalGLib.Property, containing information from the self.- Return type:
Converts information stored in self into an
ICalGLib.PropertyofICalGLib.PropertyKind.ATTENDEE_PROPERTYkind. The caller is responsible to free the returned object withGObject.Object.unref(), when no longer needed.New in version 3.34.
- get_cn()¶
-
New in version 3.34.
- get_cutype()¶
- Returns:
the self type, as an
ICalGLib.ParameterCutype- Return type:
New in version 3.34.
- get_delegatedfrom()¶
-
New in version 3.34.
- get_delegatedto()¶
-
New in version 3.34.
- get_parameter_bag()¶
- Returns:
an
ECal.ComponentParameterBagwith additional parameters stored with the attendee property, other than those accessible with the other functions of the self.- Return type:
New in version 3.34.
- get_partstat()¶
- Returns:
the self status, as an
ICalGLib.ParameterPartstat- Return type:
New in version 3.34.
- get_role()¶
- Returns:
the self role, as an
ICalGLib.ParameterRole- Return type:
New in version 3.34.
- get_value()¶
-
New in version 3.34.
- set_cn(cn)¶
-
Set the self common name (cn) parameter. The
Noneand empty strings are treated as unset the value.New in version 3.34.
- set_cutype(cutype)¶
- Parameters:
cutype (
ICalGLib.ParameterCutype) – the value to set, as anICalGLib.ParameterCutype
Set the self type, as an
ICalGLib.ParameterCutype.New in version 3.34.
- set_delegatedfrom(delegatedfrom)¶
-
Set the self delegatedfrom parameter. The
Noneand empty strings are treated as unset the value.New in version 3.34.
- set_delegatedto(delegatedto)¶
-
Set the self delegatedto parameter. The
Noneand empty strings are treated as unset the value.New in version 3.34.
- set_from_property(property)¶
- Parameters:
property (
ICalGLib.Property) – anICalGLib.Property
Fill the self structure with the information from the property, which should be of
ICalGLib.PropertyKind.ATTENDEE_PROPERTYkind.New in version 3.34.
- set_language(language)¶
-
Set the self language parameter. The
Noneand empty strings are treated as unset the value.New in version 3.34.
- set_member(member)¶
-
Set the self member parameter. The
Noneand empty strings are treated as unset the value.New in version 3.34.
- set_partstat(partstat)¶
- Parameters:
partstat (
ICalGLib.ParameterPartstat) – the value to set, as anICalGLib.ParameterPartstat
Set the self status, as an
ICalGLib.ParameterPartstat.New in version 3.34.
- set_role(role)¶
- Parameters:
role (
ICalGLib.ParameterRole) – the value to set, as anICalGLib.ParameterRole
Set the self role, as an
ICalGLib.ParameterRole.New in version 3.34.