Class: Anthropic::Models::Beta::Organization::BetaTelemetryDestinationStateDisabled
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::BetaTelemetryDestinationStateDisabled
- Defined in:
- lib/anthropic/models/beta/organization/beta_telemetry_destination_state_disabled.rb,
sig/anthropic/models/beta/organization/beta_telemetry_destination_state_disabled.rbs
Instance Attribute Summary collapse
-
#reason ⇒ Anthropic::Models::Beta::Organization::BetaTelemetryDestinationDisabledReasonCaller, ...
Whether a caller or the API disabled the destination and, when the API did, why.
- #type ⇒ Symbol, :disabled
Instance Method Summary collapse
-
#initialize(reason:, type: :disabled) ⇒ BetaTelemetryDestinationStateDisabled
constructor
The API doesn't deliver anything to the telemetry destination.
- #to_hash ⇒ { reason: Anthropic::Models::Beta::Organization::beta_telemetry_destination_disabled_reason, type: :disabled }
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(reason:, type: :disabled) ⇒ BetaTelemetryDestinationStateDisabled
The API doesn't deliver anything to the telemetry destination.
Spans produced while it is disabled aren't delivered later.
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::BetaTelemetryDestinationStateDisabled for more details.
|
|
# File 'lib/anthropic/models/beta/organization/beta_telemetry_destination_state_disabled.rb', line 20
|
Instance Attribute Details
#reason ⇒ Anthropic::Models::Beta::Organization::BetaTelemetryDestinationDisabledReasonCaller, ...
Whether a caller or the API disabled the destination and, when the API did, why. Read-only.
13 |
# File 'lib/anthropic/models/beta/organization/beta_telemetry_destination_state_disabled.rb', line 13 required :reason, union: -> { Anthropic::Beta::Organization::BetaTelemetryDestinationDisabledReason } |
#type ⇒ Symbol, :disabled
18 |
# File 'lib/anthropic/models/beta/organization/beta_telemetry_destination_state_disabled.rb', line 18 required :type, const: :disabled |
Instance Method Details
#to_hash ⇒ { reason: Anthropic::Models::Beta::Organization::beta_telemetry_destination_disabled_reason, type: :disabled }
21 22 23 24 |
# File 'sig/anthropic/models/beta/organization/beta_telemetry_destination_state_disabled.rbs', line 21
def to_hash: -> {
reason: Anthropic::Models::Beta::Organization::beta_telemetry_destination_disabled_reason,
type: :disabled
}
|