class documentation

class MembersUnsuspendError(MembersDeactivateError): (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.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_team_license_limit Check if the union tag is ``team_license_limit``.
Method is_unsuspend_non_suspended_member Check if the union tag is ``unsuspend_non_suspended_member``.
Class Variable team_license_limit Undocumented
Class Variable unsuspend_non_suspended_member Undocumented
Method _process_custom_annotations Undocumented

Inherited from MembersDeactivateError:

Method is_other Check if the union tag is ``other``.
Method is_user_not_in_team Check if the union tag is ``user_not_in_team``.
Class Variable other Undocumented
Class Variable user_not_in_team Undocumented
Class Variable _catch_all Undocumented

Inherited from UserSelectorError (via MembersDeactivateError):

Method is_user_not_found Check if the union tag is ``user_not_found``.
Class Variable user_not_found Undocumented
def is_team_license_limit(self): (source)

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

def is_unsuspend_non_suspended_member(self): (source)

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

team_license_limit = (source)

Undocumented

unsuspend_non_suspended_member = (source)

Undocumented

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