OpenAI::WebhookResponseCompleted
Inherits JSON::Serializable < Reference < Object
Sent when a background response has been completed.
Constructors
new(pull : JSON::PullParser)
Sourcenew(created_at : Int64 = 0, id : String = "", data : WebhookResponseCompletedData = WebhookResponseCompletedData.new, object : WebhookResponseCompletedObject | Nil = nil, type_value : WebhookResponseCompletedType = WebhookResponseCompletedType::ResponseCompleted)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
created_at=(created_at : Int64)
The Unix timestamp (in seconds) of when the model response was completed.
type_value=(type_value : WebhookResponseCompletedType)
The type of the event. Always response.completed.