class

OpenAI::DeletedThreadResource

Inherits JSON::Serializable < Reference < Object

Confirmation payload returned after deleting a thread.

Constructors

new(id : String = "", object : DeletedThreadResourceObject = DeletedThreadResourceObject::ChatkitThreadDeleted, deleted : Bool = false)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

deleted

Indicates that the thread has been deleted.

Source
deleted=(deleted : Bool)

Indicates that the thread has been deleted.

Source
id

Identifier of the deleted thread.

Source
id=(id : String)

Identifier of the deleted thread.

Source
object

Type discriminator that is always chatkit.thread.deleted.

Source
object=(object : DeletedThreadResourceObject)

Type discriminator that is always chatkit.thread.deleted.

Source