Package com.braintrustdata.api.models
Class ChatCompletionMessageToolCall
-
- All Implemented Interfaces:
public final class ChatCompletionMessageToolCall
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classChatCompletionMessageToolCall.BuilderA builder for ChatCompletionMessageToolCall.
public final classChatCompletionMessageToolCall.Functionpublic final classChatCompletionMessageToolCall.Type
-
Method Summary
Modifier and Type Method Description final Stringid()final ChatCompletionMessageToolCall.Functionfunction()final ChatCompletionMessageToolCall.Typetype()final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<ChatCompletionMessageToolCall.Function>_function()Returns the raw JSON value of function. final JsonField<ChatCompletionMessageToolCall.Type>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final ChatCompletionMessageToolCallvalidate()final ChatCompletionMessageToolCall.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ChatCompletionMessageToolCall.Builderbuilder()Returns a mutable builder for constructing an instance of ChatCompletionMessageToolCall. -
-
Method Detail
-
function
final ChatCompletionMessageToolCall.Function function()
-
type
final ChatCompletionMessageToolCall.Type type()
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_function
final JsonField<ChatCompletionMessageToolCall.Function> _function()
Returns the raw JSON value of function.
Unlike function, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<ChatCompletionMessageToolCall.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ChatCompletionMessageToolCall validate()
-
toBuilder
final ChatCompletionMessageToolCall.Builder toBuilder()
-
builder
final static ChatCompletionMessageToolCall.Builder builder()
Returns a mutable builder for constructing an instance of ChatCompletionMessageToolCall.
The following fields are required:
.id() .function() .type()
-
-
-
-