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.
9805 9806 9807 9808 9809 9810 |
# File 'lib/v20200910/models.rb', line 9805 def initialize(name=nil, src=nil, surgerylist=nil, value=nil) @Name = name @Src = src @SurgeryList = surgerylist @Value = value end |
Instance Attribute Details
#Name ⇒ Object
9803 9804 9805 |
# File 'lib/v20200910/models.rb', line 9803 def Name @Name end |
#Src ⇒ Object
9803 9804 9805 |
# File 'lib/v20200910/models.rb', line 9803 def Src @Src end |
#SurgeryList ⇒ Object
9803 9804 9805 |
# File 'lib/v20200910/models.rb', line 9803 def SurgeryList @SurgeryList end |
#Value ⇒ Object
9803 9804 9805 |
# File 'lib/v20200910/models.rb', line 9803 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 |
# File 'lib/v20200910/models.rb', line 9812 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 |