Class: Anthropic::Models::Beta::BetaTextEditorCodeExecutionStrReplaceResultBlock
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/anthropic/models/beta/beta_text_editor_code_execution_str_replace_result_block.rb,
sig/anthropic/models/beta/beta_text_editor_code_execution_str_replace_result_block.rbs
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ Object
29
|
# File 'sig/anthropic/models/beta/beta_text_editor_code_execution_str_replace_result_block.rbs', line 29
def initialize: (
|
Instance Attribute Details
#lines ⇒ Array<String>?
10
|
# File 'lib/anthropic/models/beta/beta_text_editor_code_execution_str_replace_result_block.rb', line 10
required :lines, Anthropic::Internal::Type::ArrayOf[String], nil?: true
|
#new_lines ⇒ Integer?
15
|
# File 'lib/anthropic/models/beta/beta_text_editor_code_execution_str_replace_result_block.rb', line 15
required :new_lines, Integer, nil?: true
|
#new_start ⇒ Integer?
20
|
# File 'lib/anthropic/models/beta/beta_text_editor_code_execution_str_replace_result_block.rb', line 20
required :new_start, Integer, nil?: true
|
#old_lines ⇒ Integer?
25
|
# File 'lib/anthropic/models/beta/beta_text_editor_code_execution_str_replace_result_block.rb', line 25
required :old_lines, Integer, nil?: true
|
#old_start ⇒ Integer?
30
|
# File 'lib/anthropic/models/beta/beta_text_editor_code_execution_str_replace_result_block.rb', line 30
required :old_start, Integer, nil?: true
|
#type ⇒ Symbol, :text_editor_code_execution_str_replace_result
35
|
# File 'lib/anthropic/models/beta/beta_text_editor_code_execution_str_replace_result_block.rb', line 35
required :type, const: :text_editor_code_execution_str_replace_result
|
Instance Method Details
#to_hash ⇒ {
38
|
# File 'sig/anthropic/models/beta/beta_text_editor_code_execution_str_replace_result_block.rbs', line 38
def to_hash: -> {
|