class AddFolderMemberError(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 SharedFolderAccessError AddFolderMemberError.access_error: Unable to access shared folder. :ivar sharing.AddFolderMemberError.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 sharing.AddFolderMemberError.banned_member: The current user has been banned. :ivar AddMemberSelectorError AddFolderMemberError.bad_member: ``AddFolderMemberArg.members`` contains a bad invitation recipient. :ivar sharing.AddFolderMemberError.cant_share_outside_team: Your team policy does not allow sharing outside of the team. :ivar int sharing.AddFolderMemberError.too_many_members: The value is the member limit that was reached. :ivar int sharing.AddFolderMemberError.too_many_pending_invites: The value is the pending invite limit that was reached. :ivar sharing.AddFolderMemberError.rate_limit: The current user has hit the limit of invites they can send per day. Try again in 24 hours. :ivar sharing.AddFolderMemberError.too_many_invitees: The current user is trying to share with too many people at once. :ivar sharing.AddFolderMemberError.insufficient_plan: The current user's account doesn't support this action. An example of this is when adding a read-only member. This action can only be performed by users that have upgraded to a Pro or Business plan. :ivar sharing.AddFolderMemberError.team_folder: This action cannot be performed on a team shared folder. :ivar sharing.AddFolderMemberError.no_permission: The current user does not have permission to perform this action. :ivar sharing.AddFolderMemberError.invalid_shared_folder: Invalid shared folder error will be returned as an access_error.
Class Method | access |
Create an instance of this class set to the ``access_error`` tag with value ``val``. |
Class Method | bad |
Create an instance of this class set to the ``bad_member`` tag with value ``val``. |
Class Method | too |
Create an instance of this class set to the ``too_many_members`` tag with value ``val``. |
Class Method | too |
Create an instance of this class set to the ``too_many_pending_invites`` tag with value ``val``. |
Method | get |
Unable to access shared folder. |
Method | get |
``AddFolderMemberArg.members`` contains a bad invitation recipient. |
Method | get |
The value is the member limit that was reached. |
Method | get |
The value is the pending invite limit that was reached. |
Method | is |
Check if the union tag is ``access_error``. |
Method | is |
Check if the union tag is ``bad_member``. |
Method | is |
Check if the union tag is ``banned_member``. |
Method | is |
Check if the union tag is ``cant_share_outside_team``. |
Method | is |
Check if the union tag is ``email_unverified``. |
Method | is |
Check if the union tag is ``insufficient_plan``. |
Method | is |
Check if the union tag is ``invalid_shared_folder``. |
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 ``rate_limit``. |
Method | is |
Check if the union tag is ``team_folder``. |
Method | is |
Check if the union tag is ``too_many_invitees``. |
Method | is |
Check if the union tag is ``too_many_members``. |
Method | is |
Check if the union tag is ``too_many_pending_invites``. |
Class Variable | banned |
Undocumented |
Class Variable | cant |
Undocumented |
Class Variable | email |
Undocumented |
Class Variable | insufficient |
Undocumented |
Class Variable | invalid |
Undocumented |
Class Variable | no |
Undocumented |
Class Variable | other |
Undocumented |
Class Variable | rate |
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: AddFolderMemberError
Create an instance of this class set to the ``bad_member`` tag with value ``val``. :param AddMemberSelectorError val: :rtype: AddFolderMemberError
Create an instance of this class set to the ``too_many_members`` tag with value ``val``. :param int val: :rtype: AddFolderMemberError
Create an instance of this class set to the ``too_many_pending_invites`` tag with value ``val``. :param int val: :rtype: AddFolderMemberError
Unable to access shared folder. Only call this if :meth:`is_access_error` is true. :rtype: SharedFolderAccessError
``AddFolderMemberArg.members`` contains a bad invitation recipient. Only call this if :meth:`is_bad_member` is true. :rtype: AddMemberSelectorError
The value is the member limit that was reached. Only call this if :meth:`is_too_many_members` is true. :rtype: int
The value is the pending invite limit that was reached. Only call this if :meth:`is_too_many_pending_invites` is true. :rtype: int