class documentation

class SharingTeamPolicyType(bb.Union): (source)

Known subclasses: dropbox.paper.SharingPublicPolicyType

View In Hierarchy

The sharing policy type of the Paper doc. 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 paper.SharingTeamPolicyType.people_with_link_can_edit: Users who have a link to this doc can edit it. :ivar paper.SharingTeamPolicyType.people_with_link_can_view_and_comment: Users who have a link to this doc can view and comment on it. :ivar paper.SharingTeamPolicyType.invite_only: Users must be explicitly invited to this doc.

Method is_invite_only Check if the union tag is ``invite_only``.
Method is_people_with_link_can_edit Check if the union tag is ``people_with_link_can_edit``.
Method is_people_with_link_can_view_and_comment Check if the union tag is ``people_with_link_can_view_and_comment``.
Class Variable invite_only Undocumented
Class Variable people_with_link_can_edit Undocumented
Class Variable people_with_link_can_view_and_comment Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_invite_only(self): (source)

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

def is_people_with_link_can_edit(self): (source)

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

def is_people_with_link_can_view_and_comment(self): (source)

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

invite_only = (source)

Undocumented

people_with_link_can_edit = (source)

Undocumented

people_with_link_can_view_and_comment = (source)

Undocumented

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

Undocumented

_catch_all = (source)

Undocumented