Class ChatCompletionNamedToolChoiceCustom.Builder
-
- All Implemented Interfaces:
public final class ChatCompletionNamedToolChoiceCustom.Builder
A builder for ChatCompletionNamedToolChoiceCustom.
-
-
Method Summary
-
-
Method Detail
-
custom
final ChatCompletionNamedToolChoiceCustom.Builder custom(ChatCompletionNamedToolChoiceCustom.Custom custom)
-
custom
final ChatCompletionNamedToolChoiceCustom.Builder custom(JsonField<ChatCompletionNamedToolChoiceCustom.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 ChatCompletionNamedToolChoiceCustom.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 ChatCompletionNamedToolChoiceCustom.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ChatCompletionNamedToolChoiceCustom.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ChatCompletionNamedToolChoiceCustom.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ChatCompletionNamedToolChoiceCustom.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ChatCompletionNamedToolChoiceCustom.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ChatCompletionNamedToolChoiceCustom build()
Returns an immutable instance of ChatCompletionNamedToolChoiceCustom.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.custom()
-
-
-
-