Class FineTuningJobSucceededWebhookEvent
-
- All Implemented Interfaces:
public final class FineTuningJobSucceededWebhookEvent
Sent when a fine-tuning job has succeeded.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
FineTuningJobSucceededWebhookEvent.Builder
A builder for FineTuningJobSucceededWebhookEvent.
public final class
FineTuningJobSucceededWebhookEvent.Data
Event data payload.
public final class
FineTuningJobSucceededWebhookEvent.Object
The object of the event. Always
event
.
-
Method Summary
-
-
Method Detail
-
createdAt
final Long createdAt()
The Unix timestamp (in seconds) of when the fine-tuning job succeeded.
-
data
final FineTuningJobSucceededWebhookEvent.Data data()
Event data payload.
-
_type
final JsonValue _type()
The type of the event. Always
fine_tuning.job.succeeded
.Expected to always return the following:
JsonValue.from("fine_tuning.job.succeeded")
However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
object_
final Optional<FineTuningJobSucceededWebhookEvent.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<FineTuningJobSucceededWebhookEvent.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<FineTuningJobSucceededWebhookEvent.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 FineTuningJobSucceededWebhookEvent.Builder toBuilder()
-
validate
final FineTuningJobSucceededWebhookEvent validate()
-
builder
final static FineTuningJobSucceededWebhookEvent.Builder builder()
Returns a mutable builder for constructing an instance of FineTuningJobSucceededWebhookEvent.
The following fields are required:
.id() .createdAt() .data()
-
-
-
-