EDataCal.CalMetaBackendInfo

Fields

Name Type Access Description
extra str r/w  
object str r/w  
revision str r/w  
uid str r/w  

Methods

class free (ptr)
class new (uid, revision, object, extra)
  copy ()

Details

class EDataCal.CalMetaBackendInfo
classmethod free(ptr)
Parameters:ptr (object or None) – an EDataCal.CalMetaBackendInfo

Frees the ptr structure, previously allocated with EDataCal.CalMetaBackendInfo.new() or EDataCal.CalMetaBackendInfo.copy().

New in version 3.26.

classmethod new(uid, revision, object, extra)
Parameters:
  • uid (str) – a component UID; cannot be None
  • revision (str or None) – the component revision; can be None
  • object (str or None) – the component object as an iCalendar string; can be None
  • extra (str or None) – extra backend-specific data; can be None
Returns:

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

Return type:

EDataCal.CalMetaBackendInfo

Creates a new EDataCal.CalMetaBackendInfo prefilled with the given values.

New in version 3.26.

copy()
Returns:Copy of the given self. Free it with EDataCal.CalMetaBackendInfo.free() when no longer needed. If the self is None, then returns None as well.
Return type:EDataCal.CalMetaBackendInfo

New in version 3.26.