ECal.ReminderData¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- class ECal.ReminderData¶
Contains data related to single reminder occurrence.
New in version 3.30.
- classmethod new(source_uid, component, instance)¶
- Parameters:
source_uid (
str
) – anEDataServer.Source
UID, to which the component belongscomponent (
ECal.Component
) – anECal.Component
instance (
ECal.ComponentAlarmInstance
) – anECal.ComponentAlarmInstance
describing one reminder instance
- Returns:
a new
ECal.ReminderData
prefilled with given values. Free the returned structure withECal.ReminderData.free
() when no longer needed.- Return type:
New in version 3.30.
- copy()¶
- Returns:
copy of self. Free the returned structure with
ECal.ReminderData.free
() when no longer needed.- Return type:
Copies given
ECal.ReminderData
structure. When the self isNone
, simply returnsNone
as well.New in version 3.30.
- free()¶
Frees previously allocated
ECal.ReminderData
structure withECal.ReminderData.new
() orECal.ReminderData.copy
(). The function does nothing when self isNone
.New in version 3.30.
- get_component()¶
- Returns:
an
ECal.Component
for self. It is owned by self, thus do not free it.- Return type:
New in version 3.34.
- get_instance()¶
- Returns:
an
ECal.ComponentAlarmInstance
for self. It is owned by self, thus do not free it.- Return type:
New in version 3.34.
- get_source_uid()¶
- Returns:
an
EDataServer.Source
UID for self- Return type:
New in version 3.34.
- set_component(component)¶
- Parameters:
component (
ECal.Component
) – anECal.Component
Set an
ECal.Component
component as associated with this self. The self creates a copy of the component.New in version 3.34.
- set_instance(instance)¶
- Parameters:
instance (
ECal.ComponentAlarmInstance
) – anECal.ComponentAlarmInstance
Set an
ECal.ComponentAlarmInstance
instance as associated with this self. The self creates a copy of the instance.New in version 3.34.
- set_source_uid(source_uid)¶
- Parameters:
source_uid (
str
) – anEDataServer.Source
UID
Set an
EDataServer.Source
UID for self.New in version 3.34.