class documentation

class LegalHoldsGetPolicyError(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.LegalHoldsGetPolicyError.legal_hold_policy_not_found: Legal hold policy does not exist for ``LegalHoldsGetPolicyArg.id``.

Method is_legal_hold_policy_not_found Check if the union tag is ``legal_hold_policy_not_found``.
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_policy_not_found(self): (source)

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

legal_hold_policy_not_found = (source)

Undocumented

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