Class: Telnyx::Models::VoiceCloneCreateParams::Params::TelnyxDesignClone

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

Defined Under Namespace

Modules: Gender, Provider

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(gender:, language:, name:, voice_design_id:, provider: nil) ⇒ Object

Some parameter documentations has been truncated, see Telnyx::Models::VoiceCloneCreateParams::Params::TelnyxDesignClone for more details.

Create a voice clone from a voice design using the Telnyx provider.

Parameters:



# File 'lib/telnyx/models/voice_clone_create_params.rb', line 65

Instance Attribute Details

#genderSymbol, Telnyx::Models::VoiceCloneCreateParams::Params::TelnyxDesignClone::Gender

Gender of the voice clone.



38
# File 'lib/telnyx/models/voice_clone_create_params.rb', line 38

required :gender, enum: -> { Telnyx::VoiceCloneCreateParams::Params::TelnyxDesignClone::Gender }

#languageString

ISO 639-1 language code for the clone. Supports the combined Telnyx language set.

Returns:

  • (String)


45
# File 'lib/telnyx/models/voice_clone_create_params.rb', line 45

required :language, String

#nameString

Name for the voice clone.

Returns:

  • (String)


51
# File 'lib/telnyx/models/voice_clone_create_params.rb', line 51

required :name, String

#providerSymbol, ...

Voice synthesis provider. Defaults to ‘telnyx`.



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

optional :provider, enum: -> { Telnyx::VoiceCloneCreateParams::Params::TelnyxDesignClone::Provider }

#voice_design_idString

UUID of the source voice design to clone.

Returns:

  • (String)


57
# File 'lib/telnyx/models/voice_clone_create_params.rb', line 57

required :voice_design_id, String

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/telnyx/models/voice_clone_create_params.rb', line 92