Class: TencentCloud::Mrs::V20200910::InternalMedicineAbdomen
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::InternalMedicineAbdomen
- Defined in:
- lib/v20200910/models.rb
Overview
体检报告-内科-腹部
Instance Attribute Summary collapse
- #GallBladder ⇒ Object
- #Kidney ⇒ Object
- #Liver ⇒ Object
- #Others ⇒ Object
- #Pancreas ⇒ Object
- #Spleen ⇒ Object
- #Text ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(text = nil, liver = nil, gallbladder = nil, pancreas = nil, spleen = nil, kidney = nil, others = nil) ⇒ InternalMedicineAbdomen
constructor
A new instance of InternalMedicineAbdomen.
Constructor Details
#initialize(text = nil, liver = nil, gallbladder = nil, pancreas = nil, spleen = nil, kidney = nil, others = nil) ⇒ InternalMedicineAbdomen
5486 5487 5488 5489 5490 5491 5492 5493 5494 |
# File 'lib/v20200910/models.rb', line 5486 def initialize(text=nil, liver=nil, gallbladder=nil, pancreas=nil, spleen=nil, kidney=nil, others=nil) @Text = text @Liver = liver @GallBladder = gallbladder @Pancreas = pancreas @Spleen = spleen @Kidney = kidney @Others = others end |
Instance Attribute Details
#GallBladder ⇒ Object
5484 5485 5486 |
# File 'lib/v20200910/models.rb', line 5484 def GallBladder @GallBladder end |
#Kidney ⇒ Object
5484 5485 5486 |
# File 'lib/v20200910/models.rb', line 5484 def Kidney @Kidney end |
#Liver ⇒ Object
5484 5485 5486 |
# File 'lib/v20200910/models.rb', line 5484 def Liver @Liver end |
#Others ⇒ Object
5484 5485 5486 |
# File 'lib/v20200910/models.rb', line 5484 def Others @Others end |
#Pancreas ⇒ Object
5484 5485 5486 |
# File 'lib/v20200910/models.rb', line 5484 def Pancreas @Pancreas end |
#Spleen ⇒ Object
5484 5485 5486 |
# File 'lib/v20200910/models.rb', line 5484 def Spleen @Spleen end |
#Text ⇒ Object
5484 5485 5486 |
# File 'lib/v20200910/models.rb', line 5484 def Text @Text end |
Instance Method Details
#deserialize(params) ⇒ Object
5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 |
# File 'lib/v20200910/models.rb', line 5496 def deserialize(params) unless params['Text'].nil? @Text = KeyValueItem.new @Text.deserialize(params['Text']) end unless params['Liver'].nil? @Liver = InternalMedicineAbdomenLiver.new @Liver.deserialize(params['Liver']) end unless params['GallBladder'].nil? @GallBladder = InternalMedicineAbdomenGallBladder.new @GallBladder.deserialize(params['GallBladder']) end unless params['Pancreas'].nil? @Pancreas = InternalMedicineAbdomenPancreas.new @Pancreas.deserialize(params['Pancreas']) end unless params['Spleen'].nil? @Spleen = InternalMedicineAbdomenSpleen.new @Spleen.deserialize(params['Spleen']) end unless params['Kidney'].nil? @Kidney = InternalMedicineAbdomenKidney.new @Kidney.deserialize(params['Kidney']) end unless params['Others'].nil? @Others = [] params['Others'].each do |i| keyvalueitem_tmp = KeyValueItem.new keyvalueitem_tmp.deserialize(i) @Others << keyvalueitem_tmp end end end |