Class: TencentCloud::Mrs::V20200910::OtolaryngologyBaseItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::OtolaryngologyBaseItem
- Defined in:
- lib/v20200910/models.rb
Overview
体检报告-耳鼻喉科
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ear = nil, nose = nil, larynx = nil, others = nil, briefsummary = nil) ⇒ OtolaryngologyBaseItem
constructor
A new instance of OtolaryngologyBaseItem.
Constructor Details
#initialize(ear = nil, nose = nil, larynx = nil, others = nil, briefsummary = nil) ⇒ OtolaryngologyBaseItem
Returns a new instance of OtolaryngologyBaseItem.
7771 7772 7773 7774 7775 7776 7777 |
# File 'lib/v20200910/models.rb', line 7771 def initialize(ear=nil, nose=nil, larynx=nil, others=nil, briefsummary=nil) @Ear = ear @Nose = nose @Larynx = larynx @Others = others @BriefSummary = briefsummary end |
Instance Attribute Details
#BriefSummary ⇒ Object
7769 7770 7771 |
# File 'lib/v20200910/models.rb', line 7769 def BriefSummary @BriefSummary end |
#Ear ⇒ Object
7769 7770 7771 |
# File 'lib/v20200910/models.rb', line 7769 def Ear @Ear end |
#Larynx ⇒ Object
7769 7770 7771 |
# File 'lib/v20200910/models.rb', line 7769 def Larynx @Larynx end |
#Nose ⇒ Object
7769 7770 7771 |
# File 'lib/v20200910/models.rb', line 7769 def Nose @Nose end |
#Others ⇒ Object
7769 7770 7771 |
# File 'lib/v20200910/models.rb', line 7769 def Others @Others end |
Instance Method Details
#deserialize(params) ⇒ Object
7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 |
# File 'lib/v20200910/models.rb', line 7779 def deserialize(params) unless params['Ear'].nil? @Ear = OtolaryngologyEar.new @Ear.deserialize(params['Ear']) end unless params['Nose'].nil? @Nose = OtolaryngologyNose.new @Nose.deserialize(params['Nose']) end unless params['Larynx'].nil? @Larynx = OtolaryngologyLarynx.new @Larynx.deserialize(params['Larynx']) end unless params['Others'].nil? @Others = [] params['Others'].each do |i| keyvalueitem_tmp = KeyValueItem.new keyvalueitem_tmp.deserialize(i) @Others << keyvalueitem_tmp end end unless params['BriefSummary'].nil? @BriefSummary = OtolaryngologyBriefSummary.new @BriefSummary.deserialize(params['BriefSummary']) end end |