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.
8775 8776 8777 8778 8779 8780 |
# File 'lib/v20200910/models.rb', line 8775 def initialize(name=nil, src=nil, value=nil, coords=nil) @Name = name @Src = src @Value = value @Coords = coords end |
Instance Attribute Details
#Coords ⇒ Object
8773 8774 8775 |
# File 'lib/v20200910/models.rb', line 8773 def Coords @Coords end |
#Name ⇒ Object
8773 8774 8775 |
# File 'lib/v20200910/models.rb', line 8773 def Name @Name end |
#Src ⇒ Object
8773 8774 8775 |
# File 'lib/v20200910/models.rb', line 8773 def Src @Src end |
#Value ⇒ Object
8773 8774 8775 |
# File 'lib/v20200910/models.rb', line 8773 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 |
# File 'lib/v20200910/models.rb', line 8782 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 |