Class FineTuningJobFailedWebhookEvent
-
- All Implemented Interfaces:
public final class FineTuningJobFailedWebhookEventSent when a fine-tuning job has failed.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFineTuningJobFailedWebhookEvent.BuilderA builder for FineTuningJobFailedWebhookEvent.
public final classFineTuningJobFailedWebhookEvent.DataEvent data payload.
public final classFineTuningJobFailedWebhookEvent.ObjectThe object of the event. Always
event.
-
Method Summary
Modifier and Type Method Description final Stringid()The unique ID of the event. final LongcreatedAt()The Unix timestamp (in seconds) of when the fine-tuning job failed. final FineTuningJobFailedWebhookEvent.Datadata()Event data payload. final JsonValue_type()The type of the event. final Optional<FineTuningJobFailedWebhookEvent.Object>object_()The object of the event. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<Long>_createdAt()Returns the raw JSON value of createdAt. final JsonField<FineTuningJobFailedWebhookEvent.Data>_data()Returns the raw JSON value of data. final JsonField<FineTuningJobFailedWebhookEvent.Object>_object_()Returns the raw JSON value of object_. final Map<String, JsonValue>_additionalProperties()final FineTuningJobFailedWebhookEvent.BuildertoBuilder()final FineTuningJobFailedWebhookEventvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FineTuningJobFailedWebhookEvent.Builderbuilder()Returns a mutable builder for constructing an instance of FineTuningJobFailedWebhookEvent. -
-
Method Detail
-
createdAt
final Long createdAt()
The Unix timestamp (in seconds) of when the fine-tuning job failed.
-
data
final FineTuningJobFailedWebhookEvent.Data data()
Event data payload.
-
_type
final JsonValue _type()
The type of the event. Always
fine_tuning.job.failed.Expected to always return the following:
JsonValue.from("fine_tuning.job.failed")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
object_
final Optional<FineTuningJobFailedWebhookEvent.Object> object_()
The object of the event. Always
event.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_createdAt
final JsonField<Long> _createdAt()
Returns the raw JSON value of createdAt.
Unlike createdAt, this method doesn't throw if the JSON field has an unexpected type.
-
_data
final JsonField<FineTuningJobFailedWebhookEvent.Data> _data()
Returns the raw JSON value of data.
Unlike data, this method doesn't throw if the JSON field has an unexpected type.
-
_object_
final JsonField<FineTuningJobFailedWebhookEvent.Object> _object_()
Returns the raw JSON value of object_.
Unlike object_, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final FineTuningJobFailedWebhookEvent.Builder toBuilder()
-
validate
final FineTuningJobFailedWebhookEvent validate()
-
builder
final static FineTuningJobFailedWebhookEvent.Builder builder()
Returns a mutable builder for constructing an instance of FineTuningJobFailedWebhookEvent.
The following fields are required:
.id() .createdAt() .data()
-
-
-
-