Class: Anthropic::Models::Beta::BetaFallbackBlockParam
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaFallbackBlockParam
- Defined in:
- lib/anthropic/models/beta/beta_fallback_block_param.rb,
sig/anthropic/models/beta/beta_fallback_block_param.rbs
Instance Attribute Summary collapse
-
#from ⇒ Anthropic::Models::Beta::BetaFallbackInfoParam
Identifies one hop of a fallback transition.
-
#to ⇒ Anthropic::Models::Beta::BetaFallbackInfoParam
Identifies one hop of a fallback transition.
-
#trigger ⇒ Object?
The response block's
trigger, echoed verbatim. - #type ⇒ Symbol, :fallback
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
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 ⇒ Object
25 |
# File 'sig/anthropic/models/beta/beta_fallback_block_param.rbs', line 25
def initialize: (
|
Instance Attribute Details
#from ⇒ Anthropic::Models::Beta::BetaFallbackInfoParam
Identifies one hop of a fallback transition.
11 |
# File 'lib/anthropic/models/beta/beta_fallback_block_param.rb', line 11 required :from, -> { Anthropic::Beta::BetaFallbackInfoParam } |
#to ⇒ Anthropic::Models::Beta::BetaFallbackInfoParam
Identifies one hop of a fallback transition.
17 |
# File 'lib/anthropic/models/beta/beta_fallback_block_param.rb', line 17 required :to, -> { Anthropic::Beta::BetaFallbackInfoParam } |
#trigger ⇒ Object?
The response block's trigger, echoed verbatim. Accepted and ignored by the
server; any object or null is allowed.
29 |
# File 'lib/anthropic/models/beta/beta_fallback_block_param.rb', line 29 optional :trigger, Anthropic::Internal::Type::Unknown |
#type ⇒ Symbol, :fallback
22 |
# File 'lib/anthropic/models/beta/beta_fallback_block_param.rb', line 22 required :type, const: :fallback |
Instance Method Details
#to_hash ⇒ {
32 |
# File 'sig/anthropic/models/beta/beta_fallback_block_param.rbs', line 32
def to_hash: -> {
|