Class: Telnyx::Models::WebhookDeliveryListResponse::Webhook
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::WebhookDeliveryListResponse::Webhook
- Defined in:
- lib/telnyx/models/webhook_delivery_list_response.rb
Overview
Defined Under Namespace
Modules: RecordType
Instance Attribute Summary collapse
-
#event_type ⇒ String?
The type of event being delivered.
-
#id ⇒ String?
Identifies the type of resource.
-
#occurred_at ⇒ Time?
ISO 8601 datetime of when the event occurred.
- #payload ⇒ Hash{Symbol=>Object}?
-
#record_type ⇒ Symbol, ...
Identifies the type of the resource.
Instance Method Summary collapse
-
#initialize(id: nil, event_type: nil, occurred_at: nil, payload: nil, record_type: nil) ⇒ Object
constructor
Original webhook JSON data.
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, event_type: nil, occurred_at: nil, payload: nil, record_type: nil) ⇒ Object
Original webhook JSON data. Payload fields vary according to event type.
|
|
# File 'lib/telnyx/models/webhook_delivery_list_response.rb', line 123
|
Instance Attribute Details
#event_type ⇒ String?
The type of event being delivered.
104 |
# File 'lib/telnyx/models/webhook_delivery_list_response.rb', line 104 optional :event_type, String |
#id ⇒ String?
Identifies the type of resource.
98 |
# File 'lib/telnyx/models/webhook_delivery_list_response.rb', line 98 optional :id, String |
#occurred_at ⇒ Time?
ISO 8601 datetime of when the event occurred.
110 |
# File 'lib/telnyx/models/webhook_delivery_list_response.rb', line 110 optional :occurred_at, Time |
#payload ⇒ Hash{Symbol=>Object}?
115 |
# File 'lib/telnyx/models/webhook_delivery_list_response.rb', line 115 optional :payload, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown] |
#record_type ⇒ Symbol, ...
Identifies the type of the resource.
121 |
# File 'lib/telnyx/models/webhook_delivery_list_response.rb', line 121 optional :record_type, enum: -> { Telnyx::Models::WebhookDeliveryListResponse::Webhook::RecordType } |