Class: TencentCloud::Weilingwith::V20230427::ElementPropertyRes
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Weilingwith::V20230427::ElementPropertyRes
- Defined in:
- lib/v20230427/models.rb
Overview
构件属性信息响应体
Instance Attribute Summary collapse
- #BuildingId ⇒ Object
- #Coordinates ⇒ Object
- #ElementId ⇒ Object
- #ElementName ⇒ Object
- #EntityTypeCode ⇒ Object
- #EntityTypeName ⇒ Object
- #PropertySet ⇒ Object
- #Translate ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(buildingid = nil, elementid = nil, propertyset = nil, coordinates = nil, translate = nil, elementname = nil, entitytypecode = nil, entitytypename = nil) ⇒ ElementPropertyRes
constructor
A new instance of ElementPropertyRes.
Constructor Details
#initialize(buildingid = nil, elementid = nil, propertyset = nil, coordinates = nil, translate = nil, elementname = nil, entitytypecode = nil, entitytypename = nil) ⇒ ElementPropertyRes
5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 |
# File 'lib/v20230427/models.rb', line 5492 def initialize(buildingid=nil, elementid=nil, propertyset=nil, coordinates=nil, translate=nil, elementname=nil, entitytypecode=nil, entitytypename=nil) @BuildingId = buildingid @ElementId = elementid @PropertySet = propertyset @Coordinates = coordinates @Translate = translate @ElementName = elementname @EntityTypeCode = entitytypecode @EntityTypeName = entitytypename end |
Instance Attribute Details
#BuildingId ⇒ Object
5490 5491 5492 |
# File 'lib/v20230427/models.rb', line 5490 def BuildingId @BuildingId end |
#Coordinates ⇒ Object
5490 5491 5492 |
# File 'lib/v20230427/models.rb', line 5490 def Coordinates @Coordinates end |
#ElementId ⇒ Object
5490 5491 5492 |
# File 'lib/v20230427/models.rb', line 5490 def ElementId @ElementId end |
#ElementName ⇒ Object
5490 5491 5492 |
# File 'lib/v20230427/models.rb', line 5490 def ElementName @ElementName end |
#EntityTypeCode ⇒ Object
5490 5491 5492 |
# File 'lib/v20230427/models.rb', line 5490 def EntityTypeCode @EntityTypeCode end |
#EntityTypeName ⇒ Object
5490 5491 5492 |
# File 'lib/v20230427/models.rb', line 5490 def EntityTypeName @EntityTypeName end |
#PropertySet ⇒ Object
5490 5491 5492 |
# File 'lib/v20230427/models.rb', line 5490 def PropertySet @PropertySet end |
#Translate ⇒ Object
5490 5491 5492 |
# File 'lib/v20230427/models.rb', line 5490 def Translate @Translate end |
Instance Method Details
#deserialize(params) ⇒ Object
5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 |
# File 'lib/v20230427/models.rb', line 5503 def deserialize(params) @BuildingId = params['BuildingId'] @ElementId = params['ElementId'] unless params['PropertySet'].nil? @PropertySet = [] params['PropertySet'].each do |i| elementproperty_tmp = ElementProperty.new elementproperty_tmp.deserialize(i) @PropertySet << elementproperty_tmp end end unless params['Coordinates'].nil? @Coordinates = ElementCoordinates.new @Coordinates.deserialize(params['Coordinates']) end unless params['Translate'].nil? @Translate = ElementTranslate.new @Translate.deserialize(params['Translate']) end @ElementName = params['ElementName'] @EntityTypeCode = params['EntityTypeCode'] @EntityTypeName = params['EntityTypeName'] end |