class TencentCloud::Mrs::V20200910::StomatologyBaseItem
体检报告-口腔科
def deserialize(params)
def deserialize(params) unless params['ToothDecay'].nil? @ToothDecay = StomatologyToothDecay.new @ToothDecay.deserialize(params['ToothDecay']) end unless params['Gingiva'].nil? @Gingiva = StomatologyGingiva.new @Gingiva.deserialize(params['Gingiva']) end unless params['Periodontics'].nil? @Periodontics = StomatologyPeriodontics.new @Periodontics.deserialize(params['Periodontics']) 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 = StomatologyBriefSummary.new @BriefSummary.deserialize(params['BriefSummary']) end end
def initialize(toothdecay=nil, gingiva=nil, periodontics=nil, others=nil, briefsummary=nil)
def initialize(toothdecay=nil, gingiva=nil, periodontics=nil, others=nil, briefsummary=nil) @ToothDecay = toothdecay @Gingiva = gingiva @Periodontics = periodontics @Others = others @BriefSummary = briefsummary end