Class ResponseComputerToolCall.Action.Drag.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class ResponseComputerToolCall.Action.Drag.BuilderA builder for Drag.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
path
final ResponseComputerToolCall.Action.Drag.Builder path(List<ResponseComputerToolCall.Action.Drag.Path> path)
An array of coordinates representing the path of the drag action. Coordinates will appear as an array of objects, eg
[ { x: 100, y: 200 }, { x: 200, y: 300 } ] 
- 
                                        
path
final ResponseComputerToolCall.Action.Drag.Builder path(JsonField<List<ResponseComputerToolCall.Action.Drag.Path>> path)
Sets Builder.path to an arbitrary JSON value.
You should usually call Builder.path with a well-typed
List<Path>value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
- 
                                        
addPath
final ResponseComputerToolCall.Action.Drag.Builder addPath(ResponseComputerToolCall.Action.Drag.Path path)
Adds a single Path to Builder.path.
 
- 
                                        
type
final ResponseComputerToolCall.Action.Drag.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("drag")This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
additionalProperties
final ResponseComputerToolCall.Action.Drag.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final ResponseComputerToolCall.Action.Drag.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final ResponseComputerToolCall.Action.Drag.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final ResponseComputerToolCall.Action.Drag.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final ResponseComputerToolCall.Action.Drag.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final ResponseComputerToolCall.Action.Drag build()
Returns an immutable instance of Drag.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.path() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -