Class: TencentCloud::Mrs::V20200910::SurgeryConditionBlock
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::SurgeryConditionBlock
- Defined in:
- lib/v20200910/models.rb
Overview
手术经过
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, src = nil, surgerylist = nil, value = nil) ⇒ SurgeryConditionBlock
constructor
A new instance of SurgeryConditionBlock.
Constructor Details
#initialize(name = nil, src = nil, surgerylist = nil, value = nil) ⇒ SurgeryConditionBlock
Returns a new instance of SurgeryConditionBlock.
9832 9833 9834 9835 9836 9837 |
# File 'lib/v20200910/models.rb', line 9832 def initialize(name=nil, src=nil, surgerylist=nil, value=nil) @Name = name @Src = src @SurgeryList = surgerylist @Value = value end |
Instance Attribute Details
#Name ⇒ Object
9830 9831 9832 |
# File 'lib/v20200910/models.rb', line 9830 def Name @Name end |
#Src ⇒ Object
9830 9831 9832 |
# File 'lib/v20200910/models.rb', line 9830 def Src @Src end |
#SurgeryList ⇒ Object
9830 9831 9832 |
# File 'lib/v20200910/models.rb', line 9830 def SurgeryList @SurgeryList end |
#Value ⇒ Object
9830 9831 9832 |
# File 'lib/v20200910/models.rb', line 9830 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 |
# File 'lib/v20200910/models.rb', line 9839 def deserialize(params) @Name = params['Name'] @Src = params['Src'] unless params['SurgeryList'].nil? @SurgeryList = [] params['SurgeryList'].each do |i| surgerylistblock_tmp = SurgeryListBlock.new surgerylistblock_tmp.deserialize(i) @SurgeryList << surgerylistblock_tmp end end @Value = params['Value'] end |