Class: Anthropic::Models::ComputerLeftClickDragInput
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::ComputerLeftClickDragInput
- Defined in:
- lib/anthropic/models/computer_left_click_drag_input.rb,
sig/anthropic/models/computer_left_click_drag_input.rbs
Instance Attribute Summary collapse
-
#coordinate ⇒ Array<Integer>
(x, y): x pixels from the left edge, y pixels from the top edge.
-
#start_coordinate ⇒ Array<Integer>
(x, y): x pixels from the left edge, y pixels from the top edge.
-
#text ⇒ String?
Optional key combination to hold down during this action (e.g. "ctrl", "shift", "ctrl+shift").
Instance Method Summary collapse
-
#initialize(coordinate:, start_coordinate:, text: nil) ⇒ ComputerLeftClickDragInput
constructor
Click and drag the cursor from
start_coordinatetocoordinate. - #to_hash ⇒ { coordinate: ::Array[Integer], start_coordinate: ::Array[Integer], text: String? }
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(coordinate:, start_coordinate:, text: nil) ⇒ ComputerLeftClickDragInput
Click and drag the cursor from start_coordinate to coordinate.
Some parameter documentations has been truncated, see Anthropic::Models::ComputerLeftClickDragInput for more details.
|
|
# File 'lib/anthropic/models/computer_left_click_drag_input.rb', line 25
|
Instance Attribute Details
#coordinate ⇒ Array<Integer>
(x, y): x pixels from the left edge, y pixels from the top edge.
10 |
# File 'lib/anthropic/models/computer_left_click_drag_input.rb', line 10 required :coordinate, Anthropic::Internal::Type::ArrayOf[Integer] |
#start_coordinate ⇒ Array<Integer>
(x, y): x pixels from the left edge, y pixels from the top edge.
16 |
# File 'lib/anthropic/models/computer_left_click_drag_input.rb', line 16 required :start_coordinate, Anthropic::Internal::Type::ArrayOf[Integer] |
#text ⇒ String?
Optional key combination to hold down during this action (e.g. "ctrl", "shift", "ctrl+shift").
23 |
# File 'lib/anthropic/models/computer_left_click_drag_input.rb', line 23 optional :text, String, nil?: true |
Instance Method Details
#to_hash ⇒ { coordinate: ::Array[Integer], start_coordinate: ::Array[Integer], text: String? }
23 24 25 26 27 |
# File 'sig/anthropic/models/computer_left_click_drag_input.rbs', line 23
def to_hash: -> {
coordinate: ::Array[Integer],
start_coordinate: ::Array[Integer],
text: String?
}
|