Class ChatCompletionNamedToolChoice.Function
-
- All Implemented Interfaces:
public final class ChatCompletionNamedToolChoice.Function
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classChatCompletionNamedToolChoice.Function.BuilderA builder for Function.
-
Method Summary
Modifier and Type Method Description final Stringname()The name of the function to call. final JsonField<String>_name()Returns the raw JSON value of name. final Map<String, JsonValue>_additionalProperties()final ChatCompletionNamedToolChoice.Function.BuildertoBuilder()final ChatCompletionNamedToolChoice.Functionvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ChatCompletionNamedToolChoice.Function.Builderbuilder()Returns a mutable builder for constructing an instance of Function. -
-
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 ChatCompletionNamedToolChoice.Function.Builder toBuilder()
-
validate
final ChatCompletionNamedToolChoice.Function 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 ChatCompletionNamedToolChoice.Function.Builder builder()
Returns a mutable builder for constructing an instance of Function.
The following fields are required:
.name()
-
-
-
-