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