Class: Telnyx::Models::PronunciationDictAliasItem

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/pronunciation_dict_alias_item.rb

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(alias_:, text:, type:) ⇒ Object

Some parameter documentations has been truncated, see Telnyx::Models::PronunciationDictAliasItem for more details.

An alias pronunciation item. When the ‘text` value is found in input, it is replaced with the `alias` before speech synthesis.

Parameters:

  • alias_ (String)

    The replacement text that will be spoken instead.

  • text (String)

    The text to match in the input. Case-insensitive matching is used during synthes

  • type (Symbol, Telnyx::Models::PronunciationDictAliasItem::Type)

    The item type.



# File 'lib/telnyx/models/pronunciation_dict_alias_item.rb', line 25

Instance Attribute Details

#alias_String

The replacement text that will be spoken instead.

Returns:

  • (String)


10
# File 'lib/telnyx/models/pronunciation_dict_alias_item.rb', line 10

required :alias_, String, api_name: :alias

#textString

The text to match in the input. Case-insensitive matching is used during synthesis.

Returns:

  • (String)


17
# File 'lib/telnyx/models/pronunciation_dict_alias_item.rb', line 17

required :text, String

#typeSymbol, Telnyx::Models::PronunciationDictAliasItem::Type

The item type.



23
# File 'lib/telnyx/models/pronunciation_dict_alias_item.rb', line 23

required :type, enum: -> { Telnyx::PronunciationDictAliasItem::Type }