Class: Telnyx::Models::GlobalIPAssignmentHealthRetrieveResponse::Data::Health

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/global_ip_assignment_health_retrieve_response.rb

Overview

See Also:

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(failed_health_checks_count: nil, pass: nil) ⇒ Object

Parameters:

  • failed_health_checks_count (Float) (defaults to: nil)

    The number of failed health checks.

  • pass (Float) (defaults to: nil)

    The number of successful health checks.



# File 'lib/telnyx/models/global_ip_assignment_health_retrieve_response.rb', line 132

Instance Attribute Details

#failed_health_checks_countFloat?

The number of failed health checks.

Returns:

  • (Float, nil)


124
# File 'lib/telnyx/models/global_ip_assignment_health_retrieve_response.rb', line 124

optional :failed_health_checks_count, Float, api_name: :fail

#passFloat?

The number of successful health checks.

Returns:

  • (Float, nil)


130
# File 'lib/telnyx/models/global_ip_assignment_health_retrieve_response.rb', line 130

optional :pass, Float