Package com.openai.models
Class Model.Builder
-
- All Implemented Interfaces:
public final class Model.Builder
A builder for Model.
-
-
Method Summary
Modifier and Type Method Description final Model.Builder
id(String id)
The model identifier, which can be referenced in the API endpoints. final Model.Builder
id(JsonField<String> id)
The model identifier, which can be referenced in the API endpoints. final Model.Builder
created(Long created)
The Unix timestamp (in seconds) when the model was created. final Model.Builder
created(JsonField<Long> created)
The Unix timestamp (in seconds) when the model was created. final Model.Builder
object_(JsonValue object_)
The object type, which is always "model". final Model.Builder
ownedBy(String ownedBy)
The organization that owns the model. final Model.Builder
ownedBy(JsonField<String> ownedBy)
The organization that owns the model. final Model.Builder
additionalProperties(Map<String, JsonValue> additionalProperties)
final Model.Builder
putAdditionalProperty(String key, JsonValue value)
final Model.Builder
putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
final Model.Builder
removeAdditionalProperty(String key)
final Model.Builder
removeAllAdditionalProperties(Set<String> keys)
final Model
build()
-
-
Method Detail
-
id
final Model.Builder id(String id)
The model identifier, which can be referenced in the API endpoints.
-
id
final Model.Builder id(JsonField<String> id)
The model identifier, which can be referenced in the API endpoints.
-
created
final Model.Builder created(Long created)
The Unix timestamp (in seconds) when the model was created.
-
created
final Model.Builder created(JsonField<Long> created)
The Unix timestamp (in seconds) when the model was created.
-
object_
final Model.Builder object_(JsonValue object_)
The object type, which is always "model".
-
ownedBy
final Model.Builder ownedBy(String ownedBy)
The organization that owns the model.
-
ownedBy
final Model.Builder ownedBy(JsonField<String> ownedBy)
The organization that owns the model.
-
additionalProperties
final Model.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Model.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Model.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Model.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Model.Builder removeAllAdditionalProperties(Set<String> keys)
-
-
-
-