| Name | Type | Description | Notes |
|---|---|---|---|
| conversation_uuid | str | ||
| created_at | datetime | ||
| data | object | ||
| event_id | int | ||
| role | int | ||
| tokens_used | int | ||
| type | int |
from revengai.models.event import Event
# TODO update the JSON string below
json = "{}"
# create an instance of Event from a JSON string
event_instance = Event.from_json(json)
# print the JSON string representation of the object
print(Event.to_json())
# convert the object into a dict
event_dict = event_instance.to_dict()
# create an instance of Event from a dict
event_from_dict = Event.from_dict(event_dict)