Class: TencentCloud::Weilingwith::V20230427::ElementProfileTreeRes
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Weilingwith::V20230427::ElementProfileTreeRes
- Defined in:
- lib/v20230427/models.rb
Overview
构件树响应体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(buildingid = nil, parentelementid = nil, root = nil) ⇒ ElementProfileTreeRes
constructor
A new instance of ElementProfileTreeRes.
Constructor Details
#initialize(buildingid = nil, parentelementid = nil, root = nil) ⇒ ElementProfileTreeRes
Returns a new instance of ElementProfileTreeRes.
5431 5432 5433 5434 5435 |
# File 'lib/v20230427/models.rb', line 5431 def initialize(buildingid=nil, parentelementid=nil, root=nil) @BuildingId = buildingid @ParentElementId = parentelementid @Root = root end |
Instance Attribute Details
#BuildingId ⇒ Object
5429 5430 5431 |
# File 'lib/v20230427/models.rb', line 5429 def BuildingId @BuildingId end |
#ParentElementId ⇒ Object
5429 5430 5431 |
# File 'lib/v20230427/models.rb', line 5429 def ParentElementId @ParentElementId end |
#Root ⇒ Object
5429 5430 5431 |
# File 'lib/v20230427/models.rb', line 5429 def Root @Root end |
Instance Method Details
#deserialize(params) ⇒ Object
5437 5438 5439 5440 5441 5442 5443 5444 |
# File 'lib/v20230427/models.rb', line 5437 def deserialize(params) @BuildingId = params['BuildingId'] @ParentElementId = params['ParentElementId'] unless params['Root'].nil? @Root = ElementProfileTreeNode.new @Root.deserialize(params['Root']) end end |