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.Builder
-
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 JsonValue_object_()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<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
-
_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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Model.Builder toBuilder()
-
builder
final static Model.Builder builder()
-
-
-
-