class documentation

class LegalHoldsPolicyReleaseError(LegalHoldsError): (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.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_legal_hold_already_releasing Check if the union tag is ``legal_hold_already_releasing``.
Method is_legal_hold_performing_another_operation Check if the union tag is ``legal_hold_performing_another_operation``.
Method is_legal_hold_policy_not_found Check if the union tag is ``legal_hold_policy_not_found``.
Class Variable legal_hold_already_releasing Undocumented
Class Variable legal_hold_performing_another_operation Undocumented
Class Variable legal_hold_policy_not_found Undocumented
Method _process_custom_annotations Undocumented

Inherited from LegalHoldsError:

Method is_insufficient_permissions Check if the union tag is ``insufficient_permissions``.
Method is_other Check if the union tag is ``other``.
Method is_unknown_legal_hold_error Check if the union tag is ``unknown_legal_hold_error``.
Class Variable insufficient_permissions Undocumented
Class Variable other Undocumented
Class Variable unknown_legal_hold_error Undocumented
Class Variable _catch_all Undocumented
def is_legal_hold_already_releasing(self): (source)

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

def is_legal_hold_performing_another_operation(self): (source)

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

def is_legal_hold_policy_not_found(self): (source)

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

legal_hold_already_releasing = (source)

Undocumented

legal_hold_performing_another_operation = (source)

Undocumented

legal_hold_policy_not_found = (source)

Undocumented

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