class documentation

class SharingPublicPolicyType(SharingTeamPolicyType): (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 paper.SharingPublicPolicyType.disabled: Value used to indicate that doc sharing is enabled only within team.

Method is_disabled Check if the union tag is ``disabled``.
Class Variable disabled Undocumented
Method _process_custom_annotations Undocumented

Inherited from SharingTeamPolicyType:

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
Class Variable _catch_all Undocumented
def is_disabled(self): (source)

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

disabled = (source)

Undocumented

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