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
Returns a new instance of InternalMedicineAbdomen.
5459 5460 5461 5462 5463 5464 5465 5466 5467 |
# File 'lib/v20200910/models.rb', line 5459 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
5457 5458 5459 |
# File 'lib/v20200910/models.rb', line 5457 def GallBladder @GallBladder end |
#Kidney ⇒ Object
5457 5458 5459 |
# File 'lib/v20200910/models.rb', line 5457 def Kidney @Kidney end |
#Liver ⇒ Object
5457 5458 5459 |
# File 'lib/v20200910/models.rb', line 5457 def Liver @Liver end |
#Others ⇒ Object
5457 5458 5459 |
# File 'lib/v20200910/models.rb', line 5457 def Others @Others end |
#Pancreas ⇒ Object
5457 5458 5459 |
# File 'lib/v20200910/models.rb', line 5457 def Pancreas @Pancreas end |
#Spleen ⇒ Object
5457 5458 5459 |
# File 'lib/v20200910/models.rb', line 5457 def Spleen @Spleen end |
#Text ⇒ Object
5457 5458 5459 |
# File 'lib/v20200910/models.rb', line 5457 def Text @Text end |
Instance Method Details
#deserialize(params) ⇒ Object
5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 |
# File 'lib/v20200910/models.rb', line 5469 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 |