class documentation

class MemberRequestsPolicy(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_auto_accept Check if the union tag is ``auto_accept``.
Method is_disabled Check if the union tag is ``disabled``.
Method is_other Check if the union tag is ``other``.
Method is_require_approval Check if the union tag is ``require_approval``.
Class Variable auto_accept Undocumented
Class Variable disabled Undocumented
Class Variable other Undocumented
Class Variable require_approval Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_auto_accept(self): (source)

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

def is_disabled(self): (source)

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

def is_other(self): (source)

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

def is_require_approval(self): (source)

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

auto_accept = (source)

Undocumented

disabled = (source)

Undocumented

Undocumented

require_approval = (source)

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented