Package com.openai.models
Class Model.Builder
-
- All Implemented Interfaces:
public final class Model.BuilderA builder for Model.
-
-
Method Summary
Modifier and Type Method Description final Model.Builderid(String id)The model identifier, which can be referenced in the API endpoints. final Model.Builderid(JsonField<String> id)The model identifier, which can be referenced in the API endpoints. final Model.Buildercreated(Long created)The Unix timestamp (in seconds) when the model was created. final Model.Buildercreated(JsonField<Long> created)The Unix timestamp (in seconds) when the model was created. final Model.Builderobject_(JsonValue object_)The object type, which is always "model". final Model.BuilderownedBy(String ownedBy)The organization that owns the model. final Model.BuilderownedBy(JsonField<String> ownedBy)The organization that owns the model. final Model.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final Model.BuilderputAdditionalProperty(String key, JsonValue value)final Model.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final Model.BuilderremoveAdditionalProperty(String key)final Model.BuilderremoveAllAdditionalProperties(Set<String> keys)final Modelbuild()-
-
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)
-
-
-
-