class

OpenAI::WebhookFineTuningJobCancelled

Inherits JSON::Serializable < Reference < Object

Sent when a fine-tuning job has been cancelled.

Constructors

new(created_at : Int64 = 0, id : String = "", data : WebhookFineTuningJobCancelledData = WebhookFineTuningJobCancelledData.new, object : WebhookFineTuningJobCancelledObject | Nil = nil, type_value : WebhookFineTuningJobCancelledType = WebhookFineTuningJobCancelledType::FineTuningJobCancelled)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

created_at

The Unix timestamp (in seconds) of when the fine-tuning job was cancelled.

Source
created_at=(created_at : Int64)

The Unix timestamp (in seconds) of when the fine-tuning job was cancelled.

Source
data

Event data payload.

Source
data=(data : WebhookFineTuningJobCancelledData)

Event data payload.

Source
id

The unique ID of the event.

Source
id=(id : String)

The unique ID of the event.

Source
object

The object of the event. Always event.

Source
object=(object : WebhookFineTuningJobCancelledObject | Nil)

The object of the event. Always event.

Source
type_value

The type of the event. Always fine_tuning.job.cancelled.

Source
type_value=(type_value : WebhookFineTuningJobCancelledType)

The type of the event. Always fine_tuning.job.cancelled.

Source