class documentation

class UploadSessionStartError(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.UploadSessionStartError.concurrent_session_data_not_allowed: Uploading data not allowed when starting concurrent upload session. :ivar files.UploadSessionStartError.concurrent_session_close_not_allowed: Can not start a closed concurrent upload session. :ivar files.UploadSessionStartError.payload_too_large: The request payload must be at most 150 MB. :ivar files.UploadSessionStartError.content_hash_mismatch: The content received by the Dropbox server in this call does not match the provided content hash.

Method is_concurrent_session_close_not_allowed Check if the union tag is ``concurrent_session_close_not_allowed``.
Method is_concurrent_session_data_not_allowed Check if the union tag is ``concurrent_session_data_not_allowed``.
Method is_content_hash_mismatch Check if the union tag is ``content_hash_mismatch``.
Method is_other Check if the union tag is ``other``.
Method is_payload_too_large Check if the union tag is ``payload_too_large``.
Class Variable concurrent_session_close_not_allowed Undocumented
Class Variable concurrent_session_data_not_allowed Undocumented
Class Variable content_hash_mismatch Undocumented
Class Variable other Undocumented
Class Variable payload_too_large Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_concurrent_session_close_not_allowed(self): (source)

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

def is_concurrent_session_data_not_allowed(self): (source)

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

def is_content_hash_mismatch(self): (source)

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

def is_other(self): (source)

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

def is_payload_too_large(self): (source)

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

concurrent_session_close_not_allowed = (source)

Undocumented

concurrent_session_data_not_allowed = (source)

Undocumented

content_hash_mismatch = (source)

Undocumented

Undocumented

payload_too_large = (source)

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented