Class: Telnyx::Models::PronunciationDictAliasItem
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::PronunciationDictAliasItem
- Defined in:
- lib/telnyx/models/pronunciation_dict_alias_item.rb
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#alias_ ⇒ String
The replacement text that will be spoken instead.
-
#text ⇒ String
The text to match in the input.
-
#type ⇒ Symbol, Telnyx::Models::PronunciationDictAliasItem::Type
The item type.
Instance Method Summary collapse
-
#initialize(alias_:, text:, type:) ⇒ Object
constructor
Some parameter documentations has been truncated, see PronunciationDictAliasItem for more details.
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.
|
|
# File 'lib/telnyx/models/pronunciation_dict_alias_item.rb', line 25
|
Instance Attribute Details
#alias_ ⇒ String
The replacement text that will be spoken instead.
10 |
# File 'lib/telnyx/models/pronunciation_dict_alias_item.rb', line 10 required :alias_, String, api_name: :alias |
#text ⇒ String
The text to match in the input. Case-insensitive matching is used during synthesis.
17 |
# File 'lib/telnyx/models/pronunciation_dict_alias_item.rb', line 17 required :text, String |
#type ⇒ Symbol, 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 } |