Class: Anthropic::Models::Beta::BetaComputerToolsetConfigs

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/beta/beta_computer_toolset_configs.rb,
sig/anthropic/models/beta/beta_computer_toolset_configs.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

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 ⇒ BetaComputerToolsetConfigs

Returns a new instance of BetaComputerToolsetConfigs.

Parameters:

  • cursor_position: (Anthropic::Beta::BetaComputerCursorPositionConfig, nil)
  • double_click: (Anthropic::Beta::BetaComputerDoubleClickConfig, nil)
  • hold_key: (Anthropic::Beta::BetaComputerHoldKeyConfig, nil)
  • key: (Anthropic::Beta::BetaComputerKeyConfig, nil)
  • left_click: (Anthropic::Beta::BetaComputerLeftClickConfig, nil)
  • left_click_drag: (Anthropic::Beta::BetaComputerLeftClickDragConfig, nil)
  • left_mouse_down: (Anthropic::Beta::BetaComputerLeftMouseDownConfig, nil)
  • left_mouse_up: (Anthropic::Beta::BetaComputerLeftMouseUpConfig, nil)
  • middle_click: (Anthropic::Beta::BetaComputerMiddleClickConfig, nil)
  • mouse_move: (Anthropic::Beta::BetaComputerMouseMoveConfig, nil)
  • right_click: (Anthropic::Beta::BetaComputerRightClickConfig, nil)
  • screenshot: (Anthropic::Beta::BetaComputerScreenshotConfig, nil)
  • scroll: (Anthropic::Beta::BetaComputerScrollConfig, nil)
  • triple_click: (Anthropic::Beta::BetaComputerTripleClickConfig, nil)
  • type: (Anthropic::Beta::BetaComputerTypeConfig, nil)
  • wait: (Anthropic::Beta::BetaComputerWaitConfig, nil)
  • zoom: (Anthropic::Beta::BetaComputerZoomConfig, nil)


62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# File 'sig/anthropic/models/beta/beta_computer_toolset_configs.rbs', line 62

def initialize: (
  ?cursor_position: Anthropic::Beta::BetaComputerCursorPositionConfig?,
  ?double_click: Anthropic::Beta::BetaComputerDoubleClickConfig?,
  ?hold_key: Anthropic::Beta::BetaComputerHoldKeyConfig?,
  ?key: Anthropic::Beta::BetaComputerKeyConfig?,
  ?left_click: Anthropic::Beta::BetaComputerLeftClickConfig?,
  ?left_click_drag: Anthropic::Beta::BetaComputerLeftClickDragConfig?,
  ?left_mouse_down: Anthropic::Beta::BetaComputerLeftMouseDownConfig?,
  ?left_mouse_up: Anthropic::Beta::BetaComputerLeftMouseUpConfig?,
  ?middle_click: Anthropic::Beta::BetaComputerMiddleClickConfig?,
  ?mouse_move: Anthropic::Beta::BetaComputerMouseMoveConfig?,
  ?right_click: Anthropic::Beta::BetaComputerRightClickConfig?,
  ?screenshot: Anthropic::Beta::BetaComputerScreenshotConfig?,
  ?scroll: Anthropic::Beta::BetaComputerScrollConfig?,
  ?triple_click: Anthropic::Beta::BetaComputerTripleClickConfig?,
  ?type: Anthropic::Beta::BetaComputerTypeConfig?,
  ?wait: Anthropic::Beta::BetaComputerWaitConfig?,
  ?zoom: Anthropic::Beta::BetaComputerZoomConfig?
) -> void

Instance Attribute Details

#cursor_position ⇒ Anthropic::Models::Beta::BetaComputerCursorPositionConfig?

cursor_position's config overrides.

Parameters:

  • value (Anthropic::Beta::BetaComputerCursorPositionConfig, nil)

Returns:



11
# File 'lib/anthropic/models/beta/beta_computer_toolset_configs.rb', line 11

optional :cursor_position, -> { Anthropic::Beta::BetaComputerCursorPositionConfig }, nil?: true

#double_click ⇒ Anthropic::Models::Beta::BetaComputerDoubleClickConfig?

double_click's config overrides.

Parameters:

  • value (Anthropic::Beta::BetaComputerDoubleClickConfig, nil)

Returns:



17
# File 'lib/anthropic/models/beta/beta_computer_toolset_configs.rb', line 17

optional :double_click, -> { Anthropic::Beta::BetaComputerDoubleClickConfig }, nil?: true

#hold_key ⇒ Anthropic::Models::Beta::BetaComputerHoldKeyConfig?

hold_key's config overrides.

Parameters:

  • value (Anthropic::Beta::BetaComputerHoldKeyConfig, nil)

Returns:



23
# File 'lib/anthropic/models/beta/beta_computer_toolset_configs.rb', line 23

optional :hold_key, -> { Anthropic::Beta::BetaComputerHoldKeyConfig }, nil?: true

#key ⇒ Anthropic::Models::Beta::BetaComputerKeyConfig?

key's config overrides.

Parameters:

  • value (Anthropic::Beta::BetaComputerKeyConfig, nil)

