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