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