ECal.ReminderData

Fields

None

Methods

class

new (source_uid, component, instance)

copy ()

free ()

get_component ()

get_instance ()

get_source_uid ()

set_component (component)

set_instance (instance)

set_source_uid (source_uid)

Details

class ECal.ReminderData

Contains data related to single reminder occurrence.

Added in version 3.30.

classmethod new(source_uid, component, instance)
Parameters:
Returns:

a new ECal.ReminderData prefilled with given values. Free the returned structure with ECal.ReminderData.free() when no longer needed.

Return type:

ECal.ReminderData

Added in version 3.30.

copy()
Returns:

copy of self. Free the returned structure with ECal.ReminderData.free() when no longer needed.

Return type:

ECal.ReminderData or None

Copies given ECal.ReminderData structure. When the self is None, simply returns None as well.

Added in version 3.30.

free()

Frees previously allocated ECal.ReminderData structure with ECal.ReminderData.new() or ECal.ReminderData.copy(). The function does nothing when self is None.

Added in version 3.30.

get_component()
Returns:

an ECal.Component for self. It is owned by self, thus do not free it.

Return type:

ECal.Component

Added in version 3.34.

get_instance()
Returns:

an ECal.ComponentAlarmInstance for self. It is owned by self, thus do not free it.

Return type:

ECal.ComponentAlarmInstance

Added in version 3.34.

get_source_uid()
Returns:

an EDataServer.Source UID for self

Return type:

str

Added in version 3.34.

set_component(component)
Parameters:

component (ECal.Component) – an ECal.Component

Set an ECal.Component component as associated with this self. The self creates a copy of the component.

Added in version 3.34.

set_instance(instance)
Parameters:

instance (ECal.ComponentAlarmInstance) – an ECal.ComponentAlarmInstance

Set an ECal.ComponentAlarmInstance instance as associated with this self. The self creates a copy of the instance.

Added in version 3.34.

set_source_uid(source_uid)
Parameters:

source_uid (str) – an EDataServer.Source UID

Set an EDataServer.Source UID for self.

Added in version 3.34.