Class: TencentCloud::Mrs::V20200910::StomatologyBaseItem

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

Overview

体检报告-口腔科

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(toothdecay = nil, gingiva = nil, periodontics = nil, others = nil, briefsummary = nil) ⇒ StomatologyBaseItem

Returns a new instance of StomatologyBaseItem.



9405
9406
9407
9408
9409
9410
9411
# File 'lib/v20200910/models.rb', line 9405

def initialize(toothdecay=nil, gingiva=nil, periodontics=nil, others=nil, briefsummary=nil)
  @ToothDecay = toothdecay
  @Gingiva = gingiva
  @Periodontics = periodontics
  @Others = others
  @BriefSummary = briefsummary
end

Instance Attribute Details

#BriefSummaryObject

Parameters:

  • ToothDecay:

    龋齿

  • Gingiva:

    牙龈

  • Periodontics:

    牙周

  • Others:

    口腔其他

  • BriefSummary:

    小结



9403
9404
9405
# File 'lib/v20200910/models.rb', line 9403

def BriefSummary
  @BriefSummary
end

#GingivaObject

Parameters:

  • ToothDecay:

    龋齿

  • Gingiva:

    牙龈

  • Periodontics:

    牙周

  • Others:

    口腔其他

  • BriefSummary:

    小结



9403
9404
9405
# File 'lib/v20200910/models.rb', line 9403

def Gingiva
  @Gingiva
end

#OthersObject

Parameters:

  • ToothDecay:

    龋齿

  • Gingiva:

    牙龈

  • Periodontics:

    牙周

  • Others:

    口腔其他

  • BriefSummary:

    小结



9403
9404
9405
# File 'lib/v20200910/models.rb', line 9403

def Others
  @Others
end

#PeriodonticsObject

Parameters:

  • ToothDecay:

    龋齿

  • Gingiva:

    牙龈

  • Periodontics:

    牙周

  • Others:

    口腔其他

  • BriefSummary:

    小结



9403
9404
9405
# File 'lib/v20200910/models.rb', line 9403

def Periodontics
  @Periodontics
end

#ToothDecayObject

Parameters:

  • ToothDecay:

    龋齿

  • Gingiva:

    牙龈

  • Periodontics:

    牙周

  • Others:

    口腔其他

  • BriefSummary:

    小结



9403
9404
9405
# File 'lib/v20200910/models.rb', line 9403

def ToothDecay
  @ToothDecay
end

Instance Method Details

#deserialize(params) ⇒ Object



9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
# File 'lib/v20200910/models.rb', line 9413

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