class documentation

class TransferFolderError(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.TransferFolderError.invalid_dropbox_id: ``TransferFolderArg.to_dropbox_id`` is invalid. :ivar sharing.TransferFolderError.new_owner_not_a_member: The new designated owner is not currently a member of the shared folder. :ivar sharing.TransferFolderError.new_owner_unmounted: The new designated owner has not added the folder to their Dropbox. :ivar sharing.TransferFolderError.new_owner_email_unverified: The new designated owner's email address is not verified. This functionality is only available on accounts with a verified email address. Users can verify their email address `here <https://www.dropbox.com/help/317>`_. :ivar sharing.TransferFolderError.team_folder: This action cannot be performed on a team shared folder. :ivar sharing.TransferFolderError.no_permission: The current user does not have permission to perform this action.

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_invalid_dropbox_id Check if the union tag is ``invalid_dropbox_id``.
Method is_new_owner_email_unverified Check if the union tag is ``new_owner_email_unverified``.
Method is_new_owner_not_a_member Check if the union tag is ``new_owner_not_a_member``.
Method is_new_owner_unmounted Check if the union tag is ``new_owner_unmounted``.
Method is_no_permission Check if the union tag is ``no_permission``.
Method is_other Check if the union tag is ``other``.
Method is_team_folder Check if the union tag is ``team_folder``.
Class Variable invalid_dropbox_id Undocumented
Class Variable new_owner_email_unverified Undocumented
Class Variable new_owner_not_a_member Undocumented
Class Variable new_owner_unmounted Undocumented
Class Variable no_permission Undocumented
Class Variable other Undocumented
Class Variable team_folder 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: TransferFolderError

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_invalid_dropbox_id(self): (source)

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

def is_new_owner_email_unverified(self): (source)

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

def is_new_owner_not_a_member(self): (source)

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

def is_new_owner_unmounted(self): (source)

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

def is_no_permission(self): (source)

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

def is_other(self): (source)

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

def is_team_folder(self): (source)

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

invalid_dropbox_id = (source)

Undocumented

new_owner_email_unverified = (source)

Undocumented

new_owner_not_a_member = (source)

Undocumented

new_owner_unmounted = (source)

Undocumented

no_permission = (source)

Undocumented

Undocumented

team_folder = (source)

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented