Class: Telnyx::Models::TranscriptCompletedWebhookEvent::Data

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

Overview

See Also:

  • Telnyx::Models::TranscriptCompletedWebhookEvent#data

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

#initializeObject



56
# File 'sig/telnyx/models/transcript_completed_webhook_event.rbs', line 56

def initialize: (

Instance Attribute Details

#ended_atTime?

Session end time, or null when unavailable.

Parameters:

  • value (Time, nil)

Returns:

  • (Time, nil)


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

required :ended_at, Time, nil?: true

#last_seqInteger?

Last transcript segment sequence number, or null for an empty transcript.

Parameters:

  • value (Integer, nil)

Returns:

  • (Integer, nil)


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

required :last_seq, Integer, nil?: true

#segment_countInteger

Number of transcript segments observed during finalization.

Parameters:

  • value (Integer)

Returns:

  • (Integer)


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

required :segment_count, Integer

#session_idString

The meeting session this event belongs to.

Parameters:

  • value (String)

Returns:

  • (String)


71
# File 'lib/telnyx/models/transcript_completed_webhook_event.rb', line 71

required :session_id, String

Instance Method Details

#to_hash{

Returns:

  • ({)


63
# File 'sig/telnyx/models/transcript_completed_webhook_event.rbs', line 63

def to_hash: -> {