Returns:



29
# File 'lib/anthropic/models/beta/beta_computer_toolset_configs.rb', line 29

optional :key, -> { Anthropic::Beta::BetaComputerKeyConfig }, nil?: true

#left_click ⇒ Anthropic::Models::Beta::BetaComputerLeftClickConfig?

left_click's config overrides.

Parameters:

  • value (Anthropic::Beta::BetaComputerLeftClickConfig, nil)

Returns:



35
# File 'lib/anthropic/models/beta/beta_computer_toolset_configs.rb', line 35

optional :left_click, -> { Anthropic::Beta::BetaComputerLeftClickConfig }, nil?: true

#left_click_drag ⇒ Anthropic::Models::Beta::BetaComputerLeftClickDragConfig?

left_click_drag's config overrides.

Parameters:

  • value (Anthropic::Beta::BetaComputerLeftClickDragConfig, nil)

Returns:



41
# File 'lib/anthropic/models/beta/beta_computer_toolset_configs.rb', line 41

optional :left_click_drag, -> { Anthropic::Beta::BetaComputerLeftClickDragConfig }, nil?: true

#left_mouse_down ⇒ Anthropic::Models::Beta::BetaComputerLeftMouseDownConfig?

left_mouse_down's config overrides.

Parameters:

  • value (Anthropic::Beta::BetaComputerLeftMouseDownConfig, nil)

Returns:



47
# File 'lib/anthropic/models/beta/beta_computer_toolset_configs.rb', line 47

optional :left_mouse_down, -> { Anthropic::Beta::BetaComputerLeftMouseDownConfig }, nil?: true

#left_mouse_up ⇒ Anthropic::Models::Beta::BetaComputerLeftMouseUpConfig?

left_mouse_up's config overrides.

Parameters:

  • value (Anthropic::Beta::BetaComputerLeftMouseUpConfig, nil)

Returns:



53
# File 'lib/anthropic/models/beta/beta_computer_toolset_configs.rb', line 53

optional :left_mouse_up, -> { Anthropic::Beta::BetaComputerLeftMouseUpConfig }, nil?: true

#middle_click ⇒ Anthropic::Models::Beta::BetaComputerMiddleClickConfig?

middle_click's config overrides.

Parameters:

  • value (Anthropic::Beta::BetaComputerMiddleClickConfig, nil)

Returns:



59
# File 'lib/anthropic/models/beta/beta_computer_toolset_configs.rb', line 59

optional :middle_click, -> { Anthropic::Beta::BetaComputerMiddleClickConfig }, nil?: true

#mouse_move ⇒ Anthropic::Models::Beta::BetaComputerMouseMoveConfig?

mouse_move's config overrides.

Parameters:

  • value (Anthropic::Beta::BetaComputerMouseMoveConfig, nil)

Returns:



65
# File 'lib/anthropic/models/beta/beta_computer_toolset_configs.rb', line 65

optional :mouse_move, -> { Anthropic::Beta::BetaComputerMouseMoveConfig }, nil?: true

#right_click ⇒ Anthropic::Models::Beta::BetaComputerRightClickConfig?

right_click's config overrides.

Parameters:

  • value (Anthropic::Beta::BetaComputerRightClickConfig, nil)

Returns:



71
# File 'lib/anthropic/models/beta/beta_computer_toolset_configs.rb', line 71

optional :right_click, -> { Anthropic::Beta::BetaComputerRightClickConfig }, nil?: true

#screenshot ⇒ Anthropic::Models::Beta::BetaComputerScreenshotConfig?

screenshot's config overrides.

Parameters:

  • value (Anthropic::Beta::BetaComputerScreenshotConfig, nil)

Returns:



77
# File 'lib/anthropic/models/beta/beta_computer_toolset_configs.rb', line 77

optional :screenshot, -> { Anthropic::Beta::BetaComputerScreenshotConfig }, nil?: true

#scroll ⇒ Anthropic::Models::Beta::BetaComputerScrollConfig?

scroll's config overrides.

Parameters:

  • value (Anthropic::Beta::BetaComputerScrollConfig, nil)

Returns:



83
# File 'lib/anthropic/models/beta/beta_computer_toolset_configs.rb', line 83

optional :scroll, -> { Anthropic::Beta::BetaComputerScrollConfig }, nil?: true

#triple_click ⇒ Anthropic::Models::Beta::BetaComputerTripleClickConfig?

triple_click's config overrides.

Parameters:

  • value (Anthropic::Beta::BetaComputerTripleClickConfig, nil)

Returns:



89
# File 'lib/anthropic/models/beta/beta_computer_toolset_configs.rb', line 89

optional :triple_click, -> { Anthropic::Beta::BetaComputerTripleClickConfig }, nil?: true

#type ⇒ Anthropic::Models::Beta::BetaComputerTypeConfig?

type's config overrides.

Parameters:

  • value (Anthropic::Beta::BetaComputerTypeConfig, nil)

Returns:



95
# File 'lib/anthropic/models/beta/beta_computer_toolset_configs.rb', line 95

optional :type, -> { Anthropic::Beta::BetaComputerTypeConfig }, nil?: true

