Class: Telnyx::Models::ArtifactCompletedWebhookEvent
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::ArtifactCompletedWebhookEvent
- Defined in:
- lib/telnyx/models/artifact_completed_webhook_event.rb,
sig/telnyx/models/artifact_completed_webhook_event.rbs
Defined Under Namespace
Instance Attribute Summary collapse
-
#data ⇒ Telnyx::Models::ArtifactCompletedWebhookEvent::Data
Completed artifact, including its generated content.
-
#event ⇒ Symbol, Telnyx::Models::ArtifactCompletedWebhookEvent::Event
Event type.
-
#id ⇒ String
Unique event id; deduplicate deliveries on it.
-
#occurred_at ⇒ Time
When the event occurred.
-
#version ⇒ String
Envelope version.
Class Method Summary collapse
Instance Method Summary collapse
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:, data:, event:, occurred_at:, version:) ⇒ Object
|
|
# File 'lib/telnyx/models/artifact_completed_webhook_event.rb', line 36
|
Instance Attribute Details
#data ⇒ Telnyx::Models::ArtifactCompletedWebhookEvent::Data
Completed artifact, including its generated content.
16 |
# File 'lib/telnyx/models/artifact_completed_webhook_event.rb', line 16 required :data, -> { Telnyx::ArtifactCompletedWebhookEvent::Data } |
#event ⇒ Symbol, Telnyx::Models::ArtifactCompletedWebhookEvent::Event
Event type.
22 |
# File 'lib/telnyx/models/artifact_completed_webhook_event.rb', line 22 required :event, enum: -> { Telnyx::ArtifactCompletedWebhookEvent::Event } |
#id ⇒ String
Unique event id; deduplicate deliveries on it.
10 |
# File 'lib/telnyx/models/artifact_completed_webhook_event.rb', line 10 required :id, String |
#occurred_at ⇒ Time
When the event occurred.
28 |
# File 'lib/telnyx/models/artifact_completed_webhook_event.rb', line 28 required :occurred_at, Time |
#version ⇒ String
Envelope version.
34 |
# File 'lib/telnyx/models/artifact_completed_webhook_event.rb', line 34 required :version, String |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/telnyx/models/artifact_completed_webhook_event.rb', line 134
|
Instance Method Details
#to_hash ⇒ {
31 |
# File 'sig/telnyx/models/artifact_completed_webhook_event.rbs', line 31
def to_hash: -> {
|