Package com.openai.models
Class Model
-
- All Implemented Interfaces:
public final class Model
Describes an OpenAI model offering that can be used with the API.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
Model.Builder
public final class
Model.Object
The object type, which is always "model".
-
Method Summary
Modifier and Type Method Description final String
id()
The model identifier, which can be referenced in the API endpoints. final Long
created()
The Unix timestamp (in seconds) when the model was created. final Model.Object
object_()
The object type, which is always "model". final String
ownedBy()
The organization that owns the model. final JsonField<String>
_id()
The model identifier, which can be referenced in the API endpoints. final JsonField<Long>
_created()
The Unix timestamp (in seconds) when the model was created. final JsonField<Model.Object>
_object_()
The object type, which is always "model". final JsonField<String>
_ownedBy()
The organization that owns the model. final Map<String, JsonValue>
_additionalProperties()
final Model
validate()
final Model.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static Model.Builder
builder()
-
-
Method Detail
-
object_
final Model.Object object_()
The object type, which is always "model".
-
_id
final JsonField<String> _id()
The model identifier, which can be referenced in the API endpoints.
-
_created
final JsonField<Long> _created()
The Unix timestamp (in seconds) when the model was created.
-
_object_
final JsonField<Model.Object> _object_()
The object type, which is always "model".
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Model.Builder toBuilder()
-
builder
final static Model.Builder builder()
-
-
-
-