class documentation
class MemberAddV2Result(MemberAddResultBase): (source)
Describes the result of attempting to add a single user to the team. 'success' is the only value indicating that a user was indeed added to the team - the other values explain the type of failure that occurred, and include the email of the user for which the operation has failed. 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 TeamMemberInfoV2 MemberAddV2Result.success: Describes a user that was successfully added to the team.
Class Method | success |
Create an instance of this class set to the ``success`` tag with value ``val``. |
Method | get |
Describes a user that was successfully added to the team. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``success``. |
Class Variable | other |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |
Inherited from MemberAddResultBase
:
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``. |