class documentation

class LegalHoldsListHeldRevisionsError(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.LegalHoldsListHeldRevisionsError.transient_error: Temporary infrastructure failure, please retry. :ivar team.LegalHoldsListHeldRevisionsError.legal_hold_still_empty: The legal hold is not holding any revisions yet. :ivar team.LegalHoldsListHeldRevisionsError.inactive_legal_hold: Trying to list revisions for an inactive legal hold.

Method is_inactive_legal_hold Check if the union tag is ``inactive_legal_hold``.
Method is_legal_hold_still_empty Check if the union tag is ``legal_hold_still_empty``.
Method is_transient_error Check if the union tag is ``transient_error``.
Class Variable inactive_legal_hold Undocumented
Class Variable legal_hold_still_empty Undocumented
Class Variable transient_error 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_inactive_legal_hold(self): (source)

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

def is_legal_hold_still_empty(self): (source)

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

def is_transient_error(self): (source)

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

inactive_legal_hold = (source)

Undocumented

legal_hold_still_empty = (source)

Undocumented

transient_error = (source)

Undocumented

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