Class: TencentCloud::Mrs::V20200910::StomatologyBaseItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::StomatologyBaseItem
- Defined in:
- lib/v20200910/models.rb
Overview
体检报告-口腔科
Instance Attribute Summary collapse
- #BriefSummary ⇒ Object
- #Gingiva ⇒ Object
- #Others ⇒ Object
- #Periodontics ⇒ Object
- #ToothDecay ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(toothdecay = nil, gingiva = nil, periodontics = nil, others = nil, briefsummary = nil) ⇒ StomatologyBaseItem
constructor
A new instance of StomatologyBaseItem.
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
#BriefSummary ⇒ Object
9403 9404 9405 |
# File 'lib/v20200910/models.rb', line 9403 def BriefSummary @BriefSummary end |
#Gingiva ⇒ Object
9403 9404 9405 |
# File 'lib/v20200910/models.rb', line 9403 def Gingiva @Gingiva end |
#Others ⇒ Object
9403 9404 9405 |
# File 'lib/v20200910/models.rb', line 9403 def Others @Others end |
#Periodontics ⇒ Object
9403 9404 9405 |
# File 'lib/v20200910/models.rb', line 9403 def Periodontics @Periodontics end |
#ToothDecay ⇒ Object
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 |