Class ResponseComputerToolCallOutputItem.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class ResponseComputerToolCallOutputItem.BuilderA builder for ResponseComputerToolCallOutputItem.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
id
final ResponseComputerToolCallOutputItem.Builder id(String id)
The unique ID of the computer call tool output.
 
- 
                                        
id
final ResponseComputerToolCallOutputItem.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 ResponseComputerToolCallOutputItem.Builder callId(String callId)
The ID of the computer tool call that produced the output.
 
- 
                                        
callId
final ResponseComputerToolCallOutputItem.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 ResponseComputerToolCallOutputItem.Builder output(ResponseComputerToolCallOutputScreenshot output)
A computer screenshot image used with the computer use tool.
 
- 
                                        
output
final ResponseComputerToolCallOutputItem.Builder output(JsonField<ResponseComputerToolCallOutputScreenshot> output)
Sets Builder.output to an arbitrary JSON value.
You should usually call Builder.output with a well-typed ResponseComputerToolCallOutputScreenshot value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
type
final ResponseComputerToolCallOutputItem.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("computer_call_output")This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
acknowledgedSafetyChecks
final ResponseComputerToolCallOutputItem.Builder acknowledgedSafetyChecks(List<ResponseComputerToolCallOutputItem.AcknowledgedSafetyCheck> acknowledgedSafetyChecks)
The safety checks reported by the API that have been acknowledged by the developer.
 
- 
                                        
acknowledgedSafetyChecks
final ResponseComputerToolCallOutputItem.Builder acknowledgedSafetyChecks(JsonField<List<ResponseComputerToolCallOutputItem.AcknowledgedSafetyCheck>> acknowledgedSafetyChecks)
Sets Builder.acknowledgedSafetyChecks to an arbitrary JSON value.
You should usually call Builder.acknowledgedSafetyChecks with a well-typed
List<AcknowledgedSafetyCheck>value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
- 
                                        
addAcknowledgedSafetyCheck
final ResponseComputerToolCallOutputItem.Builder addAcknowledgedSafetyCheck(ResponseComputerToolCallOutputItem.AcknowledgedSafetyCheck acknowledgedSafetyCheck)
Adds a single AcknowledgedSafetyCheck to acknowledgedSafetyChecks.
 
- 
                                        
status
final ResponseComputerToolCallOutputItem.Builder status(ResponseComputerToolCallOutputItem.Status status)
The status of the message input. One of
in_progress,completed, orincomplete. Populated when input items are returned via API. 
- 
                                        
status
final ResponseComputerToolCallOutputItem.Builder status(JsonField<ResponseComputerToolCallOutputItem.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 ResponseComputerToolCallOutputItem.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final ResponseComputerToolCallOutputItem.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final ResponseComputerToolCallOutputItem.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final ResponseComputerToolCallOutputItem.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final ResponseComputerToolCallOutputItem.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final ResponseComputerToolCallOutputItem build()
Returns an immutable instance of ResponseComputerToolCallOutputItem.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .callId() .output() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -