Class ResponseFunctionToolCallOutputItem.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class ResponseFunctionToolCallOutputItem.BuilderA builder for ResponseFunctionToolCallOutputItem.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
id
final ResponseFunctionToolCallOutputItem.Builder id(String id)
The unique ID of the function call tool output.
 
- 
                                        
id
final ResponseFunctionToolCallOutputItem.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
callId
final ResponseFunctionToolCallOutputItem.Builder callId(String callId)
The unique ID of the function tool call generated by the model.
 
- 
                                        
callId
final ResponseFunctionToolCallOutputItem.Builder callId(JsonField<String> callId)
Sets Builder.callId to an arbitrary JSON value.
You should usually call Builder.callId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
output
final ResponseFunctionToolCallOutputItem.Builder output(String output)
A JSON string of the output of the function tool call.
 
- 
                                        
output
final ResponseFunctionToolCallOutputItem.Builder output(JsonField<String> output)
Sets Builder.output to an arbitrary JSON value.
You should usually call Builder.output with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
type
final ResponseFunctionToolCallOutputItem.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("function_call_output")This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
status
final ResponseFunctionToolCallOutputItem.Builder status(ResponseFunctionToolCallOutputItem.Status status)
The status of the item. One of
in_progress,completed, orincomplete. Populated when items are returned via API. 
- 
                                        
status
final ResponseFunctionToolCallOutputItem.Builder status(JsonField<ResponseFunctionToolCallOutputItem.Status> status)
Sets Builder.status to an arbitrary JSON value.
You should usually call Builder.status with a well-typed Status value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
additionalProperties
final ResponseFunctionToolCallOutputItem.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final ResponseFunctionToolCallOutputItem.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final ResponseFunctionToolCallOutputItem.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final ResponseFunctionToolCallOutputItem.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final ResponseFunctionToolCallOutputItem.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final ResponseFunctionToolCallOutputItem build()
Returns an immutable instance of ResponseFunctionToolCallOutputItem.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .callId() .output() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -