mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
1.0 KiB
1.0 KiB
UpsertPermissionsQuery
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| tool_permissions | List[ToolPermission] |
Example
from goose_api.models.upsert_permissions_query import UpsertPermissionsQuery
# TODO update the JSON string below
json = "{}"
# create an instance of UpsertPermissionsQuery from a JSON string
upsert_permissions_query_instance = UpsertPermissionsQuery.from_json(json)
# print the JSON string representation of the object
print(UpsertPermissionsQuery.to_json())
# convert the object into a dict
upsert_permissions_query_dict = upsert_permissions_query_instance.to_dict()
# create an instance of UpsertPermissionsQuery from a dict
upsert_permissions_query_from_dict = UpsertPermissionsQuery.from_dict(upsert_permissions_query_dict)