Package com.openai.models
Class ChatCompletionChunk.Choice.Delta.ToolCall
-
- All Implemented Interfaces:
public final class ChatCompletionChunk.Choice.Delta.ToolCall
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classChatCompletionChunk.Choice.Delta.ToolCall.Builderpublic final classChatCompletionChunk.Choice.Delta.ToolCall.Functionpublic final classChatCompletionChunk.Choice.Delta.ToolCall.TypeThe type of the tool. Currently, only
functionis supported.
-
Method Summary
Modifier and Type Method Description final Longindex()final Optional<String>id()The ID of the tool call. final Optional<ChatCompletionChunk.Choice.Delta.ToolCall.Function>function()final Optional<ChatCompletionChunk.Choice.Delta.ToolCall.Type>type()The type of the tool. final JsonField<Long>_index()final JsonField<String>_id()The ID of the tool call. final JsonField<ChatCompletionChunk.Choice.Delta.ToolCall.Function>_function()final JsonField<ChatCompletionChunk.Choice.Delta.ToolCall.Type>_type()The type of the tool. final Map<String, JsonValue>_additionalProperties()final ChatCompletionChunk.Choice.Delta.ToolCallvalidate()final ChatCompletionChunk.Choice.Delta.ToolCall.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ChatCompletionChunk.Choice.Delta.ToolCall.Builderbuilder()-
-
Method Detail
-
function
final Optional<ChatCompletionChunk.Choice.Delta.ToolCall.Function> function()
-
type
final Optional<ChatCompletionChunk.Choice.Delta.ToolCall.Type> type()
The type of the tool. Currently, only
functionis supported.
-
_function
final JsonField<ChatCompletionChunk.Choice.Delta.ToolCall.Function> _function()
-
_type
final JsonField<ChatCompletionChunk.Choice.Delta.ToolCall.Type> _type()
The type of the tool. Currently, only
functionis supported.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ChatCompletionChunk.Choice.Delta.ToolCall validate()
-
toBuilder
final ChatCompletionChunk.Choice.Delta.ToolCall.Builder toBuilder()
-
builder
final static ChatCompletionChunk.Choice.Delta.ToolCall.Builder builder()
-
-
-
-