Class: Revox::Models::VoiceCloneResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/revox/models/voice_clone_response.rb,
sig/revox/models/voice_clone_response.rbs

Overview

See Also:

  • Revox::Resources::Voices#clone_

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(id:, cartesia_voice_id:, created_at:, language:, name:) ⇒ Object

Parameters:

  • id (String)
  • cartesia_voice_id (String)
  • created_at (String)
  • language (String)
  • name (String)


# File 'lib/revox/models/voice_clone_response.rb', line 32

Instance Attribute Details

#cartesia_voice_idString

Parameters:

  • value (String)

Returns:

  • (String)


15
# File 'lib/revox/models/voice_clone_response.rb', line 15

required :cartesia_voice_id, String, api_name: :cartesiaVoiceId

#created_atString

Parameters:

  • value (String)

Returns:

  • (String)


20
# File 'lib/revox/models/voice_clone_response.rb', line 20

required :created_at, String, api_name: :createdAt

#idString

Parameters:

  • value (String)

Returns:

  • (String)


10
# File 'lib/revox/models/voice_clone_response.rb', line 10

required :id, String

#languageString

Parameters:

  • value (String)

Returns:

  • (String)


25
# File 'lib/revox/models/voice_clone_response.rb', line 25

required :language, String

#nameString

Parameters:

  • value (String)

Returns:

  • (String)


30
# File 'lib/revox/models/voice_clone_response.rb', line 30

required :name, String

Instance Method Details

#to_hash{

Returns:

  • ({)


31
# File 'sig/revox/models/voice_clone_response.rbs', line 31

def to_hash: -> {