Package com.openai.models.responses
Class LocalEnvironment.Builder
-
- All Implemented Interfaces:
public final class LocalEnvironment.BuilderA builder for LocalEnvironment.
-
-
Method Summary
Modifier and Type Method Description final LocalEnvironment.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final LocalEnvironment.Builderskills(List<LocalSkill> skills)An optional list of skills. final LocalEnvironment.Builderskills(JsonField<List<LocalSkill>> skills)Sets Builder.skills to an arbitrary JSON value. final LocalEnvironment.BuilderaddSkill(LocalSkill skill)Adds a single LocalSkill to skills. final LocalEnvironment.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final LocalEnvironment.BuilderputAdditionalProperty(String key, JsonValue value)final LocalEnvironment.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final LocalEnvironment.BuilderremoveAdditionalProperty(String key)final LocalEnvironment.BuilderremoveAllAdditionalProperties(Set<String> keys)final LocalEnvironmentbuild()Returns an immutable instance of LocalEnvironment. -
-
Method Detail
-
type
final LocalEnvironment.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("local")This method is primarily for setting the field to an undocumented or not yet supported value.
-
skills
final LocalEnvironment.Builder skills(List<LocalSkill> skills)
An optional list of skills.
-
skills
final LocalEnvironment.Builder skills(JsonField<List<LocalSkill>> skills)
Sets Builder.skills to an arbitrary JSON value.
You should usually call Builder.skills with a well-typed
List<LocalSkill>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addSkill
final LocalEnvironment.Builder addSkill(LocalSkill skill)
Adds a single LocalSkill to skills.
-
additionalProperties
final LocalEnvironment.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final LocalEnvironment.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final LocalEnvironment.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final LocalEnvironment.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final LocalEnvironment.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final LocalEnvironment build()
Returns an immutable instance of LocalEnvironment.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-