Class: Anthropic::Models::Beta::Organization::BetaTelemetryDestinationDisabledReasonSustainedFailure

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/anthropic/models/beta/organization/beta_telemetry_destination_disabled_reason_sustained_failure.rb,
sig/anthropic/models/beta/organization/beta_telemetry_destination_disabled_reason_sustained_failure.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

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(type: :sustained_failure) ⇒ BetaTelemetryDestinationDisabledReasonSustainedFailure

The API disabled the destination because deliveries to it failed, with no successful delivery in between, for longer than a threshold that Anthropic configures and that is not part of this contract. The reason is invalid_address instead when the most recent failed delivery failed with an invalid address.

Parameters:

  • type (Symbol, :sustained_failure) (defaults to: :sustained_failure)
  • type: (:sustained_failure) (defaults to: :sustained_failure)


# File 'lib/anthropic/models/beta/organization/beta_telemetry_destination_disabled_reason_sustained_failure.rb', line 13

Instance Attribute Details

#type ⇒ Symbol, :sustained_failure

Parameters:

  • value (:sustained_failure)

Returns:

  • (Symbol, :sustained_failure)


11
# File 'lib/anthropic/models/beta/organization/beta_telemetry_destination_disabled_reason_sustained_failure.rb', line 11

required :type, const: :sustained_failure

Instance Method Details

#to_hash ⇒ { type: :sustained_failure }

Returns:

  • ({ type: :sustained_failure })


13
# File 'sig/anthropic/models/beta/organization/beta_telemetry_destination_disabled_reason_sustained_failure.rbs', line 13

def to_hash: -> { type: :sustained_failure }