OpenAI::WebhookResponseCancelled
Inherits JSON::Serializable < Reference < Object
Sent when a background response has been cancelled.
Constructors
new(pull : JSON::PullParser)
Sourcenew(created_at : Int64 = 0, id : String = "", data : WebhookResponseCancelledData = WebhookResponseCancelledData.new, object : WebhookResponseCancelledObject | Nil = nil, type_value : WebhookResponseCancelledType = WebhookResponseCancelledType::ResponseCancelled)
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 cancelled.
type_value=(type_value : WebhookResponseCancelledType)
The type of the event. Always response.cancelled.