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
A builder for 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 JsonValue
_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<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
-
_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()
-
-
-
-