Class: Anthropic::Models::Beta::BetaRedactedThinkingBlockParam
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaRedactedThinkingBlockParam
- Defined in:
- lib/anthropic/models/beta/beta_redacted_thinking_block_param.rb,
sig/anthropic/models/beta/beta_redacted_thinking_block_param.rbs
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ BetaRedactedThinkingBlockParam
constructor
A new instance of BetaRedactedThinkingBlockParam.
- #to_hash ⇒ { data: String, type: :redacted_thinking }
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 ⇒ BetaRedactedThinkingBlockParam
Returns a new instance of BetaRedactedThinkingBlockParam.
14 |
# File 'sig/anthropic/models/beta/beta_redacted_thinking_block_param.rbs', line 14
def initialize: (data: String, ?type: :redacted_thinking) -> void
|
Instance Attribute Details
#data ⇒ String
10 |
# File 'lib/anthropic/models/beta/beta_redacted_thinking_block_param.rb', line 10 required :data, String |
#type ⇒ Symbol, :redacted_thinking
15 |
# File 'lib/anthropic/models/beta/beta_redacted_thinking_block_param.rb', line 15 required :type, const: :redacted_thinking |
Instance Method Details
#to_hash ⇒ { data: String, type: :redacted_thinking }
16 |
# File 'sig/anthropic/models/beta/beta_redacted_thinking_block_param.rbs', line 16
def to_hash: -> { data: String, type: :redacted_thinking }
|