Class: Anthropic::Models::Beta::BetaTextEditorCodeExecutionViewResultBlockParam
Defined Under Namespace
Modules: FileType
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(content: , file_type: , num_lines: nil, start_line: nil, total_lines: nil, type: :text_editor_code_execution_view_result) ⇒ Object
|
# File 'lib/anthropic/models/beta/beta_text_editor_code_execution_view_result_block_param.rb', line 38
|
Instance Attribute Details
#content ⇒ String
10
|
# File 'lib/anthropic/models/beta/beta_text_editor_code_execution_view_result_block_param.rb', line 10
required :content, String
|
15
16
|
# File 'lib/anthropic/models/beta/beta_text_editor_code_execution_view_result_block_param.rb', line 15
required :file_type,
enum: -> { Anthropic::Beta::BetaTextEditorCodeExecutionViewResultBlockParam::FileType }
|
#num_lines ⇒ Integer?
26
|
# File 'lib/anthropic/models/beta/beta_text_editor_code_execution_view_result_block_param.rb', line 26
optional :num_lines, Integer, nil?: true
|
#start_line ⇒ Integer?
31
|
# File 'lib/anthropic/models/beta/beta_text_editor_code_execution_view_result_block_param.rb', line 31
optional :start_line, Integer, nil?: true
|
#total_lines ⇒ Integer?
36
|
# File 'lib/anthropic/models/beta/beta_text_editor_code_execution_view_result_block_param.rb', line 36
optional :total_lines, Integer, nil?: true
|
#type ⇒ Symbol, :text_editor_code_execution_view_result
21
|
# File 'lib/anthropic/models/beta/beta_text_editor_code_execution_view_result_block_param.rb', line 21
required :type, const: :text_editor_code_execution_view_result
|