Class: Telnyx::Models::VoiceDesignRenameResponse::Data

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

Overview

See Also:

Defined Under Namespace

Modules: Provider, 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, name: nil, provider: nil, provider_supported_models: nil, record_type: nil, updated_at: nil) ⇒ Object

A summarized voice design object (without version-specific fields).

Parameters:

  • id (String) (defaults to: nil)

    Unique identifier for the voice design.

  • created_at (Time) (defaults to: nil)

    Timestamp when the voice design was first created.

  • name (String) (defaults to: nil)

    Name of the voice design.

  • provider (Symbol, Telnyx::Models::VoiceDesignRenameResponse::Data::Provider, nil) (defaults to: nil)

    Voice synthesis provider used for this design.

  • provider_supported_models (Array<String>) (defaults to: nil)

    List of TTS model identifiers supported by this design’s provider.

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

    Identifies the resource type.

  • updated_at (Time) (defaults to: nil)

    Timestamp when the voice design was last updated.



# File 'lib/telnyx/models/voice_design_rename_response.rb', line 63

Instance Attribute Details

#created_atTime?

Timestamp when the voice design was first created.

Returns:

  • (Time, nil)


31
# File 'lib/telnyx/models/voice_design_rename_response.rb', line 31

optional :created_at, Time

#idString?

Unique identifier for the voice design.

Returns:

  • (String, nil)


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

optional :id, String

#nameString?

Name of the voice design.

Returns:

  • (String, nil)


37
# File 'lib/telnyx/models/voice_design_rename_response.rb', line 37

optional :name, String

#providerSymbol, ...

Voice synthesis provider used for this design.



43
# File 'lib/telnyx/models/voice_design_rename_response.rb', line 43

optional :provider, enum: -> { Telnyx::Models::VoiceDesignRenameResponse::Data::Provider }, nil?: true

#provider_supported_modelsArray<String>?

List of TTS model identifiers supported by this design’s provider.

Returns:

  • (Array<String>, nil)


49
# File 'lib/telnyx/models/voice_design_rename_response.rb', line 49

optional :provider_supported_models, Telnyx::Internal::Type::ArrayOf[String]

#record_typeSymbol, ...

Identifies the resource type.



55
# File 'lib/telnyx/models/voice_design_rename_response.rb', line 55

optional :record_type, enum: -> { Telnyx::Models::VoiceDesignRenameResponse::Data::RecordType }

#updated_atTime?

Timestamp when the voice design was last updated.

Returns:

  • (Time, nil)


61
# File 'lib/telnyx/models/voice_design_rename_response.rb', line 61

optional :updated_at, Time

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/telnyx/models/voice_design_rename_response.rb', line 89