class documentation

class GroupCreateError(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 team.GroupCreateError.group_name_already_used: The requested group name is already being used by another group. :ivar team.GroupCreateError.group_name_invalid: Group name is empty or has invalid characters. :ivar team.GroupCreateError.external_id_already_in_use: The requested external ID is already being used by another group. :ivar team.GroupCreateError.system_managed_group_disallowed: System-managed group cannot be manually created.

Method is_external_id_already_in_use Check if the union tag is ``external_id_already_in_use``.
Method is_group_name_already_used Check if the union tag is ``group_name_already_used``.
Method is_group_name_invalid Check if the union tag is ``group_name_invalid``.
Method is_other Check if the union tag is ``other``.
Method is_system_managed_group_disallowed Check if the union tag is ``system_managed_group_disallowed``.
Class Variable external_id_already_in_use Undocumented
Class Variable group_name_already_used Undocumented
Class Variable group_name_invalid Undocumented
Class Variable other Undocumented
Class Variable system_managed_group_disallowed Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_external_id_already_in_use(self): (source)

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

def is_group_name_already_used(self): (source)

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

def is_group_name_invalid(self): (source)

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

def is_other(self): (source)

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

def is_system_managed_group_disallowed(self): (source)

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

external_id_already_in_use = (source)

Undocumented

group_name_already_used = (source)

Undocumented

group_name_invalid = (source)

Undocumented

Undocumented

system_managed_group_disallowed = (source)

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented