class documentation

class TwoStepVerificationState(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_policies.TwoStepVerificationState.required: Enabled require two factor authorization. :ivar team_policies.TwoStepVerificationState.optional: Optional require two factor authorization. :ivar team_policies.TwoStepVerificationState.disabled: Disabled require two factor authorization.

Method is_disabled Check if the union tag is ``disabled``.
Method is_optional Check if the union tag is ``optional``.
Method is_other Check if the union tag is ``other``.
Method is_required Check if the union tag is ``required``.
Class Variable disabled Undocumented
Class Variable optional Undocumented
Class Variable other Undocumented
Class Variable required Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_disabled(self): (source)

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

def is_optional(self): (source)

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

def is_other(self): (source)

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

def is_required(self): (source)

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

disabled = (source)

Undocumented

optional = (source)

Undocumented

Undocumented

required = (source)

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented