class documentation

class PaperContentError(bb.Union): (source)

Known subclasses: dropbox.files.PaperCreateError, dropbox.files.PaperUpdateError

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.PaperContentError.insufficient_permissions: Your account does not have permissions to edit Paper docs. :ivar files.PaperContentError.content_malformed: The provided content was malformed and cannot be imported to Paper. :ivar files.PaperContentError.doc_length_exceeded: The Paper doc would be too large, split the content into multiple docs. :ivar files.PaperContentError.image_size_exceeded: The imported document contains an image that is too large. The current limit is 1MB. This only applies to HTML with data URI.

Method is_content_malformed Check if the union tag is ``content_malformed``.
Method is_doc_length_exceeded Check if the union tag is ``doc_length_exceeded``.
Method is_image_size_exceeded Check if the union tag is ``image_size_exceeded``.
Method is_insufficient_permissions Check if the union tag is ``insufficient_permissions``.
Method is_other Check if the union tag is ``other``.
Class Variable content_malformed Undocumented
Class Variable doc_length_exceeded Undocumented
Class Variable image_size_exceeded Undocumented
Class Variable insufficient_permissions Undocumented
Class Variable other Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_content_malformed(self): (source)

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

def is_doc_length_exceeded(self): (source)

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

def is_image_size_exceeded(self): (source)

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

def is_insufficient_permissions(self): (source)

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

def is_other(self): (source)

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

content_malformed = (source)

Undocumented

doc_length_exceeded = (source)

Undocumented

image_size_exceeded = (source)

Undocumented

insufficient_permissions = (source)

Undocumented

Undocumented

def _process_custom_annotations(self, annotation_type, field_path, processor): (source)
_catch_all: str = (source)

Undocumented