class RemoveFolderMemberError(bb.Union): (source)
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.RemoveFolderMemberError.folder_owner: The target user is the owner of the shared folder. You can't remove this user until ownership has been transferred to another member. :ivar sharing.RemoveFolderMemberError.group_access: The target user has access to the shared folder via a group. :ivar sharing.RemoveFolderMemberError.team_folder: This action cannot be performed on a team shared folder. :ivar sharing.RemoveFolderMemberError.no_permission: The current user does not have permission to perform this action. :ivar sharing.RemoveFolderMemberError.too_many_files: This shared folder has too many files for leaving a copy. You can still remove this user without leaving a copy.
Class Method | access |
Create an instance of this class set to the ``access_error`` tag with value ``val``. |
Class Method | member |
Create an instance of this class set to the ``member_error`` tag with value ``val``. |
Method | get |
Only call this if :meth:`is_access_error` is true. |
Method | get |
Only call this if :meth:`is_member_error` is true. |
Method | is |
Check if the union tag is ``access_error``. |
Method | is |
Check if the union tag is ``folder_owner``. |
Method | is |
Check if the union tag is ``group_access``. |
Method | is |
Check if the union tag is ``member_error``. |
Method | is |
Check if the union tag is ``no_permission``. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``team_folder``. |
Method | is |
Check if the union tag is ``too_many_files``. |
Class Variable | folder |
Undocumented |
Class Variable | group |
Undocumented |
Class Variable | no |
Undocumented |
Class Variable | other |
Undocumented |
Class Variable | team |
Undocumented |
Class Variable | too |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |
Create an instance of this class set to the ``access_error`` tag with value ``val``. :param SharedFolderAccessError val: :rtype: RemoveFolderMemberError
Create an instance of this class set to the ``member_error`` tag with value ``val``. :param SharedFolderMemberError val: :rtype: RemoveFolderMemberError