Class: OpenAI::Models::Responses::ComputerAction::Move
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Responses::ComputerAction::Move
- Defined in:
- lib/openai/models/responses/computer_action.rb,
sig/openai/models/responses/computer_action.rbs
Instance Attribute Summary collapse
-
#keys ⇒ ::Array[String]?
The keys being held while moving the mouse.
-
#type ⇒ :move
Specifies the event type.
-
#x ⇒ Integer
The x-coordinate to move to.
-
#y_ ⇒ Integer
The y-coordinate to move to.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, 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, coerce_with_error, 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
252 |
# File 'sig/openai/models/responses/computer_action.rbs', line 252
def initialize: (
|
Instance Attribute Details
#keys ⇒ ::Array[String]?
The keys being held while moving the mouse.
274 |
# File 'lib/openai/models/responses/computer_action.rb', line 274 optional :keys, OpenAI::Internal::Type::ArrayOf[String], nil?: true |
#type ⇒ :move
Specifies the event type. For a move action, this property is always set to
move.
256 |
# File 'lib/openai/models/responses/computer_action.rb', line 256 required :type, const: :move |
#x ⇒ Integer
The x-coordinate to move to.
262 |
# File 'lib/openai/models/responses/computer_action.rb', line 262 required :x, Integer |
#y_ ⇒ Integer
The y-coordinate to move to.
268 |
# File 'lib/openai/models/responses/computer_action.rb', line 268 required :y_, Integer, api_name: :y |
Instance Method Details
#to_hash ⇒ {
259 |
# File 'sig/openai/models/responses/computer_action.rbs', line 259
def to_hash: -> {
|