Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 1.6 KB

File metadata and controls

40 lines (31 loc) · 1.6 KB

ThreadMessageResponse

Thread message response model.

Properties

Name Type Description Notes
id UUID ThreadMessage ID
path_part_id UUID PathPart ID
sequence int Sequence number (from path_part.name)
role MessageRole
content EnrichedThreadMessageContent
details ThreadMessageDetailsOutput [optional]
parent_path_id UUID Thread's PathPart ID
materialized_path str Full materialized path from root
tenant_id UUID Tenant ID
created_at datetime Creation timestamp
updated_at datetime Last update timestamp

Example

from ksapi.models.thread_message_response import ThreadMessageResponse

# TODO update the JSON string below
json = "{}"
# create an instance of ThreadMessageResponse from a JSON string
thread_message_response_instance = ThreadMessageResponse.from_json(json)
# print the JSON string representation of the object
print(ThreadMessageResponse.to_json())

# convert the object into a dict
thread_message_response_dict = thread_message_response_instance.to_dict()
# create an instance of ThreadMessageResponse from a dict
thread_message_response_from_dict = ThreadMessageResponse.from_dict(thread_message_response_dict)

[Back to Model list] [Back to API list] [Back to README]