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.SourceUID, to which the component belongscomponent (
ECal.Component) – anECal.Componentinstance (
ECal.ComponentAlarmInstance) – anECal.ComponentAlarmInstancedescribing one reminder instance
- Returns:
a new
ECal.ReminderDataprefilled 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.ReminderDatastructure. When the self isNone, simply returnsNoneas well.New in version 3.30.
- free()¶
Frees previously allocated
ECal.ReminderDatastructure withECal.ReminderData.new() orECal.ReminderData.copy(). The function does nothing when self isNone.New in version 3.30.
- get_component()¶
- Returns:
an
ECal.Componentfor self. It is owned by self, thus do not free it.- Return type:
New in version 3.34.
- get_instance()¶
- Returns:
an
ECal.ComponentAlarmInstancefor self. It is owned by self, thus do not free it.- Return type:
New in version 3.34.
- get_source_uid()¶
- Returns:
an
EDataServer.SourceUID for self- Return type:
New in version 3.34.
- set_component(component)¶
- Parameters:
component (
ECal.Component) – anECal.Component
Set an
ECal.Componentcomponent 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.ComponentAlarmInstanceinstance 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.SourceUID
Set an
EDataServer.SourceUID for self.New in version 3.34.