Class: TencentCloud::Mrs::V20200910::Exame
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::Exame
- Defined in:
- lib/v20200910/models.rb
Overview
体检结论
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(overview = nil, abnormality = nil) ⇒ Exame
constructor
A new instance of Exame.
Constructor Details
#initialize(overview = nil, abnormality = nil) ⇒ Exame
Returns a new instance of Exame.
3310 3311 3312 3313 |
# File 'lib/v20200910/models.rb', line 3310 def initialize(overview=nil, abnormality=nil) @OverView = overview @Abnormality = abnormality end |
Instance Attribute Details
#Abnormality ⇒ Object
3308 3309 3310 |
# File 'lib/v20200910/models.rb', line 3308 def Abnormality @Abnormality end |
#OverView ⇒ Object
3308 3309 3310 |
# File 'lib/v20200910/models.rb', line 3308 def OverView @OverView end |
Instance Method Details
#deserialize(params) ⇒ Object
3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 |
# File 'lib/v20200910/models.rb', line 3315 def deserialize(params) unless params['OverView'].nil? @OverView = [] params['OverView'].each do |i| resultinfo_tmp = ResultInfo.new resultinfo_tmp.deserialize(i) @OverView << resultinfo_tmp end end unless params['Abnormality'].nil? @Abnormality = [] params['Abnormality'].each do |i| resultinfo_tmp = ResultInfo.new resultinfo_tmp.deserialize(i) @Abnormality << resultinfo_tmp end end end |