Package com.openai.models.beta.responses
Class BetaToolChoiceCustom.Builder
-
- All Implemented Interfaces:
public final class BetaToolChoiceCustom.BuilderA builder for BetaToolChoiceCustom.
-
-
Method Summary
Modifier and Type Method Description final BetaToolChoiceCustom.Buildername(String name)The name of the custom tool to call. final BetaToolChoiceCustom.Buildername(JsonField<String> name)Sets Builder.name to an arbitrary JSON value. final BetaToolChoiceCustom.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final BetaToolChoiceCustom.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final BetaToolChoiceCustom.BuilderputAdditionalProperty(String key, JsonValue value)final BetaToolChoiceCustom.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final BetaToolChoiceCustom.BuilderremoveAdditionalProperty(String key)final BetaToolChoiceCustom.BuilderremoveAllAdditionalProperties(Set<String> keys)final BetaToolChoiceCustombuild()Returns an immutable instance of BetaToolChoiceCustom. -
-
Method Detail
-
name
final BetaToolChoiceCustom.Builder name(String name)
The name of the custom tool to call.
-
name
final BetaToolChoiceCustom.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaToolChoiceCustom.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("custom")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaToolChoiceCustom.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaToolChoiceCustom.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaToolChoiceCustom.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaToolChoiceCustom.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaToolChoiceCustom.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaToolChoiceCustom build()
Returns an immutable instance of BetaToolChoiceCustom.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.name()
-
-
-
-