Class: TencentCloud::Mrs::V20200910::InternalMedicineAbdomen

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200910/models.rb

Overview

体检报告-内科-腹部

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#GallBladderObject



5484
5485
5486
# File 'lib/v20200910/models.rb', line 5484

def GallBladder
  @GallBladder
end

#KidneyObject



5484
5485
5486
# File 'lib/v20200910/models.rb', line 5484

def Kidney
  @Kidney
end

#LiverObject



5484
5485
5486
# File 'lib/v20200910/models.rb', line 5484

def Liver
  @Liver
end

#OthersObject



5484
5485
5486
# File 'lib/v20200910/models.rb', line 5484

def Others
  @Others
end

#PancreasObject



5484
5485
5486
# File 'lib/v20200910/models.rb', line 5484

def Pancreas
  @Pancreas
end

#SpleenObject



5484
5485
5486
# File 'lib/v20200910/models.rb', line 5484

def Spleen
  @Spleen
end

#TextObject



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