class RemoveFileMemberError(bb.Union): (source)
Errors for :meth:`dropbox.dropbox_client.Dropbox.sharing_remove_file_member_2`. 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 MemberAccessLevelResult RemoveFileMemberError.no_explicit_access: This member does not have explicit access to the file and therefore cannot be removed. The return value is the access that a user might have to the file from a parent folder.
Class Method | access |
Create an instance of this class set to the ``access_error`` tag with value ``val``. |
Class Method | no |
Create an instance of this class set to the ``no_explicit_access`` tag with value ``val``. |
Class Method | user |
Create an instance of this class set to the ``user_error`` tag with value ``val``. |
Method | get |
Only call this if :meth:`is_access_error` is true. |
Method | get |
This member does not have explicit access to the file and therefore cannot be removed. The return value is the access that a user might have to the file from a parent folder. |
Method | get |
Only call this if :meth:`is_user_error` is true. |
Method | is |
Check if the union tag is ``access_error``. |
Method | is |
Check if the union tag is ``no_explicit_access``. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``user_error``. |
Class Variable | other |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |
Create an instance of this class set to the ``access_error`` tag with value ``val``. :param SharingFileAccessError val: :rtype: RemoveFileMemberError
Create an instance of this class set to the ``no_explicit_access`` tag with value ``val``. :param MemberAccessLevelResult val: :rtype: RemoveFileMemberError
Create an instance of this class set to the ``user_error`` tag with value ``val``. :param SharingUserError val: :rtype: RemoveFileMemberError
This member does not have explicit access to the file and therefore cannot be removed. The return value is the access that a user might have to the file from a parent folder. Only call this if :meth:`is_no_explicit_access` is true. :rtype: MemberAccessLevelResult