Package com.openai.models
Class FunctionToolCall
-
- All Implemented Interfaces:
public final class FunctionToolCall
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFunctionToolCall.Builderpublic final classFunctionToolCall.FunctionThe definition of the function that was called.
public final classFunctionToolCall.TypeThe type of tool call. This is always going to be
functionfor this type of tool call.
-
Method Summary
Modifier and Type Method Description final Stringid()The ID of the tool call object. final FunctionToolCall.Functionfunction()The definition of the function that was called. final FunctionToolCall.Typetype()The type of tool call. final JsonField<String>_id()The ID of the tool call object. final JsonField<FunctionToolCall.Function>_function()The definition of the function that was called. final JsonField<FunctionToolCall.Type>_type()The type of tool call. final Map<String, JsonValue>_additionalProperties()final FunctionToolCallvalidate()final FunctionToolCall.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FunctionToolCall.Builderbuilder()-
-
Method Detail
-
function
final FunctionToolCall.Function function()
The definition of the function that was called.
-
type
final FunctionToolCall.Type type()
The type of tool call. This is always going to be
functionfor this type of tool call.
-
_function
final JsonField<FunctionToolCall.Function> _function()
The definition of the function that was called.
-
_type
final JsonField<FunctionToolCall.Type> _type()
The type of tool call. This is always going to be
functionfor this type of tool call.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final FunctionToolCall validate()
-
toBuilder
final FunctionToolCall.Builder toBuilder()
-
builder
final static FunctionToolCall.Builder builder()
-
-
-
-