Module: Telnyx::Models::Calls::ActionSwitchSupervisorRoleParams::Role

Extended by:
Internal::Type::Enum
Defined in:
lib/telnyx/models/calls/action_switch_supervisor_role_params.rb,
sig/telnyx/models/calls/action_switch_supervisor_role_params.rbs

Overview

The supervisor role to switch to. 'barge' allows speaking to both parties, 'whisper' allows speaking to caller only, 'monitor' allows listening only.

Constant Summary collapse

BARGE =

Returns:

  • (:barge)
:barge
WHISPER =

Returns:

  • (:whisper)
:whisper
MONITOR =

Returns:

  • (:monitor)
:monitor

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/telnyx/models/calls/action_switch_supervisor_role_params.rb', line 42

Instance Method Details

#self?.values::Array[Telnyx::Models::Calls::ActionSwitchSupervisorRoleParams::role]

Returns:

  • (::Array[Telnyx::Models::Calls::ActionSwitchSupervisorRoleParams::role])


40
# File 'sig/telnyx/models/calls/action_switch_supervisor_role_params.rbs', line 40

def self?.values: -> ::Array[Telnyx::Models::Calls::ActionSwitchSupervisorRoleParams::role]