Class: Anthropic::Models::Beta::BetaCodeExecutionResultBlock
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/anthropic/models/beta/beta_code_execution_result_block.rb,
sig/anthropic/models/beta/beta_code_execution_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 ⇒ void
26
|
# File 'sig/anthropic/models/beta/beta_code_execution_result_block.rbs', line 26
def initialize: (
|
Instance Attribute Details
10
11
|
# File 'lib/anthropic/models/beta/beta_code_execution_result_block.rb', line 10
required :content,
-> { Anthropic::Internal::Type::ArrayOf[Anthropic::Beta::BetaCodeExecutionOutputBlock] }
|
#return_code ⇒ Integer
16
|
# File 'lib/anthropic/models/beta/beta_code_execution_result_block.rb', line 16
required :return_code, Integer
|
#stderr ⇒ String
21
|
# File 'lib/anthropic/models/beta/beta_code_execution_result_block.rb', line 21
required :stderr, String
|
#stdout ⇒ String
26
|
# File 'lib/anthropic/models/beta/beta_code_execution_result_block.rb', line 26
required :stdout, String
|
#type ⇒ Symbol, :code_execution_result
31
|
# File 'lib/anthropic/models/beta/beta_code_execution_result_block.rb', line 31
required :type, const: :code_execution_result
|
Instance Method Details
#to_hash ⇒ {
34
|
# File 'sig/anthropic/models/beta/beta_code_execution_result_block.rbs', line 34
def to_hash: -> {
|