Class: TencentCloud::Ivld::V20210903::MultiLevelPersonInfo

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

Overview

带类型树的已分类人物信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(l1classifyname = nil, l2classifiedpersoninfoset = nil, source = nil) ⇒ MultiLevelPersonInfo

Returns a new instance of MultiLevelPersonInfo.



2180
2181
2182
2183
2184
# File 'lib/v20210903/models.rb', line 2180

def initialize(l1classifyname=nil, l2classifiedpersoninfoset=nil, source=nil)
  @L1ClassifyName = l1classifyname
  @L2ClassifiedPersonInfoSet = l2classifiedpersoninfoset
  @Source = source
end

Instance Attribute Details

#L1ClassifyNameObject

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

Parameters:

  • L1ClassifyName:

    一级分类名称(分类信息参见自定义人物类型)

  • L2ClassifiedPersonInfoSet:

    已分类人物信息数组(所有分类类型为二级分类)

  • Source:

    检测结果来源



2178
2179
2180
# File 'lib/v20210903/models.rb', line 2178

def L1ClassifyName
  @L1ClassifyName
end

#L2ClassifiedPersonInfoSetObject

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

Parameters:

  • L1ClassifyName:

    一级分类名称(分类信息参见自定义人物类型)

  • L2ClassifiedPersonInfoSet:

    已分类人物信息数组(所有分类类型为二级分类)

  • Source:

    检测结果来源



2178
2179
2180
# File 'lib/v20210903/models.rb', line 2178

def L2ClassifiedPersonInfoSet
  @L2ClassifiedPersonInfoSet
end

#SourceObject

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

Parameters:

  • L1ClassifyName:

    一级分类名称(分类信息参见自定义人物类型)

  • L2ClassifiedPersonInfoSet:

    已分类人物信息数组(所有分类类型为二级分类)

  • Source:

    检测结果来源



2178
2179
2180
# File 'lib/v20210903/models.rb', line 2178

def Source
  @Source
end

Instance Method Details

#deserialize(params) ⇒ Object



2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
# File 'lib/v20210903/models.rb', line 2186

def deserialize(params)
  @L1ClassifyName = params['L1ClassifyName']
  unless params['L2ClassifiedPersonInfoSet'].nil?
    @L2ClassifiedPersonInfoSet = []
    params['L2ClassifiedPersonInfoSet'].each do |i|
      classifiedpersoninfo_tmp = ClassifiedPersonInfo.new
      classifiedpersoninfo_tmp.deserialize(i)
      @L2ClassifiedPersonInfoSet << classifiedpersoninfo_tmp
    end
  end
  @Source = params['Source']
end