class documentation

class DeleteError(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 files.DeleteError.too_many_write_operations: There are too many write operations in user's Dropbox. Please retry this request. :ivar files.DeleteError.too_many_files: There are too many files in one request. Please retry with fewer files.

Class Method path_lookup Create an instance of this class set to the ``path_lookup`` tag with value ``val``.
Class Method path_write Create an instance of this class set to the ``path_write`` tag with value ``val``.
Method get_path_lookup Only call this if :meth:`is_path_lookup` is true.
Method get_path_write Only call this if :meth:`is_path_write` is true.
Method is_other Check if the union tag is ``other``.
Method is_path_lookup Check if the union tag is ``path_lookup``.
Method is_path_write Check if the union tag is ``path_write``.
Method is_too_many_files Check if the union tag is ``too_many_files``.
Method is_too_many_write_operations Check if the union tag is ``too_many_write_operations``.
Class Variable other Undocumented
Class Variable too_many_files Undocumented
Class Variable too_many_write_operations Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
@classmethod
def path_lookup(cls, val): (source)

Create an instance of this class set to the ``path_lookup`` tag with value ``val``. :param LookupError val: :rtype: DeleteError

@classmethod
def path_write(cls, val): (source)

Create an instance of this class set to the ``path_write`` tag with value ``val``. :param WriteError val: :rtype: DeleteError

def get_path_lookup(self): (source)

Only call this if :meth:`is_path_lookup` is true. :rtype: LookupError

def get_path_write(self): (source)

Only call this if :meth:`is_path_write` is true. :rtype: WriteError

def is_other(self): (source)

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

def is_path_lookup(self): (source)

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

def is_path_write(self): (source)

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

def is_too_many_files(self): (source)

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

def is_too_many_write_operations(self): (source)

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

Undocumented

too_many_files = (source)

Undocumented

too_many_write_operations = (source)

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented