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