Class: TencentCloud::Asr::V20190614::VoicePrintGroupVerifyRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Asr::V20190614::VoicePrintGroupVerifyRequest
- Defined in:
- lib/v20190614/models.rb
Overview
VoicePrintGroupVerify请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(voiceformat = nil, samplerate = nil, data = nil, groupid = nil, topn = nil) ⇒ VoicePrintGroupVerifyRequest
constructor
A new instance of VoicePrintGroupVerifyRequest.
Constructor Details
#initialize(voiceformat = nil, samplerate = nil, data = nil, groupid = nil, topn = nil) ⇒ VoicePrintGroupVerifyRequest
Returns a new instance of VoicePrintGroupVerifyRequest.
2434 2435 2436 2437 2438 2439 2440 |
# File 'lib/v20190614/models.rb', line 2434 def initialize(voiceformat=nil, samplerate=nil, data=nil, groupid=nil, topn=nil) @VoiceFormat = voiceformat @SampleRate = samplerate @Data = data @GroupId = groupid @TopN = topn end |
Instance Attribute Details
#Data ⇒ Object
2432 2433 2434 |
# File 'lib/v20190614/models.rb', line 2432 def Data @Data end |
#GroupId ⇒ Object
2432 2433 2434 |
# File 'lib/v20190614/models.rb', line 2432 def GroupId @GroupId end |
#SampleRate ⇒ Object
2432 2433 2434 |
# File 'lib/v20190614/models.rb', line 2432 def SampleRate @SampleRate end |
#TopN ⇒ Object
2432 2433 2434 |
# File 'lib/v20190614/models.rb', line 2432 def TopN @TopN end |
#VoiceFormat ⇒ Object
2432 2433 2434 |
# File 'lib/v20190614/models.rb', line 2432 def VoiceFormat @VoiceFormat end |
Instance Method Details
#deserialize(params) ⇒ Object
2442 2443 2444 2445 2446 2447 2448 |
# File 'lib/v20190614/models.rb', line 2442 def deserialize(params) @VoiceFormat = params['VoiceFormat'] @SampleRate = params['SampleRate'] @Data = params['Data'] @GroupId = params['GroupId'] @TopN = params['TopN'] end |