Class: TencentCloud::Weilingwith::V20230427::ElementProfileTreeNode
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Weilingwith::V20230427::ElementProfileTreeNode
- Defined in:
- lib/v20230427/models.rb
Overview
构件树节点信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(elementprofile = nil, children = nil) ⇒ ElementProfileTreeNode
constructor
A new instance of ElementProfileTreeNode.
Constructor Details
#initialize(elementprofile = nil, children = nil) ⇒ ElementProfileTreeNode
Returns a new instance of ElementProfileTreeNode.
5399 5400 5401 5402 |
# File 'lib/v20230427/models.rb', line 5399 def initialize(elementprofile=nil, children=nil) @ElementProfile = elementprofile @Children = children end |
Instance Attribute Details
#Children ⇒ Object
5397 5398 5399 |
# File 'lib/v20230427/models.rb', line 5397 def Children @Children end |
#ElementProfile ⇒ Object
5397 5398 5399 |
# File 'lib/v20230427/models.rb', line 5397 def ElementProfile @ElementProfile end |
Instance Method Details
#deserialize(params) ⇒ Object
5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 |
# File 'lib/v20230427/models.rb', line 5404 def deserialize(params) unless params['ElementProfile'].nil? @ElementProfile = ElementProfile.new @ElementProfile.deserialize(params['ElementProfile']) end unless params['Children'].nil? @Children = [] params['Children'].each do |i| elementprofiletreenode_tmp = ElementProfileTreeNode.new elementprofiletreenode_tmp.deserialize(i) @Children << elementprofiletreenode_tmp end end end |