class documentation

class DeleteManualContactsError(bb.Union): (source)

View In Hierarchy

This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method. :ivar list of [str] contacts.DeleteManualContactsError.contacts_not_found: Can't delete contacts from this list. Make sure the list only has manually added contacts. The deletion was cancelled.

Class Method contacts_not_found Create an instance of this class set to the ``contacts_not_found`` tag with value ``val``.
Method get_contacts_not_found Can't delete contacts from this list. Make sure the list only has manually added contacts. The deletion was cancelled.
Method is_contacts_not_found Check if the union tag is ``contacts_not_found``.
Method is_other Check if the union tag is ``other``.
Class Variable other Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
@classmethod
def contacts_not_found(cls, val): (source)

Create an instance of this class set to the ``contacts_not_found`` tag with value ``val``. :param list of [str] val: :rtype: DeleteManualContactsError

def get_contacts_not_found(self): (source)

Can't delete contacts from this list. Make sure the list only has manually added contacts. The deletion was cancelled. Only call this if :meth:`is_contacts_not_found` is true. :rtype: list of [str]

def is_contacts_not_found(self): (source)

Check if the union tag is ``contacts_not_found``. :rtype: bool

def is_other(self): (source)

Check if the union tag is ``other``. :rtype: bool

Undocumented

def _process_custom_annotations(self, annotation_type, field_path, processor): (source)

Undocumented

_catch_all: str = (source)

Undocumented