Class: OpenAI::Models::Responses::ResponseComputerToolCall::Action::Click
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Responses::ResponseComputerToolCall::Action::Click
- Defined in:
- lib/openai/models/responses/response_computer_tool_call.rb
Defined Under Namespace
Modules: Button
Instance Attribute Summary collapse
-
#button ⇒ Symbol, OpenAI::Models::Responses::ResponseComputerToolCall::Action::Click::Button
Indicates which mouse button was pressed during the click.
-
#type ⇒ Symbol, :click
Specifies the event type.
-
#x ⇒ Integer
The x-coordinate where the click occurred.
-
#y_ ⇒ Integer
The y-coordinate where the click occurred.
Instance Method Summary collapse
-
#initialize(button: , x: , y_: , type: :click) ⇒ Object
constructor
Some parameter documentations has been truncated, see Click for more details.
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, 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(button: , x: , y_: , type: :click) ⇒ Object
Some parameter documentations has been truncated, see OpenAI::Models::Responses::ResponseComputerToolCall::Action::Click for more details.
A click action.
|
# File 'lib/openai/models/responses/response_computer_tool_call.rb', line 129
|
Instance Attribute Details
#button ⇒ Symbol, OpenAI::Models::Responses::ResponseComputerToolCall::Action::Click::Button
Indicates which mouse button was pressed during the click. One of ‘left`, `right`, `wheel`, `back`, or `forward`.
108 |
# File 'lib/openai/models/responses/response_computer_tool_call.rb', line 108 required :button, enum: -> { OpenAI::Responses::ResponseComputerToolCall::Action::Click::Button } |
#type ⇒ Symbol, :click
Specifies the event type. For a click action, this property is always set to ‘click`.
115 |
# File 'lib/openai/models/responses/response_computer_tool_call.rb', line 115 required :type, const: :click |
#x ⇒ Integer
The x-coordinate where the click occurred.
121 |
# File 'lib/openai/models/responses/response_computer_tool_call.rb', line 121 required :x, Integer |
#y_ ⇒ Integer
The y-coordinate where the click occurred.
127 |
# File 'lib/openai/models/responses/response_computer_tool_call.rb', line 127 required :y_, Integer, api_name: :y |