Package com.openai.models.responses
Class ToolChoiceShell.Builder
-
- All Implemented Interfaces:
public final class ToolChoiceShell.BuilderA builder for ToolChoiceShell.
-
-
Method Summary
Modifier and Type Method Description final ToolChoiceShell.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final ToolChoiceShell.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final ToolChoiceShell.BuilderputAdditionalProperty(String key, JsonValue value)final ToolChoiceShell.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final ToolChoiceShell.BuilderremoveAdditionalProperty(String key)final ToolChoiceShell.BuilderremoveAllAdditionalProperties(Set<String> keys)final ToolChoiceShellbuild()Returns an immutable instance of ToolChoiceShell. -
-
Method Detail
-
type
final ToolChoiceShell.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("shell")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ToolChoiceShell.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ToolChoiceShell.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ToolChoiceShell.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ToolChoiceShell.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ToolChoiceShell.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ToolChoiceShell build()
Returns an immutable instance of ToolChoiceShell.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-