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.
2450 2451 2452 2453 2454 2455 2456 |
# File 'lib/v20190614/models.rb', line 2450 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
2448 2449 2450 |
# File 'lib/v20190614/models.rb', line 2448 def Data @Data end |
#GroupId ⇒ Object
2448 2449 2450 |
# File 'lib/v20190614/models.rb', line 2448 def GroupId @GroupId end |
#SampleRate ⇒ Object
2448 2449 2450 |
# File 'lib/v20190614/models.rb', line 2448 def SampleRate @SampleRate end |
#TopN ⇒ Object
2448 2449 2450 |
# File 'lib/v20190614/models.rb', line 2448 def TopN @TopN end |
#VoiceFormat ⇒ Object
2448 2449 2450 |
# File 'lib/v20190614/models.rb', line 2448 def VoiceFormat @VoiceFormat end |
Instance Method Details
#deserialize(params) ⇒ Object
2458 2459 2460 2461 2462 2463 2464 |
# File 'lib/v20190614/models.rb', line 2458 def deserialize(params) @VoiceFormat = params['VoiceFormat'] @SampleRate = params['SampleRate'] @Data = params['Data'] @GroupId = params['GroupId'] @TopN = params['TopN'] end |