Class: TencentCloud::Asr::V20190614::VoicePrintCompareRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Asr::V20190614::VoicePrintCompareRequest
- Defined in:
- lib/v20190614/models.rb
Overview
VoicePrintCompare请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(voiceformat = nil, samplerate = nil, srcaudiodata = nil, destaudiodata = nil) ⇒ VoicePrintCompareRequest
constructor
A new instance of VoicePrintCompareRequest.
Constructor Details
#initialize(voiceformat = nil, samplerate = nil, srcaudiodata = nil, destaudiodata = nil) ⇒ VoicePrintCompareRequest
Returns a new instance of VoicePrintCompareRequest.
2202 2203 2204 2205 2206 2207 |
# File 'lib/v20190614/models.rb', line 2202 def initialize(voiceformat=nil, samplerate=nil, srcaudiodata=nil, destaudiodata=nil) @VoiceFormat = voiceformat @SampleRate = samplerate @SrcAudioData = srcaudiodata @DestAudioData = destaudiodata end |
Instance Attribute Details
#DestAudioData ⇒ Object
2200 2201 2202 |
# File 'lib/v20190614/models.rb', line 2200 def DestAudioData @DestAudioData end |
#SampleRate ⇒ Object
2200 2201 2202 |
# File 'lib/v20190614/models.rb', line 2200 def SampleRate @SampleRate end |
#SrcAudioData ⇒ Object
2200 2201 2202 |
# File 'lib/v20190614/models.rb', line 2200 def SrcAudioData @SrcAudioData end |
#VoiceFormat ⇒ Object
2200 2201 2202 |
# File 'lib/v20190614/models.rb', line 2200 def VoiceFormat @VoiceFormat end |
Instance Method Details
#deserialize(params) ⇒ Object
2209 2210 2211 2212 2213 2214 |
# File 'lib/v20190614/models.rb', line 2209 def deserialize(params) @VoiceFormat = params['VoiceFormat'] @SampleRate = params['SampleRate'] @SrcAudioData = params['SrcAudioData'] @DestAudioData = params['DestAudioData'] end |