Class: TencentCloud::Asr::V20190614::VoicePrintCountData

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

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(total = nil, voiceprintlist = nil) ⇒ VoicePrintCountData

Returns a new instance of VoicePrintCountData.



2251
2252
2253
2254
# File 'lib/v20190614/models.rb', line 2251

def initialize(total=nil, voiceprintlist=nil)
  @Total = total
  @VoicePrintList = voiceprintlist
end

Instance Attribute Details

#TotalObject

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

Parameters:

  • Total:

    总数

  • VoicePrintList:

    说话人id列表



2249
2250
2251
# File 'lib/v20190614/models.rb', line 2249

def Total
  @Total
end

#VoicePrintListObject

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

Parameters:

  • Total:

    总数

  • VoicePrintList:

    说话人id列表



2249
2250
2251
# File 'lib/v20190614/models.rb', line 2249

def VoicePrintList
  @VoicePrintList
end

Instance Method Details

#deserialize(params) ⇒ Object



2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
# File 'lib/v20190614/models.rb', line 2256

def deserialize(params)
  @Total = params['Total']
  unless params['VoicePrintList'].nil?
    @VoicePrintList = []
    params['VoicePrintList'].each do |i|
      voiceprintbasedata_tmp = VoicePrintBaseData.new
      voiceprintbasedata_tmp.deserialize(i)
      @VoicePrintList << voiceprintbasedata_tmp
    end
  end
end