Class: Zavudev::Models::AgentListVoicesResponse::Item
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Zavudev::Models::AgentListVoicesResponse::Item
- Defined in:
- lib/zavudev/models/agent_list_voices_response.rb,
sig/zavudev/models/agent_list_voices_response.rbs
Instance Attribute Summary collapse
-
#id ⇒ String
Value for
voice.ttsVoiceId. - #language ⇒ String
- #name ⇒ String
Instance Method Summary collapse
-
#initialize(id:, language:, name:) ⇒ Item
constructor
A new instance of Item.
- #to_hash ⇒ { id: String, language: String, name: String }
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:, language:, name:) ⇒ Item
Returns a new instance of Item.
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
# File 'lib/zavudev/models/agent_list_voices_response.rb', line 31 class Item < Zavudev::Internal::Type::BaseModel # @!attribute id # Value for `voice.ttsVoiceId`. # # @return [String] required :id, String # @!attribute language # # @return [String] required :language, String # @!attribute name # # @return [String] required :name, String # @!method initialize(id:, language:, name:) # @param id [String] Value for `voice.ttsVoiceId`. # # @param language [String] # # @param name [String] end |
Instance Attribute Details
#id ⇒ String
Value for voice.ttsVoiceId.
36 |
# File 'lib/zavudev/models/agent_list_voices_response.rb', line 36 required :id, String |
#language ⇒ String
41 |
# File 'lib/zavudev/models/agent_list_voices_response.rb', line 41 required :language, String |
#name ⇒ String
46 |
# File 'lib/zavudev/models/agent_list_voices_response.rb', line 46 required :name, String |
Instance Method Details
#to_hash ⇒ { id: String, language: String, name: String }
42 |
# File 'sig/zavudev/models/agent_list_voices_response.rbs', line 42
def to_hash: -> { id: String, language: String, name: String }
|