class documentation

class GroupMembersRemoveError(GroupMembersSelectorError): (source)

View In Hierarchy

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_not_in_team Create an instance of this class set to the ``members_not_in_team`` 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.
Method get_users_not_found These users were not found in Dropbox.
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_users_not_found Check if the union tag is ``users_not_found``.
Class Variable group_not_in_team Undocumented
Method _process_custom_annotations Undocumented

Inherited from GroupMembersSelectorError:

Method is_member_not_in_group Check if the union tag is ``member_not_in_group``.
Class Variable member_not_in_group Undocumented

Inherited from GroupSelectorWithTeamGroupError (via GroupMembersSelectorError):

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 GroupMembersSelectorError, 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: GroupMembersRemoveError

@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: GroupMembersRemoveError

def get_members_not_in_team(self): (source)

These members are not part of your team. Only call this if :meth:`is_members_not_in_team` 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_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_users_not_found(self): (source)

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

group_not_in_team = (source)

Undocumented

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