Class ChatCompletionMessageCustomToolCall.Custom
-
- All Implemented Interfaces:
public final class ChatCompletionMessageCustomToolCall.CustomThe custom tool that the model called.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classChatCompletionMessageCustomToolCall.Custom.BuilderA builder for Custom.
-
Method Summary
Modifier and Type Method Description final Stringinput()The input for the custom tool call generated by the model. final Stringname()The name of the custom tool to call. final JsonField<String>_input()Returns the raw JSON value of input. final JsonField<String>_name()Returns the raw JSON value of name. final Map<String, JsonValue>_additionalProperties()final ChatCompletionMessageCustomToolCall.Custom.BuildertoBuilder()final ChatCompletionMessageCustomToolCall.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 ChatCompletionMessageCustomToolCall.Custom.Builderbuilder()Returns a mutable builder for constructing an instance of Custom. -
-
Method Detail
-
_input
final JsonField<String> _input()
Returns the raw JSON value of input.
Unlike input, this method doesn't throw if the JSON field has an unexpected type.
-
_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 ChatCompletionMessageCustomToolCall.Custom.Builder toBuilder()
-
validate
final ChatCompletionMessageCustomToolCall.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 ChatCompletionMessageCustomToolCall.Custom.Builder builder()
Returns a mutable builder for constructing an instance of Custom.
The following fields are required:
.input() .name()
-
-
-
-