class

OpenAI::ClosedStatus

Inherits JSON::Serializable < Reference < Object

Indicates that a thread has been closed.

Constructors

new(type_value : ClosedStatusType = ClosedStatusType::Closed, reason : ClosedStatusReason = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

reason
Source
reason=(reason : ClosedStatusReason)
Source
type_value

Status discriminator that is always closed.

Source
type_value=(type_value : ClosedStatusType)

Status discriminator that is always closed.

Source