class documentation

class PaperEnabledPolicy(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.PaperEnabledPolicy.disabled: Paper is disabled. :ivar team_policies.PaperEnabledPolicy.enabled: Paper is enabled. :ivar team_policies.PaperEnabledPolicy.unspecified: Unspecified policy.

Method is_disabled Check if the union tag is ``disabled``.
Method is_enabled Check if the union tag is ``enabled``.
Method is_other Check if the union tag is ``other``.
Method is_unspecified Check if the union tag is ``unspecified``.
Class Variable disabled Undocumented
Class Variable enabled Undocumented
Class Variable other Undocumented
Class Variable unspecified 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_enabled(self): (source)

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

def is_other(self): (source)

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

def is_unspecified(self): (source)

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

disabled = (source)

Undocumented

Undocumented

Undocumented

unspecified = (source)

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented