Class: TencentCloud::Mrs::V20200910::PathologicalDiagnosisBlock
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::PathologicalDiagnosisBlock
- Defined in:
- lib/v20200910/models.rb
Overview
病理诊断
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, src = nil, detail = nil, value = nil) ⇒ PathologicalDiagnosisBlock
constructor
A new instance of PathologicalDiagnosisBlock.
Constructor Details
#initialize(name = nil, src = nil, detail = nil, value = nil) ⇒ PathologicalDiagnosisBlock
8244 8245 8246 8247 8248 8249 |
# File 'lib/v20200910/models.rb', line 8244 def initialize(name=nil, src=nil, detail=nil, value=nil) @Name = name @Src = src @Detail = detail @Value = value end |
Instance Attribute Details
#Detail ⇒ Object
8242 8243 8244 |
# File 'lib/v20200910/models.rb', line 8242 def Detail @Detail end |
#Name ⇒ Object
8242 8243 8244 |
# File 'lib/v20200910/models.rb', line 8242 def Name @Name end |
#Src ⇒ Object
8242 8243 8244 |
# File 'lib/v20200910/models.rb', line 8242 def Src @Src end |
#Value ⇒ Object
8242 8243 8244 |
# File 'lib/v20200910/models.rb', line 8242 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 |
# File 'lib/v20200910/models.rb', line 8251 def deserialize(params) @Name = params['Name'] @Src = params['Src'] unless params['Detail'].nil? @Detail = [] params['Detail'].each do |i| pathologicaldiagnosisdetailblock_tmp = PathologicalDiagnosisDetailBlock.new pathologicaldiagnosisdetailblock_tmp.deserialize(i) @Detail << pathologicaldiagnosisdetailblock_tmp end end @Value = params['Value'] end |