Class: Telnyx::Models::EventNode
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::EventNode
- Defined in:
- lib/telnyx/models/event_node.rb
Defined Under Namespace
Classes: Cost, Links, Relationship
Instance Attribute Summary collapse
-
#children ⇒ Array<Telnyx::Models::EventNode>
Child events in the session tree.
- #cost ⇒ Telnyx::Models::EventNode::Cost
-
#event_name ⇒ String
Name of the event type.
-
#id ⇒ String
Event identifier.
- #links ⇒ Telnyx::Models::EventNode::Links
-
#product ⇒ String
Product that generated this event.
-
#record ⇒ Hash{Symbol=>Object}
The underlying detail record data.
-
#relationship ⇒ Telnyx::Models::EventNode::Relationship?
Relationship to the parent node, null for root.
Instance Method Summary collapse
- #initialize(records:, self_:) ⇒ Object constructor
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(records:, self_:) ⇒ Object
|
|
# File 'lib/telnyx/models/event_node.rb', line 52
|
Instance Attribute Details
#children ⇒ Array<Telnyx::Models::EventNode>
Child events in the session tree.
16 |
# File 'lib/telnyx/models/event_node.rb', line 16 required :children, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::EventNode] } |
#cost ⇒ Telnyx::Models::EventNode::Cost
21 |
# File 'lib/telnyx/models/event_node.rb', line 21 required :cost, -> { Telnyx::EventNode::Cost } |
#event_name ⇒ String
Name of the event type.
27 |
# File 'lib/telnyx/models/event_node.rb', line 27 required :event_name, String |
#id ⇒ String
Event identifier.
10 |
# File 'lib/telnyx/models/event_node.rb', line 10 required :id, String |
#links ⇒ Telnyx::Models::EventNode::Links
32 |
# File 'lib/telnyx/models/event_node.rb', line 32 required :links, -> { Telnyx::EventNode::Links } |
#product ⇒ String
Product that generated this event.
38 |
# File 'lib/telnyx/models/event_node.rb', line 38 required :product, String |
#record ⇒ Hash{Symbol=>Object}
The underlying detail record data. Contents vary by record type.
44 |
# File 'lib/telnyx/models/event_node.rb', line 44 required :record, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown] |
#relationship ⇒ Telnyx::Models::EventNode::Relationship?
Relationship to the parent node, null for root.
50 |
# File 'lib/telnyx/models/event_node.rb', line 50 optional :relationship, -> { Telnyx::EventNode::Relationship }, nil?: true |