EDataBook.BookMetaBackendInfo

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 EDataBook.BookMetaBackendInfo
classmethod free(ptr)
Parameters:

ptr (object or None) – an EDataBook.BookMetaBackendInfo

Frees the ptr structure, previously allocated with EDataBook.BookMetaBackendInfo.new() or EDataBook.BookMetaBackendInfo.copy().

New in version 3.26.

classmethod new(uid, revision, object, extra)
Parameters:
  • uid (str) – a contact UID; cannot be None

  • revision (str or None) – the contact revision; can be None

  • object (str or None) – the contact object as a vCard string; can be None

  • extra (str or None) – extra backend-specific data; can be None

Returns:

A new EDataBook.BookMetaBackendInfo. Free it with EDataBook.BookMetaBackendInfo.free(), when no longer needed.

Return type:

EDataBook.BookMetaBackendInfo

Creates a new EDataBook.BookMetaBackendInfo prefilled with the given values.

New in version 3.26.

copy()
Returns:

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

Return type:

EDataBook.BookMetaBackendInfo or None

New in version 3.26.