class documentation

class MemberStatus(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.

Method is_active Check if the union tag is ``active``.
Method is_invited Check if the union tag is ``invited``.
Method is_moved_to_another_team Check if the union tag is ``moved_to_another_team``.
Method is_not_joined Check if the union tag is ``not_joined``.
Method is_other Check if the union tag is ``other``.
Method is_removed Check if the union tag is ``removed``.
Method is_suspended Check if the union tag is ``suspended``.
Class Variable active Undocumented
Class Variable invited Undocumented
Class Variable moved_to_another_team Undocumented
Class Variable not_joined Undocumented
Class Variable other Undocumented
Class Variable removed Undocumented
Class Variable suspended Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_active(self): (source)

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

def is_invited(self): (source)

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

def is_moved_to_another_team(self): (source)

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

def is_not_joined(self): (source)

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

def is_other(self): (source)

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

def is_removed(self): (source)

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

def is_suspended(self): (source)

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

Undocumented

Undocumented

moved_to_another_team = (source)

Undocumented

not_joined = (source)

Undocumented

Undocumented

Undocumented

suspended = (source)

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented