Class: OpenAI::Models::BetaComputerAction::Beta::BetaComputerAction::Drag::Path
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::BetaComputerAction::Beta::BetaComputerAction::Drag::Path
- Defined in:
- sig/openai/models/beta/beta_computer_action.rbs
Instance Attribute Summary collapse
-
#x ⇒ Integer
Returns the value of attribute x.
-
#y_ ⇒ Integer
Returns the value of attribute y_.
Instance Method Summary collapse
-
#initialize ⇒ Path
constructor
A new instance of Path.
- #to_hash ⇒ { x: Integer, y_: Integer }
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 ⇒ Path
Returns a new instance of Path.
136 |
# File 'sig/openai/models/beta/beta_computer_action.rbs', line 136
def initialize: (x: Integer, y_: Integer) -> void
|
Instance Attribute Details
#x ⇒ Integer
Returns the value of attribute x.
132 133 134 |
# File 'sig/openai/models/beta/beta_computer_action.rbs', line 132 def x @x end |
#y_ ⇒ Integer
Returns the value of attribute y_.
134 135 136 |
# File 'sig/openai/models/beta/beta_computer_action.rbs', line 134 def y_ @y_ end |
Instance Method Details
#to_hash ⇒ { x: Integer, y_: Integer }
138 |
# File 'sig/openai/models/beta/beta_computer_action.rbs', line 138
def to_hash: -> { x: Integer, y_: Integer }
|