Class: Telnyx::Models::NumberOrderStatusUpdate::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::NumberOrderStatusUpdate::Data
- Defined in:
- lib/telnyx/models/number_order_status_update.rb,
sig/telnyx/models/number_order_status_update.rbs
Overview
Instance Attribute Summary collapse
-
#event_type ⇒ String
The type of event being sent.
-
#id ⇒ String
Unique identifier for the event.
-
#occurred_at ⇒ Time
ISO 8601 timestamp of when the event occurred.
- #payload ⇒ Telnyx::Models::NumberOrderWithPhoneNumbers
-
#record_type ⇒ String
Type of record.
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #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 ⇒ Object
44 |
# File 'sig/telnyx/models/number_order_status_update.rbs', line 44
def initialize: (
|
Instance Attribute Details
#event_type ⇒ String
The type of event being sent
32 |
# File 'lib/telnyx/models/number_order_status_update.rb', line 32 required :event_type, String |
#id ⇒ String
Unique identifier for the event
26 |
# File 'lib/telnyx/models/number_order_status_update.rb', line 26 required :id, String |
#occurred_at ⇒ Time
ISO 8601 timestamp of when the event occurred
38 |
# File 'lib/telnyx/models/number_order_status_update.rb', line 38 required :occurred_at, Time |
#payload ⇒ Telnyx::Models::NumberOrderWithPhoneNumbers
43 |
# File 'lib/telnyx/models/number_order_status_update.rb', line 43 required :payload, -> { Telnyx::NumberOrderWithPhoneNumbers } |
#record_type ⇒ String
Type of record
49 |
# File 'lib/telnyx/models/number_order_status_update.rb', line 49 required :record_type, String |
Instance Method Details
#to_hash ⇒ {
52 |
# File 'sig/telnyx/models/number_order_status_update.rbs', line 52
def to_hash: -> {
|