OpenAI::WebhookBatchExpired
Inherits JSON::Serializable < Reference < Object
Sent when a batch API request has expired.
Constructors
new(pull : JSON::PullParser)
Sourcenew(created_at : Int64 = 0, id : String = "", data : WebhookBatchExpiredData = WebhookBatchExpiredData.new, object : WebhookBatchExpiredObject | Nil = nil, type_value : WebhookBatchExpiredType = WebhookBatchExpiredType::BatchExpired)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
created_at=(created_at : Int64)
The Unix timestamp (in seconds) of when the batch API request expired.
type_value=(type_value : WebhookBatchExpiredType)
The type of the event. Always batch.expired.