Class: TencentCloud::Asr::V20190614::VoicePrintUpdateRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Asr::V20190614::VoicePrintUpdateRequest
- Defined in:
- lib/v20190614/models.rb
Overview
VoicePrintUpdate请求参数结构体
Instance Attribute Summary collapse
- #Data ⇒ Object
- #SampleRate ⇒ Object
- #SpeakerNick ⇒ Object
- #VoiceFormat ⇒ Object
- #VoicePrintId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(voiceformat = nil, samplerate = nil, voiceprintid = nil, data = nil, speakernick = nil) ⇒ VoicePrintUpdateRequest
constructor
A new instance of VoicePrintUpdateRequest.
Constructor Details
#initialize(voiceformat = nil, samplerate = nil, voiceprintid = nil, data = nil, speakernick = nil) ⇒ VoicePrintUpdateRequest
Returns a new instance of VoicePrintUpdateRequest.
2489 2490 2491 2492 2493 2494 2495 |
# File 'lib/v20190614/models.rb', line 2489 def initialize(voiceformat=nil, samplerate=nil, voiceprintid=nil, data=nil, speakernick=nil) @VoiceFormat = voiceformat @SampleRate = samplerate @VoicePrintId = voiceprintid @Data = data @SpeakerNick = speakernick end |
Instance Attribute Details
#Data ⇒ Object
2487 2488 2489 |
# File 'lib/v20190614/models.rb', line 2487 def Data @Data end |
#SampleRate ⇒ Object
2487 2488 2489 |
# File 'lib/v20190614/models.rb', line 2487 def SampleRate @SampleRate end |
#SpeakerNick ⇒ Object
2487 2488 2489 |
# File 'lib/v20190614/models.rb', line 2487 def SpeakerNick @SpeakerNick end |
#VoiceFormat ⇒ Object
2487 2488 2489 |
# File 'lib/v20190614/models.rb', line 2487 def VoiceFormat @VoiceFormat end |
#VoicePrintId ⇒ Object
2487 2488 2489 |
# File 'lib/v20190614/models.rb', line 2487 def VoicePrintId @VoicePrintId end |
Instance Method Details
#deserialize(params) ⇒ Object
2497 2498 2499 2500 2501 2502 2503 |
# File 'lib/v20190614/models.rb', line 2497 def deserialize(params) @VoiceFormat = params['VoiceFormat'] @SampleRate = params['SampleRate'] @VoicePrintId = params['VoicePrintId'] @Data = params['Data'] @SpeakerNick = params['SpeakerNick'] end |