class MemberAddResultBase(bb.Union): (source)
Known subclasses: dropbox.team.MemberAddResult
, dropbox.team.MemberAddV2Result
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 str team.MemberAddResultBase.team_license_limit: Team is already full. The organization has no available licenses. :ivar str team.MemberAddResultBase.free_team_member_limit_reached: Team is already full. The free team member limit has been reached. :ivar str team.MemberAddResultBase.user_already_on_team: User is already on this team. The provided email address is associated with a user who is already a member of (including in recoverable state) or invited to the team. :ivar str team.MemberAddResultBase.user_on_another_team: User is already on another team. The provided email address is associated with a user that is already a member or invited to another team. :ivar str team.MemberAddResultBase.user_already_paired: User is already paired. :ivar str team.MemberAddResultBase.user_migration_failed: User migration has failed. :ivar str team.MemberAddResultBase.duplicate_external_member_id: A user with the given external member ID already exists on the team (including in recoverable state). :ivar str team.MemberAddResultBase.duplicate_member_persistent_id: A user with the given persistent ID already exists on the team (including in recoverable state). :ivar str team.MemberAddResultBase.persistent_id_disabled: Persistent ID is only available to teams with persistent ID SAML configuration. Please contact Dropbox for more information. :ivar str team.MemberAddResultBase.user_creation_failed: User creation has failed.
Class Method | duplicate |
Create an instance of this class set to the ``duplicate_external_member_id`` tag with value ``val``. |
Class Method | duplicate |
Create an instance of this class set to the ``duplicate_member_persistent_id`` tag with value ``val``. |
Class Method | free |
Create an instance of this class set to the ``free_team_member_limit_reached`` tag with value ``val``. |
Class Method | persistent |
Create an instance of this class set to the ``persistent_id_disabled`` tag with value ``val``. |
Class Method | team |
Create an instance of this class set to the ``team_license_limit`` tag with value ``val``. |
Class Method | user |
Create an instance of this class set to the ``user_already_on_team`` tag with value ``val``. |
Class Method | user |
Create an instance of this class set to the ``user_already_paired`` tag with value ``val``. |
Class Method | user |
Create an instance of this class set to the ``user_creation_failed`` tag with value ``val``. |
Class Method | user |
Create an instance of this class set to the ``user_migration_failed`` tag with value ``val``. |
Class Method | user |
Create an instance of this class set to the ``user_on_another_team`` tag with value ``val``. |
Method | get |
A user with the given external member ID already exists on the team (including in recoverable state). |
Method | get |
A user with the given persistent ID already exists on the team (including in recoverable state). |
Method | get |
Team is already full. The free team member limit has been reached. |
Method | get |
Persistent ID is only available to teams with persistent ID SAML configuration. Please contact Dropbox for more information. |
Method | get |
Team is already full. The organization has no available licenses. |
Method | get |
User is already on this team. The provided email address is associated with a user who is already a member of (including in recoverable state) or invited to the team. |
Method | get |
User is already paired. |
Method | get |
User creation has failed. |
Method | get |
User migration has failed. |
Method | get |
User is already on another team. The provided email address is associated with a user that is already a member or invited to another team. |
Method | is |
Check if the union tag is ``duplicate_external_member_id``. |
Method | is |
Check if the union tag is ``duplicate_member_persistent_id``. |
Method | is |
Check if the union tag is ``free_team_member_limit_reached``. |
Method | is |
Check if the union tag is ``persistent_id_disabled``. |
Method | is |
Check if the union tag is ``team_license_limit``. |
Method | is |
Check if the union tag is ``user_already_on_team``. |
Method | is |
Check if the union tag is ``user_already_paired``. |
Method | is |
Check if the union tag is ``user_creation_failed``. |
Method | is |
Check if the union tag is ``user_migration_failed``. |
Method | is |
Check if the union tag is ``user_on_another_team``. |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |
Create an instance of this class set to the ``duplicate_external_member_id`` tag with value ``val``. :param str val: :rtype: MemberAddResultBase
Create an instance of this class set to the ``duplicate_member_persistent_id`` tag with value ``val``. :param str val: :rtype: MemberAddResultBase
Create an instance of this class set to the ``free_team_member_limit_reached`` tag with value ``val``. :param str val: :rtype: MemberAddResultBase
Create an instance of this class set to the ``persistent_id_disabled`` tag with value ``val``. :param str val: :rtype: MemberAddResultBase
Create an instance of this class set to the ``team_license_limit`` tag with value ``val``. :param str val: :rtype: MemberAddResultBase
Create an instance of this class set to the ``user_already_on_team`` tag with value ``val``. :param str val: :rtype: MemberAddResultBase
Create an instance of this class set to the ``user_already_paired`` tag with value ``val``. :param str val: :rtype: MemberAddResultBase
Create an instance of this class set to the ``user_creation_failed`` tag with value ``val``. :param str val: :rtype: MemberAddResultBase
Create an instance of this class set to the ``user_migration_failed`` tag with value ``val``. :param str val: :rtype: MemberAddResultBase
Create an instance of this class set to the ``user_on_another_team`` tag with value ``val``. :param str val: :rtype: MemberAddResultBase
A user with the given external member ID already exists on the team (including in recoverable state). Only call this if :meth:`is_duplicate_external_member_id` is true. :rtype: str
A user with the given persistent ID already exists on the team (including in recoverable state). Only call this if :meth:`is_duplicate_member_persistent_id` is true. :rtype: str
Team is already full. The free team member limit has been reached. Only call this if :meth:`is_free_team_member_limit_reached` is true. :rtype: str
Persistent ID is only available to teams with persistent ID SAML configuration. Please contact Dropbox for more information. Only call this if :meth:`is_persistent_id_disabled` is true. :rtype: str
Team is already full. The organization has no available licenses. Only call this if :meth:`is_team_license_limit` is true. :rtype: str
User is already on this team. The provided email address is associated with a user who is already a member of (including in recoverable state) or invited to the team. Only call this if :meth:`is_user_already_on_team` is true. :rtype: str
User is already on another team. The provided email address is associated with a user that is already a member or invited to another team. Only call this if :meth:`is_user_on_another_team` is true. :rtype: str