Module: Anthropic::Models::Beta::BetaContentBlockSource::Content
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/anthropic/models/beta/beta_content_block_source.rb,
sig/anthropic/models/beta/beta_content_block_source.rbs
Overview
Constant Summary collapse
- BetaContentBlockSourceContentArray =
Anthropic::Internal::Type::ArrayOf[union: -> { Anthropic::Beta::BetaContentBlockSourceContent }]
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Internal::Type::Union
==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Class Method Details
.variants ⇒ Array(String, Array<Anthropic::Models::Beta::BetaTextBlockParam, Anthropic::Models::Beta::BetaImageBlockParam>)
|
|
# File 'lib/anthropic/models/beta/beta_content_block_source.rb', line 29
|
Instance Method Details
#self?.variants ⇒ ::Array[Anthropic::Models::Beta::BetaContentBlockSource::content]
34 |
# File 'sig/anthropic/models/beta/beta_content_block_source.rbs', line 34
def self?.variants: -> ::Array[Anthropic::Models::Beta::BetaContentBlockSource::content]
|