Class ChatCompletionNamedToolChoiceCustom.Custom
-
- All Implemented Interfaces:
public final class ChatCompletionNamedToolChoiceCustom.Custom
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ChatCompletionNamedToolChoiceCustom.Custom.Builder
A builder for Custom.
-
Method Summary
Modifier and Type Method Description final String
name()
The name of the custom tool to call. final JsonField<String>
_name()
Returns the raw JSON value of name. final Map<String, JsonValue>
_additionalProperties()
final ChatCompletionNamedToolChoiceCustom.Custom.Builder
toBuilder()
final ChatCompletionNamedToolChoiceCustom.Custom
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ChatCompletionNamedToolChoiceCustom.Custom.Builder
builder()
Returns a mutable builder for constructing an instance of Custom. -
-
Method Detail
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ChatCompletionNamedToolChoiceCustom.Custom.Builder toBuilder()
-
validate
final ChatCompletionNamedToolChoiceCustom.Custom validate()
-
builder
final static ChatCompletionNamedToolChoiceCustom.Custom.Builder builder()
Returns a mutable builder for constructing an instance of Custom.
The following fields are required:
.name()
-
-
-
-