OpenAI::WebhookBatchCancelled
Inherits JSON::Serializable < Reference < Object
Sent when a batch API request has been cancelled.
Constructors
new(pull : JSON::PullParser)
Sourcenew(created_at : Int64 = 0, id : String = "", data : WebhookBatchCancelledData = WebhookBatchCancelledData.new, object : WebhookBatchCancelledObject | Nil = nil, type_value : WebhookBatchCancelledType = WebhookBatchCancelledType::BatchCancelled)
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 was cancelled.
type_value=(type_value : WebhookBatchCancelledType)
The type of the event. Always batch.cancelled.