Class: Telnyx::Models::ArtifactCompletedWebhookEvent::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::ArtifactCompletedWebhookEvent::Data
- Defined in:
- lib/telnyx/models/artifact_completed_webhook_event.rb,
sig/telnyx/models/artifact_completed_webhook_event.rbs
Overview
Defined Under Namespace
Modules: Type Classes: Content, ModelProvenance
Instance Attribute Summary collapse
-
#artifact_id ⇒ String
Id of the completed artifact.
-
#content ⇒ Telnyx::Models::ArtifactCompletedWebhookEvent::Data::Content
Generated artifact content.
-
#model_provenance ⇒ Telnyx::Models::ArtifactCompletedWebhookEvent::Data::ModelProvenance
Model that generated the artifact.
-
#session_id ⇒ String
The meeting session this event belongs to.
-
#type ⇒ Symbol, Telnyx::Models::ArtifactCompletedWebhookEvent::Data::Type
Type of the completed artifact.
Instance Method Summary collapse
-
#initialize(model:, provider:) ⇒ Object
constructor
Model that generated the artifact.
- #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(model:, provider:) ⇒ Object
Model that generated the artifact.
|
|
# File 'lib/telnyx/models/artifact_completed_webhook_event.rb', line 79
|
Instance Attribute Details
#artifact_id ⇒ String
Id of the completed artifact.
53 |
# File 'lib/telnyx/models/artifact_completed_webhook_event.rb', line 53 required :artifact_id, String |
#content ⇒ Telnyx::Models::ArtifactCompletedWebhookEvent::Data::Content
Generated artifact content.
59 |
# File 'lib/telnyx/models/artifact_completed_webhook_event.rb', line 59 required :content, -> { Telnyx::ArtifactCompletedWebhookEvent::Data::Content } |
#model_provenance ⇒ Telnyx::Models::ArtifactCompletedWebhookEvent::Data::ModelProvenance
Model that generated the artifact.
65 |
# File 'lib/telnyx/models/artifact_completed_webhook_event.rb', line 65 required :model_provenance, -> { Telnyx::ArtifactCompletedWebhookEvent::Data::ModelProvenance } |
#session_id ⇒ String
The meeting session this event belongs to.
71 |
# File 'lib/telnyx/models/artifact_completed_webhook_event.rb', line 71 required :session_id, String |
#type ⇒ Symbol, Telnyx::Models::ArtifactCompletedWebhookEvent::Data::Type
Type of the completed artifact.
77 |
# File 'lib/telnyx/models/artifact_completed_webhook_event.rb', line 77 required :type, enum: -> { Telnyx::ArtifactCompletedWebhookEvent::Data::Type } |
Instance Method Details
#to_hash ⇒ {
67 |
# File 'sig/telnyx/models/artifact_completed_webhook_event.rbs', line 67
def to_hash: -> {
|