Class: Anthropic::Models::Beta::Organization::BetaTelemetryDestinationTestResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::BetaTelemetryDestinationTestResponse
- Defined in:
- lib/anthropic/models/beta/organization/beta_telemetry_destination_test_response.rb,
sig/anthropic/models/beta/organization/beta_telemetry_destination_test_response.rbs
Overview
Instance Attribute Summary collapse
-
#result ⇒ Anthropic::Models::Beta::Organization::BetaTelemetryDestinationTestSuccess, Anthropic::Models::Beta::Organization::BetaTelemetryDestinationTestFailure
How the test went:
successwhen the destination answered with a 2xx status, elsefailurewith the reason. - #type ⇒ Symbol, :telemetry_destination_test
Instance Method Summary collapse
-
#initialize(result:, type: :telemetry_destination_test) ⇒ BetaTelemetryDestinationTestResponse
constructor
The result of one test span sent to a destination.
- #to_hash ⇒ { result: Anthropic::Models::Beta::Organization::beta_telemetry_destination_test_result, type: :telemetry_destination_test }
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(result:, type: :telemetry_destination_test) ⇒ BetaTelemetryDestinationTestResponse
The result of one test span sent to a destination.
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::BetaTelemetryDestinationTestResponse for more details.
|
|
# File 'lib/anthropic/models/beta/organization/beta_telemetry_destination_test_response.rb', line 21
|
Instance Attribute Details
#result ⇒ Anthropic::Models::Beta::Organization::BetaTelemetryDestinationTestSuccess, Anthropic::Models::Beta::Organization::BetaTelemetryDestinationTestFailure
How the test went: success when the destination answered with a 2xx status,
else failure with the reason.
14 |
# File 'lib/anthropic/models/beta/organization/beta_telemetry_destination_test_response.rb', line 14 required :result, union: -> { Anthropic::Beta::Organization::BetaTelemetryDestinationTestResult } |
#type ⇒ Symbol, :telemetry_destination_test
19 |
# File 'lib/anthropic/models/beta/organization/beta_telemetry_destination_test_response.rb', line 19 required :type, const: :telemetry_destination_test |
Instance Method Details
#to_hash ⇒ { result: Anthropic::Models::Beta::Organization::beta_telemetry_destination_test_result, type: :telemetry_destination_test }
21 22 23 24 |
# File 'sig/anthropic/models/beta/organization/beta_telemetry_destination_test_response.rbs', line 21
def to_hash: -> {
result: Anthropic::Models::Beta::Organization::beta_telemetry_destination_test_result,
type: :telemetry_destination_test
}
|