Class: TencentCloud::Ivld::V20210903::ClassifiedPersonInfo

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

Overview

已分类的人物信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(classifyname = nil, personinfoset = nil) ⇒ ClassifiedPersonInfo

Returns a new instance of ClassifiedPersonInfo.



303
304
305
306
# File 'lib/v20210903/models.rb', line 303

def initialize(classifyname=nil, personinfoset=nil)
  @ClassifyName = classifyname
  @PersonInfoSet = personinfoset
end

Instance Attribute Details

#ClassifyNameObject

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

Parameters:

  • ClassifyName:

    人物分类名称

  • PersonInfoSet:

    符合特定分类的人物信息数组



301
302
303
# File 'lib/v20210903/models.rb', line 301

def ClassifyName
  @ClassifyName
end

#PersonInfoSetObject

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

Parameters:

  • ClassifyName:

    人物分类名称

  • PersonInfoSet:

    符合特定分类的人物信息数组



301
302
303
# File 'lib/v20210903/models.rb', line 301

def PersonInfoSet
  @PersonInfoSet
end

Instance Method Details

#deserialize(params) ⇒ Object



308
309
310
311
312
313
314
315
316
317
318
# File 'lib/v20210903/models.rb', line 308

def deserialize(params)
  @ClassifyName = params['ClassifyName']
  unless params['PersonInfoSet'].nil?
    @PersonInfoSet = []
    params['PersonInfoSet'].each do |i|
      personinfo_tmp = PersonInfo.new
      personinfo_tmp.deserialize(i)
      @PersonInfoSet << personinfo_tmp
    end
  end
end