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
Returns a new instance of PathologicalDiagnosisBlock.
8217 8218 8219 8220 8221 8222 |
# File 'lib/v20200910/models.rb', line 8217 def initialize(name=nil, src=nil, detail=nil, value=nil) @Name = name @Src = src @Detail = detail @Value = value end |
Instance Attribute Details
#Detail ⇒ Object
8215 8216 8217 |
# File 'lib/v20200910/models.rb', line 8215 def Detail @Detail end |
#Name ⇒ Object
8215 8216 8217 |
# File 'lib/v20200910/models.rb', line 8215 def Name @Name end |
#Src ⇒ Object
8215 8216 8217 |
# File 'lib/v20200910/models.rb', line 8215 def Src @Src end |
#Value ⇒ Object
8215 8216 8217 |
# File 'lib/v20200910/models.rb', line 8215 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 |
# File 'lib/v20200910/models.rb', line 8224 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 |