class documentation

class UnmountFolderError(bb.Union): (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 sharing.UnmountFolderError.no_permission: The current user does not have permission to perform this action. :ivar sharing.UnmountFolderError.not_unmountable: The shared folder can't be unmounted. One example where this can occur is when the shared folder's parent folder is also a shared folder that resides in the current user's Dropbox.

Class Method access_error Create an instance of this class set to the ``access_error`` tag with value ``val``.
Method get_access_error Only call this if :meth:`is_access_error` is true.
Method is_access_error Check if the union tag is ``access_error``.
Method is_no_permission Check if the union tag is ``no_permission``.
Method is_not_unmountable Check if the union tag is ``not_unmountable``.
Method is_other Check if the union tag is ``other``.
Class Variable no_permission Undocumented
Class Variable not_unmountable Undocumented
Class Variable other Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
@classmethod
def access_error(cls, val): (source)

Create an instance of this class set to the ``access_error`` tag with value ``val``. :param SharedFolderAccessError val: :rtype: UnmountFolderError

def get_access_error(self): (source)

Only call this if :meth:`is_access_error` is true. :rtype: SharedFolderAccessError

def is_access_error(self): (source)

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

def is_no_permission(self): (source)

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

def is_not_unmountable(self): (source)

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

def is_other(self): (source)

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

no_permission = (source)

Undocumented

not_unmountable = (source)

Undocumented

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented