EDataCal.CalCacheOfflineChange

Fields

Name

Type

Access

Description

object

str

r/w

the component itself, as an iCalendar string

revision

str

r/w

stored revision of the component

rid

str

r/w

Recurrence-ID of the component

state

EBackend.OfflineState

r/w

an EBackend.OfflineState of the component

uid

str

r/w

UID of the component

Methods

class

free (change)

class

new (uid, rid, revision, object, state)

copy ()

Details

class EDataCal.CalCacheOfflineChange

Holds the information about offline change for one component.

New in version 3.26.

classmethod free(change)
Parameters:

change (object or None) – an EDataCal.CalCacheOfflineChange

Frees the change structure, previously allocated with EDataCal.CalCacheOfflineChange.new() or EDataCal.CalCacheOfflineChange.copy().

New in version 3.26.

classmethod new(uid, rid, revision, object, state)
Parameters:
Returns:

A new EDataCal.CalCacheOfflineChange. Free it with EDataCal.CalCacheOfflineChange.free() when no longer needed.

Return type:

EDataCal.CalCacheOfflineChange

Creates a new EDataCal.CalCacheOfflineChange with the offline state information for the given uid.

New in version 3.26.

copy()
Returns:

Copy of the given self. Free it with EDataCal.CalCacheOfflineChange.free() when no longer needed. If the self is None, then returns None as well.

Return type:

EDataCal.CalCacheOfflineChange or None

New in version 3.26.