Class: Telnyx::Models::ArtifactFailedWebhookEvent::Data

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/artifact_failed_webhook_event.rb,
sig/telnyx/models/artifact_failed_webhook_event.rbs

Overview

See Also:

  • Telnyx::Models::ArtifactFailedWebhookEvent#data

Defined Under Namespace

Modules: Type

Instance Attribute 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(artifact_id:, session_id:, type:) ⇒ Object

Failed artifact reference and reason.

Parameters:



# File 'lib/telnyx/models/artifact_failed_webhook_event.rb', line 67

Instance Attribute Details

#artifact_idString

Id of the failed artifact.

Parameters:

  • value (String)

Returns:

  • (String)


53
# File 'lib/telnyx/models/artifact_failed_webhook_event.rb', line 53

required :artifact_id, String

#session_idString

The meeting session this event belongs to.

Parameters:

  • value (String)

Returns:

  • (String)


59
# File 'lib/telnyx/models/artifact_failed_webhook_event.rb', line 59

required :session_id, String

#typeSymbol, Telnyx::Models::ArtifactFailedWebhookEvent::Data::Type

Type of the failed artifact.

Parameters:

  • value (Telnyx::Models::ArtifactFailedWebhookEvent::Data::type_)

Returns:



65
# File 'lib/telnyx/models/artifact_failed_webhook_event.rb', line 65

required :type, enum: -> { Telnyx::ArtifactFailedWebhookEvent::Data::Type }

Instance Method Details

#to_hash{

Returns:

  • ({)


59
# File 'sig/telnyx/models/artifact_failed_webhook_event.rbs', line 59

def to_hash: -> {