Package com.openai.models.responses
Class ResponseInputItem.FunctionCallOutput.Builder
-
- All Implemented Interfaces:
public final class ResponseInputItem.FunctionCallOutput.Builder
A builder for FunctionCallOutput.
-
-
Method Summary
-
-
Method Detail
-
callId
final ResponseInputItem.FunctionCallOutput.Builder callId(String callId)
The unique ID of the function tool call generated by the model.
-
callId
final ResponseInputItem.FunctionCallOutput.Builder callId(JsonField<String> callId)
The unique ID of the function tool call generated by the model.
-
output
final ResponseInputItem.FunctionCallOutput.Builder output(String output)
A JSON string of the output of the function tool call.
-
output
final ResponseInputItem.FunctionCallOutput.Builder output(JsonField<String> output)
A JSON string of the output of the function tool call.
-
type
final ResponseInputItem.FunctionCallOutput.Builder type(JsonValue type)
The type of the function tool call output. Always
function_call_output
.
-
id
final ResponseInputItem.FunctionCallOutput.Builder id(String id)
The unique ID of the function tool call output. Populated when this item is returned via API.
-
id
final ResponseInputItem.FunctionCallOutput.Builder id(JsonField<String> id)
The unique ID of the function tool call output. Populated when this item is returned via API.
-
status
final ResponseInputItem.FunctionCallOutput.Builder status(ResponseInputItem.FunctionCallOutput.Status status)
The status of the item. One of
in_progress
,completed
, orincomplete
. Populated when items are returned via API.
-
status
final ResponseInputItem.FunctionCallOutput.Builder status(JsonField<ResponseInputItem.FunctionCallOutput.Status> status)
The status of the item. One of
in_progress
,completed
, orincomplete
. Populated when items are returned via API.
-
additionalProperties
final ResponseInputItem.FunctionCallOutput.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseInputItem.FunctionCallOutput.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseInputItem.FunctionCallOutput.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseInputItem.FunctionCallOutput.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseInputItem.FunctionCallOutput.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseInputItem.FunctionCallOutput build()
-
-
-
-