Class: TencentCloud::Ivld::V20210903::MultiLevelPersonInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ivld::V20210903::MultiLevelPersonInfo
- Defined in:
- lib/v20210903/models.rb
Overview
带类型树的已分类人物信息
Instance Attribute Summary collapse
-
#L1ClassifyName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#L2ClassifiedPersonInfoSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Source ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(l1classifyname = nil, l2classifiedpersoninfoset = nil, source = nil) ⇒ MultiLevelPersonInfo
constructor
A new instance of MultiLevelPersonInfo.
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
#L1ClassifyName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2178 2179 2180 |
# File 'lib/v20210903/models.rb', line 2178 def L1ClassifyName @L1ClassifyName end |
#L2ClassifiedPersonInfoSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2178 2179 2180 |
# File 'lib/v20210903/models.rb', line 2178 def L2ClassifiedPersonInfoSet @L2ClassifiedPersonInfoSet end |
#Source ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
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 |