Class FunctionToolCallDelta.Builder
-
- All Implemented Interfaces:
public final class FunctionToolCallDelta.Builder
A builder for FunctionToolCallDelta.
-
-
Method Summary
-
-
Method Detail
-
index
final FunctionToolCallDelta.Builder index(Long index)
The index of the tool call in the tool calls array.
-
index
final FunctionToolCallDelta.Builder index(JsonField<Long> index)
Sets Builder.index to an arbitrary JSON value.
You should usually call Builder.index with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final FunctionToolCallDelta.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("function")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
id
final FunctionToolCallDelta.Builder id(String id)
The ID of the tool call object.
-
id
final FunctionToolCallDelta.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
function
final FunctionToolCallDelta.Builder function(FunctionToolCallDelta.Function function)
The definition of the function that was called.
-
function
final FunctionToolCallDelta.Builder function(JsonField<FunctionToolCallDelta.Function> function)
Sets Builder.function to an arbitrary JSON value.
You should usually call Builder.function with a well-typed Function value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final FunctionToolCallDelta.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final FunctionToolCallDelta.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final FunctionToolCallDelta.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final FunctionToolCallDelta.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final FunctionToolCallDelta.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final FunctionToolCallDelta build()
Returns an immutable instance of FunctionToolCallDelta.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.index()
-
-
-
-