Module: Anthropic::Models::Beta::BetaContextManagementResponse::AppliedEdit
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/anthropic/models/beta/beta_context_management_response.rb,
sig/anthropic/models/beta/beta_context_management_response.rbs
Instance Method Summary collapse
- #initialize(applied_edits:) ⇒ Object
- #self?.variants ⇒ ::Array[Anthropic::Models::Beta::BetaContextManagementResponse::applied_edit]
Methods included from Internal::Type::Union
==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants, 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
Instance Method Details
#initialize(applied_edits:) ⇒ Object
17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/anthropic/models/beta/beta_context_management_response.rb', line 17 module AppliedEdit extend Anthropic::Internal::Type::Union discriminator :type variant :clear_tool_uses_20250919, -> { Anthropic::Beta::BetaClearToolUses20250919EditResponse } variant :clear_thinking_20251015, -> { Anthropic::Beta::BetaClearThinking20251015EditResponse } # @!method self.variants # @return [Array(Anthropic::Models::Beta::BetaClearToolUses20250919EditResponse, Anthropic::Models::Beta::BetaClearThinking20251015EditResponse)] end |
#self?.variants ⇒ ::Array[Anthropic::Models::Beta::BetaContextManagementResponse::applied_edit]
29 |
# File 'sig/anthropic/models/beta/beta_context_management_response.rbs', line 29
def self?.variants: -> ::Array[Anthropic::Models::Beta::BetaContextManagementResponse::applied_edit]
|