class GroupMembersRemoveError(GroupMembersSelectorError): (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 team.GroupMembersRemoveError.group_not_in_team: Group is not in this team. You cannot remove members from a group that is outside of your team. :ivar list of [str] team.GroupMembersRemoveError.members_not_in_team: These members are not part of your team. :ivar list of [str] team.GroupMembersRemoveError.users_not_found: These users were not found in Dropbox.
Class Method | members |
Create an instance of this class set to the ``members_not_in_team`` tag with value ``val``. |
Class Method | users |
Create an instance of this class set to the ``users_not_found`` tag with value ``val``. |
Method | get |
These members are not part of your team. |
Method | get |
These users were not found in Dropbox. |
Method | is |
Check if the union tag is ``group_not_in_team``. |
Method | is |
Check if the union tag is ``members_not_in_team``. |
Method | is |
Check if the union tag is ``users_not_found``. |
Class Variable | group |
Undocumented |
Method | _process |
Undocumented |
Inherited from GroupMembersSelectorError
:
Method | is |
Check if the union tag is ``member_not_in_group``. |
Class Variable | member |
Undocumented |
Inherited from GroupSelectorWithTeamGroupError
(via GroupMembersSelectorError
):
Method | is |
Check if the union tag is ``system_managed_group_disallowed``. |
Class Variable | system |
Undocumented |
Inherited from GroupSelectorError
(via GroupMembersSelectorError
, GroupSelectorWithTeamGroupError
):
Method | is |
Check if the union tag is ``group_not_found``. |
Method | is |
Check if the union tag is ``other``. |
Class Variable | group |
Undocumented |
Class Variable | other |
Undocumented |
Class Variable | _catch |
Undocumented |
Create an instance of this class set to the ``members_not_in_team`` tag with value ``val``. :param list of [str] val: :rtype: GroupMembersRemoveError
Create an instance of this class set to the ``users_not_found`` tag with value ``val``. :param list of [str] val: :rtype: GroupMembersRemoveError
These members are not part of your team. Only call this if :meth:`is_members_not_in_team` is true. :rtype: list of [str]
These users were not found in Dropbox. Only call this if :meth:`is_users_not_found` is true. :rtype: list of [str]