Class ResponseComputerToolCall.Builder
- 
                    
                    - All Implemented Interfaces:
 
 public final class ResponseComputerToolCall.BuilderA builder for ResponseComputerToolCall. 
- 
                
                    
                    - 
                                
                            
                                Method Summary- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        idfinal ResponseComputerToolCall.Builder id(String id) The unique ID of the computer call. 
 - 
                                        idfinal ResponseComputerToolCall.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. 
 - 
                                        actionfinal ResponseComputerToolCall.Builder action(ResponseComputerToolCall.Action action) A click action. 
 - 
                                        actionfinal ResponseComputerToolCall.Builder action(JsonField<ResponseComputerToolCall.Action> action) Sets Builder.action to an arbitrary JSON value. You should usually call Builder.action with a well-typed Action value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        actionfinal ResponseComputerToolCall.Builder action(ResponseComputerToolCall.Action.Click click) Alias for calling action with Action.ofClick(click).
 - 
                                        actionfinal ResponseComputerToolCall.Builder action(ResponseComputerToolCall.Action.DoubleClick doubleClick) Alias for calling action with Action.ofDoubleClick(doubleClick).
 - 
                                        actionfinal ResponseComputerToolCall.Builder action(ResponseComputerToolCall.Action.Drag drag) Alias for calling action with Action.ofDrag(drag).
 - 
                                        actionfinal ResponseComputerToolCall.Builder action(ResponseComputerToolCall.Action.Keypress keypress) Alias for calling action with Action.ofKeypress(keypress).
 - 
                                        actionfinal ResponseComputerToolCall.Builder action(ResponseComputerToolCall.Action.Move move) Alias for calling action with Action.ofMove(move).
 - 
                                        actionfinal ResponseComputerToolCall.Builder action(ResponseComputerToolCall.Action.Scroll scroll) Alias for calling action with Action.ofScroll(scroll).
 - 
                                        actionfinal ResponseComputerToolCall.Builder action(ResponseComputerToolCall.Action.Type type) Alias for calling action with Action.ofType(type).
 - 
                                        dragActionfinal ResponseComputerToolCall.Builder dragAction(List<ResponseComputerToolCall.Action.Drag.Path> path) Alias for calling action with the following: Action.Drag.builder() .path(path) .build()
 - 
                                        keypressActionfinal ResponseComputerToolCall.Builder keypressAction(List<String> keys) Alias for calling action with the following: Action.Keypress.builder() .keys(keys) .build()
 - 
                                        actionScreenshotfinal ResponseComputerToolCall.Builder actionScreenshot() Alias for calling action with Action.ofScreenshot().
 - 
                                        typeActionfinal ResponseComputerToolCall.Builder typeAction(String text) Alias for calling action with the following: Action.Type.builder() .text(text) .build()
 - 
                                        actionWaitfinal ResponseComputerToolCall.Builder actionWait() Alias for calling action with Action.ofWait().
 - 
                                        callIdfinal ResponseComputerToolCall.Builder callId(String callId) An identifier used when responding to the tool call with output. 
 - 
                                        callIdfinal ResponseComputerToolCall.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. 
 - 
                                        pendingSafetyChecksfinal ResponseComputerToolCall.Builder pendingSafetyChecks(List<ResponseComputerToolCall.PendingSafetyCheck> pendingSafetyChecks) The pending safety checks for the computer call. 
 - 
                                        pendingSafetyChecksfinal ResponseComputerToolCall.Builder pendingSafetyChecks(JsonField<List<ResponseComputerToolCall.PendingSafetyCheck>> pendingSafetyChecks) Sets Builder.pendingSafetyChecks to an arbitrary JSON value. You should usually call Builder.pendingSafetyChecks with a well-typed List<PendingSafetyCheck>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 - 
                                        addPendingSafetyCheckfinal ResponseComputerToolCall.Builder addPendingSafetyCheck(ResponseComputerToolCall.PendingSafetyCheck pendingSafetyCheck) Adds a single PendingSafetyCheck to pendingSafetyChecks. 
 - 
                                        statusfinal ResponseComputerToolCall.Builder status(ResponseComputerToolCall.Status status) The status of the item. One of in_progress,completed, orincomplete. Populated when items are returned via API.
 - 
                                        statusfinal ResponseComputerToolCall.Builder status(JsonField<ResponseComputerToolCall.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. 
 - 
                                        typefinal ResponseComputerToolCall.Builder type(ResponseComputerToolCall.Type type) The type of the computer call. Always computer_call.
 - 
                                        typefinal ResponseComputerToolCall.Builder type(JsonField<ResponseComputerToolCall.Type> type) Sets Builder.type to an arbitrary JSON value. You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        additionalPropertiesfinal ResponseComputerToolCall.Builder additionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        putAdditionalPropertyfinal ResponseComputerToolCall.Builder putAdditionalProperty(String key, JsonValue value) 
 - 
                                        putAllAdditionalPropertiesfinal ResponseComputerToolCall.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        removeAdditionalPropertyfinal ResponseComputerToolCall.Builder removeAdditionalProperty(String key) 
 - 
                                        removeAllAdditionalPropertiesfinal ResponseComputerToolCall.Builder removeAllAdditionalProperties(Set<String> keys) 
 - 
                                        buildfinal ResponseComputerToolCall build() Returns an immutable instance of ResponseComputerToolCall. Further updates to this Builder will not mutate the returned instance. The following fields are required: .id() .action() .callId() .pendingSafetyChecks() .status() .type()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-