class documentation

class PlacementRestriction(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_australia_only Check if the union tag is ``australia_only``.
Method is_europe_only Check if the union tag is ``europe_only``.
Method is_japan_only Check if the union tag is ``japan_only``.
Method is_none Check if the union tag is ``none``.
Method is_other Check if the union tag is ``other``.
Method is_uk_only Check if the union tag is ``uk_only``.
Method is_us_s3_only Check if the union tag is ``us_s3_only``.
Class Variable australia_only Undocumented
Class Variable europe_only Undocumented
Class Variable japan_only Undocumented
Class Variable none Undocumented
Class Variable other Undocumented
Class Variable uk_only Undocumented
Class Variable us_s3_only Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_australia_only(self): (source)

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

def is_europe_only(self): (source)

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

def is_japan_only(self): (source)

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

def is_none(self): (source)

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

def is_other(self): (source)

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

def is_uk_only(self): (source)

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

def is_us_s3_only(self): (source)

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

australia_only = (source)

Undocumented

europe_only = (source)

Undocumented

japan_only = (source)

Undocumented

Undocumented

Undocumented

Undocumented

us_s3_only = (source)

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented