class

OpenAI::ChatCompletionDeleted

Inherits JSON::Serializable < Reference < Object

Constructors

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

Instance methods

deleted

Whether the chat completion was deleted.

Source
deleted=(deleted : Bool)

Whether the chat completion was deleted.

Source
id

The ID of the chat completion that was deleted.

Source
id=(id : String)

The ID of the chat completion that was deleted.

Source
object

The type of object being deleted.

Source
object=(object : ChatCompletionDeletedObject)

The type of object being deleted.

Source