class documentation
class MembersUnsuspendError(MembersDeactivateError): (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.MembersUnsuspendError.unsuspend_non_suspended_member: The user is unsuspended, so it cannot be unsuspended again. :ivar team.MembersUnsuspendError.team_license_limit: Team is full. The organization has no available licenses.
Method | is |
Check if the union tag is ``team_license_limit``. |
Method | is |
Check if the union tag is ``unsuspend_non_suspended_member``. |
Class Variable | team |
Undocumented |
Class Variable | unsuspend |
Undocumented |
Method | _process |
Undocumented |
Inherited from MembersDeactivateError
:
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``user_not_in_team``. |
Class Variable | other |
Undocumented |
Class Variable | user |
Undocumented |
Class Variable | _catch |
Undocumented |
Inherited from UserSelectorError
(via MembersDeactivateError
):
Method | is |
Check if the union tag is ``user_not_found``. |
Class Variable | user |
Undocumented |