class documentation
class LegalHoldsPolicyReleaseError(LegalHoldsError): (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.LegalHoldsPolicyReleaseError.legal_hold_performing_another_operation: Legal hold is currently performing another operation. :ivar team.LegalHoldsPolicyReleaseError.legal_hold_already_releasing: Legal hold is currently performing a release or is already released. :ivar team.LegalHoldsPolicyReleaseError.legal_hold_policy_not_found: Legal hold policy does not exist for ``LegalHoldsPolicyReleaseArg.id``.
Method | is |
Check if the union tag is ``legal_hold_already_releasing``. |
Method | is |
Check if the union tag is ``legal_hold_performing_another_operation``. |
Method | is |
Check if the union tag is ``legal_hold_policy_not_found``. |
Class Variable | legal |
Undocumented |
Class Variable | legal |
Undocumented |
Class Variable | legal |
Undocumented |
Method | _process |
Undocumented |
Inherited from LegalHoldsError
:
Method | is |
Check if the union tag is ``insufficient_permissions``. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``unknown_legal_hold_error``. |
Class Variable | insufficient |
Undocumented |
Class Variable | other |
Undocumented |
Class Variable | unknown |
Undocumented |
Class Variable | _catch |
Undocumented |