Class: Telnyx::Models::PronunciationDictData

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

Overview

Defined Under Namespace

Modules: Item, RecordType

Instance Attribute Summary collapse

Class Method 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: nil, created_at: nil, items: nil, name: nil, record_type: nil, updated_at: nil, version: nil) ⇒ Object

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

A pronunciation dictionary record.

Parameters:

  • id (String) (defaults to: nil)

    Unique identifier for the pronunciation dictionary.

  • created_at (Time) (defaults to: nil)

    ISO 8601 timestamp with millisecond precision.

  • items (Array<Telnyx::Models::PronunciationDictAliasItem, Telnyx::Models::PronunciationDictPhonemeItem>) (defaults to: nil)

    List of pronunciation items (alias or phoneme type).

  • name (String) (defaults to: nil)

    Human-readable name for the dictionary. Must be unique within the organization.

  • record_type (Symbol, Telnyx::Models::PronunciationDictData::RecordType) (defaults to: nil)

    Identifies the resource type.

  • updated_at (Time) (defaults to: nil)

    ISO 8601 timestamp with millisecond precision.

  • version (Integer) (defaults to: nil)

    Auto-incrementing version number. Increases by 1 on each update. Used for optimi



# File 'lib/telnyx/models/pronunciation_dict_data.rb', line 50

Instance Attribute Details

#created_atTime?

ISO 8601 timestamp with millisecond precision.

Returns:

  • (Time, nil)


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

optional :created_at, Time

#idString?

Unique identifier for the pronunciation dictionary.

Returns:

  • (String, nil)


11
# File 'lib/telnyx/models/pronunciation_dict_data.rb', line 11

optional :id, String

#itemsArray<Telnyx::Models::PronunciationDictAliasItem, Telnyx::Models::PronunciationDictPhonemeItem>?

List of pronunciation items (alias or phoneme type).



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

optional :items, -> { Telnyx::Internal::Type::ArrayOf[union: Telnyx::PronunciationDictData::Item] }

#nameString?

Human-readable name for the dictionary. Must be unique within the organization.

Returns:

  • (String, nil)


29
# File 'lib/telnyx/models/pronunciation_dict_data.rb', line 29

optional :name, String

#record_typeSymbol, ...

Identifies the resource type.



35
# File 'lib/telnyx/models/pronunciation_dict_data.rb', line 35

optional :record_type, enum: -> { Telnyx::PronunciationDictData::RecordType }

#updated_atTime?

ISO 8601 timestamp with millisecond precision.

Returns:

  • (Time, nil)


41
# File 'lib/telnyx/models/pronunciation_dict_data.rb', line 41

optional :updated_at, Time

#versionInteger?

Auto-incrementing version number. Increases by 1 on each update. Used for optimistic concurrency control and cache invalidation.

Returns:

  • (Integer, nil)


48
# File 'lib/telnyx/models/pronunciation_dict_data.rb', line 48

optional :version, Integer

Class Method Details