Class: Telnyx::Models::GlobalIPLatencyRetrieveResponse::Data::PercentileLatency::P100
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::GlobalIPLatencyRetrieveResponse::Data::PercentileLatency::P100
- Defined in:
- lib/telnyx/models/global_ip_latency_retrieve_response.rb,
sig/telnyx/models/global_ip_latency_retrieve_response.rbs
Overview
Instance Attribute Summary collapse
-
#amount ⇒ Float?
The maximum latency.
-
#unit ⇒ String?
The unit of the maximum latency.
Instance Method Summary collapse
-
#initialize ⇒ P100
constructor
A new instance of P100.
- #to_hash ⇒ { amount: Float, unit: String }
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 ⇒ P100
Returns a new instance of P100.
208 |
# File 'sig/telnyx/models/global_ip_latency_retrieve_response.rbs', line 208
def initialize: (?amount: Float, ?unit: String) -> void
|
Instance Attribute Details
#amount ⇒ Float?
The maximum latency.
183 |
# File 'lib/telnyx/models/global_ip_latency_retrieve_response.rb', line 183 optional :amount, Float |
#unit ⇒ String?
The unit of the maximum latency.
189 |
# File 'lib/telnyx/models/global_ip_latency_retrieve_response.rb', line 189 optional :unit, String |
Instance Method Details
#to_hash ⇒ { amount: Float, unit: String }
210 |
# File 'sig/telnyx/models/global_ip_latency_retrieve_response.rbs', line 210
def to_hash: -> { amount: Float, unit: String }
|