Class ResponseComputerToolCall.Action.Scroll
- 
                    
                    
- All Implemented Interfaces:
 
public final class ResponseComputerToolCall.Action.ScrollA scroll action.
 
- 
                
                    
                    
- 
                                
                            
                                
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseComputerToolCall.Action.Scroll.BuilderA builder for Scroll.
 
- 
                                
                            
                                
Method Summary
Modifier and Type Method Description final LongscrollX()The horizontal scroll distance. final LongscrollY()The vertical scroll distance. final JsonValue_type()Specifies the event type. final Longx()The x-coordinate where the scroll occurred. final Longy()The y-coordinate where the scroll occurred. final JsonField<Long>_scrollX()Returns the raw JSON value of scrollX. final JsonField<Long>_scrollY()Returns the raw JSON value of scrollY. final JsonField<Long>_x()Returns the raw JSON value of x. final JsonField<Long>_y()Returns the raw JSON value of y. final Map<String, JsonValue>_additionalProperties()final ResponseComputerToolCall.Action.Scroll.BuildertoBuilder()final ResponseComputerToolCall.Action.Scrollvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseComputerToolCall.Action.Scroll.Builderbuilder()Returns a mutable builder for constructing an instance of Scroll. - 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
_type
final JsonValue _type()
Specifies the event type. For a scroll action, this property is always set to
scroll.Expected to always return the following:
JsonValue.from("scroll")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
 
- 
                                        
_scrollX
final JsonField<Long> _scrollX()
Returns the raw JSON value of scrollX.
Unlike scrollX, this method doesn't throw if the JSON field has an unexpected type.
 
- 
                                        
_scrollY
final JsonField<Long> _scrollY()
Returns the raw JSON value of scrollY.
Unlike scrollY, this method doesn't throw if the JSON field has an unexpected type.
 
- 
                                        
_x
final JsonField<Long> _x()
Returns the raw JSON value of x.
Unlike x, this method doesn't throw if the JSON field has an unexpected type.
 
- 
                                        
_y
final JsonField<Long> _y()
Returns the raw JSON value of y.
Unlike y, this method doesn't throw if the JSON field has an unexpected type.
 
- 
                                        
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
 
- 
                                        
toBuilder
final ResponseComputerToolCall.Action.Scroll.Builder toBuilder()
 
- 
                                        
validate
final ResponseComputerToolCall.Action.Scroll validate()
 
- 
                                        
builder
final static ResponseComputerToolCall.Action.Scroll.Builder builder()
Returns a mutable builder for constructing an instance of Scroll.
The following fields are required:
.scrollX() .scrollY() .x() .y() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -