Class: TencentCloud::Asr::V20190614::VoicePrintVerifyRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Asr::V20190614::VoicePrintVerifyRequest
- Defined in:
- lib/v20190614/models.rb
Overview
VoicePrintVerify请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(voiceformat = nil, samplerate = nil, data = nil, voiceprintid = nil) ⇒ VoicePrintVerifyRequest
constructor
A new instance of VoicePrintVerifyRequest.
Constructor Details
#initialize(voiceformat = nil, samplerate = nil, data = nil, voiceprintid = nil) ⇒ VoicePrintVerifyRequest
Returns a new instance of VoicePrintVerifyRequest.
2569 2570 2571 2572 2573 2574 |
# File 'lib/v20190614/models.rb', line 2569 def initialize(voiceformat=nil, samplerate=nil, data=nil, voiceprintid=nil) @VoiceFormat = voiceformat @SampleRate = samplerate @Data = data @VoicePrintId = voiceprintid end |
Instance Attribute Details
#Data ⇒ Object
2567 2568 2569 |
# File 'lib/v20190614/models.rb', line 2567 def Data @Data end |
#SampleRate ⇒ Object
2567 2568 2569 |
# File 'lib/v20190614/models.rb', line 2567 def SampleRate @SampleRate end |
#VoiceFormat ⇒ Object
2567 2568 2569 |
# File 'lib/v20190614/models.rb', line 2567 def VoiceFormat @VoiceFormat end |
#VoicePrintId ⇒ Object
2567 2568 2569 |
# File 'lib/v20190614/models.rb', line 2567 def VoicePrintId @VoicePrintId end |
Instance Method Details
#deserialize(params) ⇒ Object
2576 2577 2578 2579 2580 2581 |
# File 'lib/v20190614/models.rb', line 2576 def deserialize(params) @VoiceFormat = params['VoiceFormat'] @SampleRate = params['SampleRate'] @Data = params['Data'] @VoicePrintId = params['VoicePrintId'] end |