Skip to content

ByteContentDoc

Structure Class

ByteContentDoc dataclass

Bases: _SerdeShape

Contains the document contained in the wrapper object, along with its attributes/fields.

Attributes

content_type instance-attribute
content_type: str

The MIME type of the document contained in the wrapper object.

data instance-attribute
data: bytes

The byte value of the file to upload, encoded as a Base-64 string.

identifier instance-attribute
identifier: str

The file name of the document contained in the wrapper object.