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