class documentation

class PaperMemberPolicy(bb.Union): (source)

View In Hierarchy

Policy for controlling if team members can share Paper documents 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_anyone_with_link Check if the union tag is ``anyone_with_link``.
Method is_only_team Check if the union tag is ``only_team``.
Method is_other Check if the union tag is ``other``.
Method is_team_and_explicitly_shared Check if the union tag is ``team_and_explicitly_shared``.
Class Variable anyone_with_link Undocumented
Class Variable only_team Undocumented
Class Variable other Undocumented
Class Variable team_and_explicitly_shared Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_anyone_with_link(self): (source)

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

def is_only_team(self): (source)

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

def is_other(self): (source)

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

def is_team_and_explicitly_shared(self): (source)

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

anyone_with_link = (source)

Undocumented

only_team = (source)

Undocumented

Undocumented

team_and_explicitly_shared = (source)

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented