Package com.openai.models
Class Model
-
- All Implemented Interfaces:
public final class ModelDescribes an OpenAI model offering that can be used with the API.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classModel.Builderpublic final classModel.ObjectThe object type, which is always "model".
-
Method Summary
Modifier and Type Method Description final Stringid()The model identifier, which can be referenced in the API endpoints. final Longcreated()The Unix timestamp (in seconds) when the model was created. final Model.Objectobject_()The object type, which is always "model". final StringownedBy()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 Modelvalidate()final Model.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Model.Builderbuilder()-
-
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()
-
-
-
-