Class: Telnyx::Models::SimCard::DataLimit
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::SimCard::DataLimit
- Defined in:
- lib/telnyx/models/sim_card.rb,
sig/telnyx/models/sim_card.rbs
Overview
Defined Under Namespace
Modules: Unit
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(amount: nil, unit: nil) ⇒ Object
constructor
The SIM card individual data limit configuration.
- #to_hash ⇒ {
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(amount: nil, unit: nil) ⇒ Object
The SIM card individual data limit configuration.
|
|
# File 'lib/telnyx/models/sim_card.rb', line 322
|
Instance Attribute Details
#amount ⇒ String?
315 |
# File 'lib/telnyx/models/sim_card.rb', line 315 optional :amount, String |
#unit ⇒ Symbol, ...
320 |
# File 'lib/telnyx/models/sim_card.rb', line 320 optional :unit, enum: -> { Telnyx::SimCard::DataLimit::Unit } |
Instance Method Details
#to_hash ⇒ {
294 |
# File 'sig/telnyx/models/sim_card.rbs', line 294
def to_hash: -> {
|