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