class documentation

class RelocationBatchErrorEntry(bb.Union): (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 RelocationError RelocationBatchErrorEntry.relocation_error: User errors that retry won't help. :ivar files.RelocationBatchErrorEntry.internal_error: Something went wrong with the job on Dropbox's end. You'll need to verify that the action you were taking succeeded, and if not, try again. This should happen very rarely. :ivar files.RelocationBatchErrorEntry.too_many_write_operations: There are too many write operations in user's Dropbox. Please retry this request.

Class Method relocation_error Create an instance of this class set to the ``relocation_error`` tag with value ``val``.
Method get_relocation_error User errors that retry won't help.
Method is_internal_error Check if the union tag is ``internal_error``.
Method is_other Check if the union tag is ``other``.
Method is_relocation_error Check if the union tag is ``relocation_error``.
Method is_too_many_write_operations Check if the union tag is ``too_many_write_operations``.
Class Variable internal_error Undocumented
Class Variable other Undocumented
Class Variable too_many_write_operations Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
@classmethod
def relocation_error(cls, val): (source)

Create an instance of this class set to the ``relocation_error`` tag with value ``val``. :param RelocationError val: :rtype: RelocationBatchErrorEntry

def get_relocation_error(self): (source)

User errors that retry won't help. Only call this if :meth:`is_relocation_error` is true. :rtype: RelocationError

def is_internal_error(self): (source)

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

def is_other(self): (source)

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

def is_relocation_error(self): (source)

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

def is_too_many_write_operations(self): (source)

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

internal_error = (source)

Undocumented

Undocumented

too_many_write_operations = (source)

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented