class documentation

class AccessLevel(bb.Union): (source)

View In Hierarchy

Defines the access levels for collaborators. 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 sharing.AccessLevel.owner: The collaborator is the owner of the shared folder. Owners can view and edit the shared folder as well as set the folder's policies using :meth:`dropbox.dropbox_client.Dropbox.sharing_update_folder_policy`. :ivar sharing.AccessLevel.editor: The collaborator can both view and edit the shared folder. :ivar sharing.AccessLevel.viewer: The collaborator can only view the shared folder. :ivar sharing.AccessLevel.viewer_no_comment: The collaborator can only view the shared folder and does not have any access to comments. :ivar sharing.AccessLevel.traverse: The collaborator can only view the shared folder that they have access to.

Method is_editor Check if the union tag is ``editor``.
Method is_other Check if the union tag is ``other``.
Method is_owner Check if the union tag is ``owner``.
Method is_traverse Check if the union tag is ``traverse``.
Method is_viewer Check if the union tag is ``viewer``.
Method is_viewer_no_comment Check if the union tag is ``viewer_no_comment``.
Class Variable editor Undocumented
Class Variable other Undocumented
Class Variable owner Undocumented
Class Variable traverse Undocumented
Class Variable viewer Undocumented
Class Variable viewer_no_comment Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_editor(self): (source)

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

def is_other(self): (source)

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

def is_owner(self): (source)

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

def is_traverse(self): (source)

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

def is_viewer(self): (source)

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

def is_viewer_no_comment(self): (source)

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

Undocumented

Undocumented

Undocumented

traverse = (source)

Undocumented

Undocumented

viewer_no_comment = (source)

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented