class documentation

class SharingLinkPolicy(bb.Union): (source)

View In Hierarchy

Policy for controlling if team members can share links externally 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_default_no_one Check if the union tag is ``default_no_one``.
Method is_default_private Check if the union tag is ``default_private``.
Method is_default_public Check if the union tag is ``default_public``.
Method is_only_private Check if the union tag is ``only_private``.
Method is_other Check if the union tag is ``other``.
Class Variable default_no_one Undocumented
Class Variable default_private Undocumented
Class Variable default_public Undocumented
Class Variable only_private Undocumented
Class Variable other Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_default_no_one(self): (source)

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

def is_default_private(self): (source)

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

def is_default_public(self): (source)

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

def is_only_private(self): (source)

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

def is_other(self): (source)

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

default_no_one = (source)

Undocumented

default_private = (source)

Undocumented

default_public = (source)

Undocumented

only_private = (source)

Undocumented

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented