BinaryContent Model
BinaryContent Model documentation for Python SDK
Binary content with MIME type for context items.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| content_type | str | MIME type of the binary content. | |
| data | str | Base64-encoded binary data. |
Example
from goodmem_client.models.binary_content import BinaryContent
# TODO update the JSON string below
json = "{}"
# create an instance of BinaryContent from a JSON string
binary_content_instance = BinaryContent.from_json(json)
# print the JSON string representation of the object
print(BinaryContent.to_json())
# convert the object into a dict
binary_content_dict = binary_content_instance.to_dict()
# create an instance of BinaryContent from a dict
binary_content_from_dict = BinaryContent.from_dict(binary_content_dict)↑ Back to Python SDK ↑ Back to Python SDK ↑ Back to Python SDK