Class ChatCompletionNamedToolChoiceCustom.Custom
-
- All Implemented Interfaces:
public final class ChatCompletionNamedToolChoiceCustom.Custom
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classChatCompletionNamedToolChoiceCustom.Custom.BuilderA builder for Custom.
-
Method Summary
Modifier and Type Method Description final Stringname()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.BuildertoBuilder()final ChatCompletionNamedToolChoiceCustom.Customvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ChatCompletionNamedToolChoiceCustom.Custom.Builderbuilder()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()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ChatCompletionNamedToolChoiceCustom.Custom.Builder builder()
Returns a mutable builder for constructing an instance of Custom.
The following fields are required:
.name()
-
-
-
-