OpenAI::WebhookBatchCompleted
Inherits JSON::Serializable < Reference < Object
Sent when a batch API request has been completed.
Constructors
new(pull : JSON::PullParser)
Sourcenew(created_at : Int64 = 0, id : String = "", data : WebhookBatchCompletedData = WebhookBatchCompletedData.new, object : WebhookBatchCompletedObject | Nil = nil, type_value : WebhookBatchCompletedType = WebhookBatchCompletedType::BatchCompleted)
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 completed.
type_value=(type_value : WebhookBatchCompletedType)
The type of the event. Always batch.completed.