Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.39 KB

File metadata and controls

32 lines (23 loc) · 1.39 KB

CreateThreadRequest

Request to create a new thread.

Properties

Name Type Description Notes
parent_path_part_id UUID Parent PathPart ID. When omitted, auto-provisions and uses the user's /users/{user_id}/threads/ folder. [optional]
title str Thread title. Mutually exclusive with message_for_title. [optional]
message_for_title str Message content used solely for automated title generation. This does NOT create a thread message; it is only used to generate the thread title. Mutually exclusive with title. [optional]

Example

from ksapi.models.create_thread_request import CreateThreadRequest

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

# convert the object into a dict
create_thread_request_dict = create_thread_request_instance.to_dict()
# create an instance of CreateThreadRequest from a dict
create_thread_request_from_dict = CreateThreadRequest.from_dict(create_thread_request_dict)

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