class documentation

class AddSecondaryEmailsError(bb.Union): (source)

View In Hierarchy

Error returned when adding secondary emails fails. 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 team.AddSecondaryEmailsError.secondary_emails_disabled: Secondary emails are disabled for the team. :ivar team.AddSecondaryEmailsError.too_many_emails: A maximum of 20 secondary emails can be added in a single call.

Method is_other Check if the union tag is ``other``.
Method is_secondary_emails_disabled Check if the union tag is ``secondary_emails_disabled``.
Method is_too_many_emails Check if the union tag is ``too_many_emails``.
Class Variable other Undocumented
Class Variable secondary_emails_disabled Undocumented
Class Variable too_many_emails Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_other(self): (source)

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

def is_secondary_emails_disabled(self): (source)

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

def is_too_many_emails(self): (source)

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

Undocumented

secondary_emails_disabled = (source)

Undocumented

too_many_emails = (source)

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented