class ShareFolderErrorBase(bb.Union): (source)
Known subclasses: dropbox.sharing.ShareFolderError
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.ShareFolderErrorBase.email_unverified: This user'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 SharePathError ShareFolderErrorBase.bad_path: ``ShareFolderArg.path`` is invalid. :ivar sharing.ShareFolderErrorBase.team_policy_disallows_member_policy: Team policy is more restrictive than ``ShareFolderArg.member_policy``. :ivar sharing.ShareFolderErrorBase.disallowed_shared_link_policy: The current user's account is not allowed to select the specified ``ShareFolderArg.shared_link_policy``.
Class Method | bad |
Create an instance of this class set to the ``bad_path`` tag with value ``val``. |
Method | get |
``ShareFolderArg.path`` is invalid. |
Method | is |
Check if the union tag is ``bad_path``. |
Method | is |
Check if the union tag is ``disallowed_shared_link_policy``. |
Method | is |
Check if the union tag is ``email_unverified``. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``team_policy_disallows_member_policy``. |
Class Variable | disallowed |
Undocumented |
Class Variable | email |
Undocumented |
Class Variable | other |
Undocumented |
Class Variable | team |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |
Create an instance of this class set to the ``bad_path`` tag with value ``val``. :param SharePathError val: :rtype: ShareFolderErrorBase
``ShareFolderArg.path`` is invalid. Only call this if :meth:`is_bad_path` is true. :rtype: SharePathError