Class: OpenAI::Models::Responses::ResponseComputerToolCall::Action::Scroll
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Responses::ResponseComputerToolCall::Action::Scroll
- Defined in:
- lib/openai/models/responses/response_computer_tool_call.rb,
sig/openai/models/responses/response_computer_tool_call.rbs
Instance Attribute Summary collapse
-
#keys ⇒ Array<String>?
The keys being held while scrolling.
-
#scroll_x ⇒ Integer
The horizontal scroll distance.
-
#scroll_y ⇒ Integer
The vertical scroll distance.
-
#type ⇒ Symbol, :scroll
Specifies the event type.
-
#x ⇒ Integer
The x-coordinate where the scroll occurred.
-
#y_ ⇒ Integer
The y-coordinate where the scroll occurred.
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ Object
307 |
# File 'sig/openai/models/responses/response_computer_tool_call.rbs', line 307
def initialize: (
|
Instance Attribute Details
#keys ⇒ Array<String>?
The keys being held while scrolling.
461 |
# File 'lib/openai/models/responses/response_computer_tool_call.rb', line 461 optional :keys, OpenAI::Internal::Type::ArrayOf[String], nil?: true |
#scroll_x ⇒ Integer
The horizontal scroll distance.
430 |
# File 'lib/openai/models/responses/response_computer_tool_call.rb', line 430 required :scroll_x, Integer |
#scroll_y ⇒ Integer
The vertical scroll distance.
436 |
# File 'lib/openai/models/responses/response_computer_tool_call.rb', line 436 required :scroll_y, Integer |
#type ⇒ Symbol, :scroll
Specifies the event type. For a scroll action, this property is always set to
scroll.
443 |
# File 'lib/openai/models/responses/response_computer_tool_call.rb', line 443 required :type, const: :scroll |
#x ⇒ Integer
The x-coordinate where the scroll occurred.
449 |
# File 'lib/openai/models/responses/response_computer_tool_call.rb', line 449 required :x, Integer |
#y_ ⇒ Integer
The y-coordinate where the scroll occurred.
455 |
# File 'lib/openai/models/responses/response_computer_tool_call.rb', line 455 required :y_, Integer, api_name: :y |
Instance Method Details
#to_hash ⇒ {
316 |
# File 'sig/openai/models/responses/response_computer_tool_call.rbs', line 316
def to_hash: -> {
|