Class: TencentCloud::Weilingwith::V20230427::ElementPropertyRes

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

Overview

构件属性信息响应体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#BuildingIdObject



5490
5491
5492
# File 'lib/v20230427/models.rb', line 5490

def BuildingId
  @BuildingId
end

#CoordinatesObject



5490
5491
5492
# File 'lib/v20230427/models.rb', line 5490

def Coordinates
  @Coordinates
end

#ElementIdObject



5490
5491
5492
# File 'lib/v20230427/models.rb', line 5490

def ElementId
  @ElementId
end

#ElementNameObject



5490
5491
5492
# File 'lib/v20230427/models.rb', line 5490

def ElementName
  @ElementName
end

#EntityTypeCodeObject



5490
5491
5492
# File 'lib/v20230427/models.rb', line 5490

def EntityTypeCode
  @EntityTypeCode
end

#EntityTypeNameObject



5490
5491
5492
# File 'lib/v20230427/models.rb', line 5490

def EntityTypeName
  @EntityTypeName
end

#PropertySetObject



5490
5491
5492
# File 'lib/v20230427/models.rb', line 5490

def PropertySet
  @PropertySet
end

#TranslateObject



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