Class: TencentCloud::Mrs::V20200910::PhysicalBaseItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::PhysicalBaseItem
- Defined in:
- lib/v20200910/models.rb
Overview
体检报告基础信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, src = nil, value = nil, coords = nil) ⇒ PhysicalBaseItem
constructor
A new instance of PhysicalBaseItem.
Constructor Details
#initialize(name = nil, src = nil, value = nil, coords = nil) ⇒ PhysicalBaseItem
Returns a new instance of PhysicalBaseItem.
8748 8749 8750 8751 8752 8753 |
# File 'lib/v20200910/models.rb', line 8748 def initialize(name=nil, src=nil, value=nil, coords=nil) @Name = name @Src = src @Value = value @Coords = coords end |
Instance Attribute Details
#Coords ⇒ Object
8746 8747 8748 |
# File 'lib/v20200910/models.rb', line 8746 def Coords @Coords end |
#Name ⇒ Object
8746 8747 8748 |
# File 'lib/v20200910/models.rb', line 8746 def Name @Name end |
#Src ⇒ Object
8746 8747 8748 |
# File 'lib/v20200910/models.rb', line 8746 def Src @Src end |
#Value ⇒ Object
8746 8747 8748 |
# File 'lib/v20200910/models.rb', line 8746 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 |
# File 'lib/v20200910/models.rb', line 8755 def deserialize(params) @Name = params['Name'] @Src = params['Src'] @Value = params['Value'] unless params['Coords'].nil? @Coords = [] params['Coords'].each do |i| coord_tmp = Coord.new coord_tmp.deserialize(i) @Coords << coord_tmp end end end |