Class: TencentCloud::Asr::V20190614::VerifyTopResult

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190614/models.rb

Overview

说话人验证1:N返回结果

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(verifytops = nil) ⇒ VerifyTopResult

Returns a new instance of VerifyTopResult.



2077
2078
2079
# File 'lib/v20190614/models.rb', line 2077

def initialize(verifytops=nil)
  @VerifyTops = verifytops
end

Instance Attribute Details

#VerifyTopsObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • VerifyTops:

    对比打分结果,按照打分降序排列返回



2075
2076
2077
# File 'lib/v20190614/models.rb', line 2075

def VerifyTops
  @VerifyTops
end

Instance Method Details

#deserialize(params) ⇒ Object



2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
# File 'lib/v20190614/models.rb', line 2081

def deserialize(params)
  unless params['VerifyTops'].nil?
    @VerifyTops = []
    params['VerifyTops'].each do |i|
      verifytop_tmp = VerifyTop.new
      verifytop_tmp.deserialize(i)
      @VerifyTops << verifytop_tmp
    end
  end
end