Class: Telnyx::Models::MeetingSession::Assistant

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

Overview

See Also:

  • Telnyx::Models::MeetingSession#assistant

Defined Under Namespace

Modules: AudioGate

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(id:, audio_gate:) ⇒ Object

Assistant configuration if an assistant is attached, otherwise null.

Parameters:



# File 'lib/telnyx/models/meeting_session.rb', line 225

Instance Attribute Details

#audio_gateSymbol, Telnyx::Models::MeetingSession::Assistant::AudioGate

Audio gating strategy for the assistant call leg.

Parameters:

  • value (Telnyx::Models::MeetingSession::Assistant::audio_gate)

Returns:



223
# File 'lib/telnyx/models/meeting_session.rb', line 223

required :audio_gate, enum: -> { Telnyx::MeetingSession::Assistant::AudioGate }

#idString

Identifier of the assistant.

Parameters:

  • value (String)

Returns:

  • (String)


217
# File 'lib/telnyx/models/meeting_session.rb', line 217

required :id, String

Instance Method Details

#to_hash{

Returns:

  • ({)


150
# File 'sig/telnyx/models/meeting_session.rbs', line 150

def to_hash: -> {