class documentation

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.GroupMembersAddError.duplicate_user: You cannot add duplicate users. One or more of the members you are trying to add is already a member of the group. :ivar team.GroupMembersAddError.group_not_in_team: Group is not in this team. You cannot add members to a group that is outside of your team. :ivar list of [str] team.GroupMembersAddError.members_not_in_team: These members are not part of your team. Currently, you cannot add members to a group if they are not part of your team, though this may change in a subsequent version. To add new members to your Dropbox Business team, use the :route:`members/add` endpoint. :ivar list of [str] team.GroupMembersAddError.users_not_found: These users were not found in Dropbox. :ivar team.GroupMembersAddError.user_must_be_active_to_be_owner: A suspended user cannot be added to a group as ``GroupAccessType.owner``. :ivar list of [str] team.GroupMembersAddError.user_cannot_be_manager_of_company_managed_group: A company-managed group cannot be managed by a user.

Class Method members_not_in_team Create an instance of this class set to the ``members_not_in_team`` tag with value ``val``.
Class Method user_cannot_be_manager_of_company_managed_group Create an instance of this class set to the ``user_cannot_be_manager_of_company_managed_group`` tag with value ``val``.
Class Method users_not_found Create an instance of this class set to the ``users_not_found`` tag with value ``val``.
Method get_members_not_in_team These members are not part of your team. Currently, you cannot add members to a group if they are not part of your team, though this may change in a subsequent version. To add new members to your Dropbox Business team, use the :meth:`dropbox...
Method get_user_cannot_be_manager_of_company_managed_group A company-managed group cannot be managed by a user.
Method get_users_not_found These users were not found in Dropbox.
Method is_duplicate_user Check if the union tag is ``duplicate_user``.
Method is_group_not_in_team Check if the union tag is ``group_not_in_team``.
Method is_members_not_in_team Check if the union tag is ``members_not_in_team``.
Method is_user_cannot_be_manager_of_company_managed_group Check if the union tag is ``user_cannot_be_manager_of_company_managed_group``.
Method is_user_must_be_active_to_be_owner Check if the union tag is ``user_must_be_active_to_be_owner``.
Method is_users_not_found Check if the union tag is ``users_not_found``.
Class Variable duplicate_user Undocumented
Class Variable group_not_in_team Undocumented
Class Variable user_must_be_active_to_be_owner Undocumented
Method _process_custom_annotations Undocumented

Inherited from GroupSelectorWithTeamGroupError:

Method is_system_managed_group_disallowed Check if the union tag is ``system_managed_group_disallowed``.
Class Variable system_managed_group_disallowed Undocumented

Inherited from GroupSelectorError (via GroupSelectorWithTeamGroupError):

Method is_group_not_found Check if the union tag is ``group_not_found``.
Method is_other Check if the union tag is ``other``.
Class Variable group_not_found Undocumented
Class Variable other Undocumented
Class Variable _catch_all Undocumented
@classmethod
def members_not_in_team(cls, val): (source)

Create an instance of this class set to the ``members_not_in_team`` tag with value ``val``. :param list of [str] val: :rtype: GroupMembersAddError

@classmethod
def user_cannot_be_manager_of_company_managed_group(cls, val): (source)

Create an instance of this class set to the ``user_cannot_be_manager_of_company_managed_group`` tag with value ``val``. :param list of [str] val: :rtype: GroupMembersAddError

@classmethod
def users_not_found(cls, val): (source)

Create an instance of this class set to the ``users_not_found`` tag with value ``val``. :param list of [str] val: :rtype: GroupMembersAddError

def get_members_not_in_team(self): (source)

These members are not part of your team. Currently, you cannot add members to a group if they are not part of your team, though this may change in a subsequent version. To add new members to your Dropbox Business team, use the :meth:`dropbox.dropbox_client.Dropbox.team_members_add` endpoint. Only call this if :meth:`is_members_not_in_team` is true. :rtype: list of [str]

def get_user_cannot_be_manager_of_company_managed_group(self): (source)

A company-managed group cannot be managed by a user. Only call this if :meth:`is_user_cannot_be_manager_of_company_managed_group` is true. :rtype: list of [str]

def get_users_not_found(self): (source)

These users were not found in Dropbox. Only call this if :meth:`is_users_not_found` is true. :rtype: list of [str]

def is_duplicate_user(self): (source)

Check if the union tag is ``duplicate_user``. :rtype: bool

def is_group_not_in_team(self): (source)

Check if the union tag is ``group_not_in_team``. :rtype: bool

def is_members_not_in_team(self): (source)

Check if the union tag is ``members_not_in_team``. :rtype: bool

def is_user_cannot_be_manager_of_company_managed_group(self): (source)

Check if the union tag is ``user_cannot_be_manager_of_company_managed_group``. :rtype: bool

def is_user_must_be_active_to_be_owner(self): (source)

Check if the union tag is ``user_must_be_active_to_be_owner``. :rtype: bool

def is_users_not_found(self): (source)

Check if the union tag is ``users_not_found``. :rtype: bool

duplicate_user = (source)

Undocumented

group_not_in_team = (source)

Undocumented

user_must_be_active_to_be_owner = (source)

Undocumented

def _process_custom_annotations(self, annotation_type, field_path, processor): (source)