mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
1.0 KiB
1.0 KiB
ImageContent
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| meta | Dict[str, object] | [optional] | |
| annotations | EmbeddedResourceAnnotations | [optional] | |
| data | str | ||
| mime_type | str |
Example
from goose_api.models.image_content import ImageContent
# TODO update the JSON string below
json = "{}"
# create an instance of ImageContent from a JSON string
image_content_instance = ImageContent.from_json(json)
# print the JSON string representation of the object
print(ImageContent.to_json())
# convert the object into a dict
image_content_dict = image_content_instance.to_dict()
# create an instance of ImageContent from a dict
image_content_from_dict = ImageContent.from_dict(image_content_dict)