Module: Telnyx::Models::TextToSpeechGenerateSpeechParams::Telnyx::Emotion

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

Overview

Emotion control for the Ultra model. Adjusts the emotional tone of the synthesized speech.

See Also:

Constant Summary collapse

NEUTRAL =

Returns:

  • (:neutral)
:neutral
HAPPY =

Returns:

  • (:happy)
:happy
SAD =

Returns:

  • (:sad)
:sad
ANGRY =

Returns:

  • (:angry)
:angry
FEARFUL =

Returns:

  • (:fearful)
:fearful
DISGUSTED =

Returns:

  • (:disgusted)
:disgusted
SURPRISED =

Returns:

  • (:surprised)
:surprised

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values, 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

Instance Method Details

#self?.values::Array[::Telnyx::Models::TextToSpeechGenerateSpeechParams::Telnyx::emotion]

Returns:

  • (::Array[::Telnyx::Models::TextToSpeechGenerateSpeechParams::Telnyx::emotion])


549
# File 'sig/telnyx/models/text_to_speech_generate_speech_params.rbs', line 549

def self?.values: -> ::Array[::Telnyx::Models::TextToSpeechGenerateSpeechParams::Telnyx::emotion]