Class: Telnyx::Models::SimCardDataUsageNotification
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::SimCardDataUsageNotification
- Defined in:
- lib/telnyx/models/sim_card_data_usage_notification.rb,
sig/telnyx/models/sim_card_data_usage_notification.rbs
Overview
Direct Known Subclasses
Defined Under Namespace
Classes: Threshold
Instance Attribute Summary collapse
-
#created_at ⇒ String?
readonly
Returns the value of attribute created_at.
-
#id ⇒ String?
readonly
Returns the value of attribute id.
-
#record_type ⇒ String?
readonly
Returns the value of attribute record_type.
-
#sim_card_id ⇒ String?
The identification UUID of the related SIM card resource.
-
#threshold ⇒ Telnyx::Models::SimCardDataUsageNotification::Threshold?
Data usage threshold that will trigger the notification.
-
#updated_at ⇒ String?
readonly
Returns the value of attribute updated_at.
Instance Method Summary collapse
- #created_at ⇒ String readonly
- #id ⇒ String readonly
-
#initialize(id: nil, created_at: nil, record_type: nil, sim_card_id: nil, threshold: nil, updated_at: nil) ⇒ Object
constructor
The SIM card individual data usage notification information.
- #record_type ⇒ String readonly
- #to_hash ⇒ {
- #updated_at ⇒ String readonly
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(id: nil, created_at: nil, record_type: nil, sim_card_id: nil, threshold: nil, updated_at: nil) ⇒ Object
The SIM card individual data usage notification information.
|
|
# File 'lib/telnyx/models/sim_card_data_usage_notification.rb', line 44
|
Instance Attribute Details
#created_at ⇒ String? (readonly)
Returns the value of attribute created_at.
28 29 30 |
# File 'sig/telnyx/models/sim_card_data_usage_notification.rbs', line 28 def created_at @created_at end |
#id ⇒ String? (readonly)
Returns the value of attribute id.
24 25 26 |
# File 'sig/telnyx/models/sim_card_data_usage_notification.rbs', line 24 def id @id end |
#record_type ⇒ String? (readonly)
Returns the value of attribute record_type.
32 33 34 |
# File 'sig/telnyx/models/sim_card_data_usage_notification.rbs', line 32 def record_type @record_type end |
#sim_card_id ⇒ String?
The identification UUID of the related SIM card resource.
11 |
# File 'lib/telnyx/models/sim_card_data_usage_notification.rb', line 11 optional :sim_card_id, String |
#threshold ⇒ Telnyx::Models::SimCardDataUsageNotification::Threshold?
Data usage threshold that will trigger the notification.
17 |
# File 'lib/telnyx/models/sim_card_data_usage_notification.rb', line 17 optional :threshold, -> { Telnyx::SimCardDataUsageNotification::Threshold } |
#updated_at ⇒ String? (readonly)
Returns the value of attribute updated_at.
36 37 38 |
# File 'sig/telnyx/models/sim_card_data_usage_notification.rbs', line 36 def updated_at @updated_at end |
Instance Method Details
#created_at= ⇒ String (readonly)
30 |
# File 'sig/telnyx/models/sim_card_data_usage_notification.rbs', line 30
def created_at=: (String) -> String
|
#id= ⇒ String (readonly)
26 |
# File 'sig/telnyx/models/sim_card_data_usage_notification.rbs', line 26
def id=: (String) -> String
|
#record_type= ⇒ String (readonly)
34 |
# File 'sig/telnyx/models/sim_card_data_usage_notification.rbs', line 34
def record_type=: (String) -> String
|
#to_hash ⇒ {
49 |
# File 'sig/telnyx/models/sim_card_data_usage_notification.rbs', line 49
def to_hash: -> {
|
#updated_at= ⇒ String (readonly)
38 |
# File 'sig/telnyx/models/sim_card_data_usage_notification.rbs', line 38
def updated_at=: (String) -> String
|