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.
7798 7799 7800 7801 7802 7803 7804 |
# File 'lib/v20200910/models.rb', line 7798 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
7796 7797 7798 |
# File 'lib/v20200910/models.rb', line 7796 def BriefSummary @BriefSummary end |
#Ear ⇒ Object
7796 7797 7798 |
# File 'lib/v20200910/models.rb', line 7796 def Ear @Ear end |
#Larynx ⇒ Object
7796 7797 7798 |
# File 'lib/v20200910/models.rb', line 7796 def Larynx @Larynx end |
#Nose ⇒ Object
7796 7797 7798 |
# File 'lib/v20200910/models.rb', line 7796 def Nose @Nose end |
#Others ⇒ Object
7796 7797 7798 |
# File 'lib/v20200910/models.rb', line 7796 def Others @Others end |
Instance Method Details
#deserialize(params) ⇒ Object
7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 |
# File 'lib/v20200910/models.rb', line 7806 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 |