#wait ⇒ Anthropic::Models::Beta::BetaComputerWaitConfig?

wait's config overrides.

Parameters:

  • value (Anthropic::Beta::BetaComputerWaitConfig, nil)

Returns:



101
# File 'lib/anthropic/models/beta/beta_computer_toolset_configs.rb', line 101

optional :wait, -> { Anthropic::Beta::BetaComputerWaitConfig }, nil?: true

#zoom ⇒ Anthropic::Models::Beta::BetaComputerZoomConfig?

zoom's config overrides.

Parameters:

  • value (Anthropic::Beta::BetaComputerZoomConfig, nil)

Returns:



107
# File 'lib/anthropic/models/beta/beta_computer_toolset_configs.rb', line 107

optional :zoom, -> { Anthropic::Beta::BetaComputerZoomConfig }, nil?: true

Instance Method Details

#to_hash ⇒ { cursor_position: Anthropic::Beta::BetaComputerCursorPositionConfig?, double_click: Anthropic::Beta::BetaComputerDoubleClickConfig?, hold_key: Anthropic::Beta::BetaComputerHoldKeyConfig?, key: Anthropic::Beta::BetaComputerKeyConfig?, left_click: Anthropic::Beta::BetaComputerLeftClickConfig?, left_click_drag: Anthropic::Beta::BetaComputerLeftClickDragConfig?, left_mouse_down: Anthropic::Beta::BetaComputerLeftMouseDownConfig?, left_mouse_up: Anthropic::Beta::BetaComputerLeftMouseUpConfig?, middle_click: Anthropic::Beta::BetaComputerMiddleClickConfig?, mouse_move: Anthropic::Beta::BetaComputerMouseMoveConfig?, right_click: Anthropic::Beta::BetaComputerRightClickConfig?, screenshot: Anthropic::Beta::BetaComputerScreenshotConfig?, scroll: Anthropic::Beta::BetaComputerScrollConfig?, triple_click: Anthropic::Beta::BetaComputerTripleClickConfig?, type: Anthropic::Beta::BetaComputerTypeConfig?, wait: Anthropic::Beta::BetaComputerWaitConfig?, zoom: Anthropic::Beta::BetaComputerZoomConfig? }

Returns:

  • ({ cursor_position: Anthropic::Beta::BetaComputerCursorPositionConfig?, double_click: Anthropic::Beta::BetaComputerDoubleClickConfig?, hold_key: Anthropic::Beta::BetaComputerHoldKeyConfig?, key: Anthropic::Beta::BetaComputerKeyConfig?, left_click: Anthropic::Beta::BetaComputerLeftClickConfig?, left_click_drag: Anthropic::Beta::BetaComputerLeftClickDragConfig?, left_mouse_down: Anthropic::Beta::BetaComputerLeftMouseDownConfig?, left_mouse_up: Anthropic::Beta::BetaComputerLeftMouseUpConfig?, middle_click: Anthropic::Beta::BetaComputerMiddleClickConfig?, mouse_move: Anthropic::Beta::BetaComputerMouseMoveConfig?, right_click: Anthropic::Beta::BetaComputerRightClickConfig?, screenshot: Anthropic::Beta::BetaComputerScreenshotConfig?, scroll: Anthropic::Beta::BetaComputerScrollConfig?, triple_click: Anthropic::Beta::BetaComputerTripleClickConfig?, type: Anthropic::Beta::BetaComputerTypeConfig?, wait: Anthropic::Beta::BetaComputerWaitConfig?, zoom: Anthropic::Beta::BetaComputerZoomConfig? })


82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# File 'sig/anthropic/models/beta/beta_computer_toolset_configs.rbs', line 82

def to_hash: -> {
  cursor_position: Anthropic::Beta::BetaComputerCursorPositionConfig?,
  double_click: Anthropic::Beta::BetaComputerDoubleClickConfig?,
  hold_key: Anthropic::Beta::BetaComputerHoldKeyConfig?,
  key: Anthropic::Beta::BetaComputerKeyConfig?,
  left_click: Anthropic::Beta::BetaComputerLeftClickConfig?,
  left_click_drag: Anthropic::Beta::BetaComputerLeftClickDragConfig?,
  left_mouse_down: Anthropic::Beta::BetaComputerLeftMouseDownConfig?,
  left_mouse_up: Anthropic::Beta::BetaComputerLeftMouseUpConfig?,
  middle_click: Anthropic::Beta::BetaComputerMiddleClickConfig?,
  mouse_move: Anthropic::Beta::BetaComputerMouseMoveConfig?,
  right_click: Anthropic::Beta::BetaComputerRightClickConfig?,
  screenshot: Anthropic::Beta::BetaComputerScreenshotConfig?,
  scroll: Anthropic::Beta::BetaComputerScrollConfig?,
  triple_click: Anthropic::Beta::BetaComputerTripleClickConfig?,
  type: Anthropic::Beta::BetaComputerTypeConfig?,
  wait: Anthropic::Beta::BetaComputerWaitConfig?,
  zoom: Anthropic::Beta::BetaComputerZoomConfig?
}