Package com.openai.models.responses
Class ResponseOutputItemDoneEvent.Builder
-
- All Implemented Interfaces:
public final class ResponseOutputItemDoneEvent.Builder
A builder for ResponseOutputItemDoneEvent.
-
-
Method Summary
-
-
Method Detail
-
item
final ResponseOutputItemDoneEvent.Builder item(ResponseOutputItem item)
The output item that was marked done.
-
item
final ResponseOutputItemDoneEvent.Builder item(JsonField<ResponseOutputItem> item)
The output item that was marked done.
-
item
final ResponseOutputItemDoneEvent.Builder item(ResponseOutputMessage message)
An output message from the model.
-
item
final ResponseOutputItemDoneEvent.Builder item(ResponseFileSearchToolCall fileSearchCall)
The results of a file search tool call. See the file search guide for more information.
-
item
final ResponseOutputItemDoneEvent.Builder item(ResponseFunctionToolCall functionCall)
A tool call to run a function. See the function calling guide for more information.
-
item
final ResponseOutputItemDoneEvent.Builder item(ResponseFunctionWebSearch webSearchCall)
The results of a web search tool call. See the web search guide for more information.
-
item
final ResponseOutputItemDoneEvent.Builder item(ResponseComputerToolCall computerCall)
A tool call to a computer use tool. See the computer use guide for more information.
-
item
final ResponseOutputItemDoneEvent.Builder item(ResponseReasoningItem reasoning)
A description of the chain of thought used by a reasoning model while generating a response.
-
outputIndex
final ResponseOutputItemDoneEvent.Builder outputIndex(Long outputIndex)
The index of the output item that was marked done.
-
outputIndex
final ResponseOutputItemDoneEvent.Builder outputIndex(JsonField<Long> outputIndex)
The index of the output item that was marked done.
-
type
final ResponseOutputItemDoneEvent.Builder type(JsonValue type)
The type of the event. Always
response.output_item.done
.
-
additionalProperties
final ResponseOutputItemDoneEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseOutputItemDoneEvent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseOutputItemDoneEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseOutputItemDoneEvent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseOutputItemDoneEvent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseOutputItemDoneEvent build()
-
-
-
-