class AddMemberSelectorError(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.AddMemberSelectorError.automatic_group: Automatically created groups can only be added to team folders. :ivar str sharing.AddMemberSelectorError.invalid_dropbox_id: The value is the ID that could not be identified. :ivar str sharing.AddMemberSelectorError.invalid_email: The value is the e-email address that is malformed. :ivar str sharing.AddMemberSelectorError.unverified_dropbox_id: The value is the ID of the Dropbox user with an unverified email address. Invite unverified users by email address instead of by their Dropbox ID. :ivar sharing.AddMemberSelectorError.group_deleted: At least one of the specified groups in ``AddFolderMemberArg.members`` is deleted. :ivar sharing.AddMemberSelectorError.group_not_on_team: Sharing to a group that is not on the current user's team.
Class Method | invalid |
Create an instance of this class set to the ``invalid_dropbox_id`` tag with value ``val``. |
Class Method | invalid |
Create an instance of this class set to the ``invalid_email`` tag with value ``val``. |
Class Method | unverified |
Create an instance of this class set to the ``unverified_dropbox_id`` tag with value ``val``. |
Method | get |
The value is the ID that could not be identified. |
Method | get |
The value is the e-email address that is malformed. |
Method | get |
The value is the ID of the Dropbox user with an unverified email address. Invite unverified users by email address instead of by their Dropbox ID. |
Method | is |
Check if the union tag is ``automatic_group``. |
Method | is |
Check if the union tag is ``group_deleted``. |
Method | is |
Check if the union tag is ``group_not_on_team``. |
Method | is |
Check if the union tag is ``invalid_dropbox_id``. |
Method | is |
Check if the union tag is ``invalid_email``. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``unverified_dropbox_id``. |
Class Variable | automatic |
Undocumented |
Class Variable | group |
Undocumented |
Class Variable | group |
Undocumented |
Class Variable | other |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |
Create an instance of this class set to the ``invalid_dropbox_id`` tag with value ``val``. :param str val: :rtype: AddMemberSelectorError
Create an instance of this class set to the ``invalid_email`` tag with value ``val``. :param str val: :rtype: AddMemberSelectorError
Create an instance of this class set to the ``unverified_dropbox_id`` tag with value ``val``. :param str val: :rtype: AddMemberSelectorError
The value is the ID that could not be identified. Only call this if :meth:`is_invalid_dropbox_id` is true. :rtype: str
The value is the e-email address that is malformed. Only call this if :meth:`is_invalid_email` is true. :rtype: str
The value is the ID of the Dropbox user with an unverified email address. Invite unverified users by email address instead of by their Dropbox ID. Only call this if :meth:`is_unverified_dropbox_id` is true. :rtype: str