Class: TencentCloud::Mrs::V20200910::PathologyV2
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::PathologyV2
- Defined in:
- lib/v20200910/models.rb
Overview
病理报告v2
Instance Attribute Summary collapse
- #Benigntumor ⇒ Object
- #Clinical ⇒ Object
- #Desc ⇒ Object
- #Ihc ⇒ Object
- #LymphNodes ⇒ Object
- #LymphSize ⇒ Object
- #LymphTotal ⇒ Object
- #Malignant ⇒ Object
- #Molecular ⇒ Object
- #Page ⇒ Object
- #PathologicalReportType ⇒ Object
- #Precancer ⇒ Object
- #ReportText ⇒ Object
- #SampleType ⇒ Object
- #Summary ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(pathologicalreporttype = nil, desc = nil, summary = nil, reporttext = nil, lymphtotal = nil, lymphnodes = nil, ihc = nil, clinical = nil, precancer = nil, malignant = nil, benigntumor = nil, sampletype = nil, lymphsize = nil, molecular = nil, page = nil) ⇒ PathologyV2
constructor
A new instance of PathologyV2.
Constructor Details
#initialize(pathologicalreporttype = nil, desc = nil, summary = nil, reporttext = nil, lymphtotal = nil, lymphnodes = nil, ihc = nil, clinical = nil, precancer = nil, malignant = nil, benigntumor = nil, sampletype = nil, lymphsize = nil, molecular = nil, page = nil) ⇒ PathologyV2
Returns a new instance of PathologyV2.
8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 |
# File 'lib/v20200910/models.rb', line 8442 def initialize(pathologicalreporttype=nil, desc=nil, summary=nil, reporttext=nil, lymphtotal=nil, lymphnodes=nil, ihc=nil, clinical=nil, precancer=nil, malignant=nil, benigntumor=nil, sampletype=nil, lymphsize=nil, molecular=nil, page=nil) @PathologicalReportType = pathologicalreporttype @Desc = desc @Summary = summary @ReportText = reporttext @LymphTotal = lymphtotal @LymphNodes = lymphnodes @Ihc = ihc @Clinical = clinical @Precancer = precancer @Malignant = malignant @Benigntumor = benigntumor @SampleType = sampletype @LymphSize = lymphsize @Molecular = molecular @Page = page end |
Instance Attribute Details
#Benigntumor ⇒ Object
8440 8441 8442 |
# File 'lib/v20200910/models.rb', line 8440 def Benigntumor @Benigntumor end |
#Clinical ⇒ Object
8440 8441 8442 |
# File 'lib/v20200910/models.rb', line 8440 def Clinical @Clinical end |
#Desc ⇒ Object
8440 8441 8442 |
# File 'lib/v20200910/models.rb', line 8440 def Desc @Desc end |
#Ihc ⇒ Object
8440 8441 8442 |
# File 'lib/v20200910/models.rb', line 8440 def Ihc @Ihc end |
#LymphNodes ⇒ Object
8440 8441 8442 |
# File 'lib/v20200910/models.rb', line 8440 def LymphNodes @LymphNodes end |
#LymphSize ⇒ Object
8440 8441 8442 |
# File 'lib/v20200910/models.rb', line 8440 def LymphSize @LymphSize end |
#LymphTotal ⇒ Object
8440 8441 8442 |
# File 'lib/v20200910/models.rb', line 8440 def LymphTotal @LymphTotal end |
#Malignant ⇒ Object
8440 8441 8442 |
# File 'lib/v20200910/models.rb', line 8440 def Malignant @Malignant end |
#Molecular ⇒ Object
8440 8441 8442 |
# File 'lib/v20200910/models.rb', line 8440 def Molecular @Molecular end |
#Page ⇒ Object
8440 8441 8442 |
# File 'lib/v20200910/models.rb', line 8440 def Page @Page end |
#PathologicalReportType ⇒ Object
8440 8441 8442 |
# File 'lib/v20200910/models.rb', line 8440 def PathologicalReportType @PathologicalReportType end |
#Precancer ⇒ Object
8440 8441 8442 |
# File 'lib/v20200910/models.rb', line 8440 def Precancer @Precancer end |
#ReportText ⇒ Object
8440 8441 8442 |
# File 'lib/v20200910/models.rb', line 8440 def ReportText @ReportText end |
#SampleType ⇒ Object
8440 8441 8442 |
# File 'lib/v20200910/models.rb', line 8440 def SampleType @SampleType end |
#Summary ⇒ Object
8440 8441 8442 |
# File 'lib/v20200910/models.rb', line 8440 def Summary @Summary end |
Instance Method Details
#deserialize(params) ⇒ Object
8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 |
# File 'lib/v20200910/models.rb', line 8460 def deserialize(params) unless params['PathologicalReportType'].nil? @PathologicalReportType = Report.new @PathologicalReportType.deserialize(params['PathologicalReportType']) end unless params['Desc'].nil? @Desc = DescInfo.new @Desc.deserialize(params['Desc']) end unless params['Summary'].nil? @Summary = SummaryInfo.new @Summary.deserialize(params['Summary']) end @ReportText = params['ReportText'] unless params['LymphTotal'].nil? @LymphTotal = [] params['LymphTotal'].each do |i| lymphtotal_tmp = LymphTotal.new lymphtotal_tmp.deserialize(i) @LymphTotal << lymphtotal_tmp end end unless params['LymphNodes'].nil? @LymphNodes = [] params['LymphNodes'].each do |i| lymphnode_tmp = LymphNode.new lymphnode_tmp.deserialize(i) @LymphNodes << lymphnode_tmp end end unless params['Ihc'].nil? @Ihc = [] params['Ihc'].each do |i| ihcv2_tmp = IHCV2.new ihcv2_tmp.deserialize(i) @Ihc << ihcv2_tmp end end unless params['Clinical'].nil? @Clinical = BaseInfo.new @Clinical.deserialize(params['Clinical']) end unless params['Precancer'].nil? @Precancer = HistologyClass.new @Precancer.deserialize(params['Precancer']) end unless params['Malignant'].nil? @Malignant = HistologyClass.new @Malignant.deserialize(params['Malignant']) end unless params['Benigntumor'].nil? @Benigntumor = HistologyClass.new @Benigntumor.deserialize(params['Benigntumor']) end unless params['SampleType'].nil? @SampleType = BaseInfo.new @SampleType.deserialize(params['SampleType']) end unless params['LymphSize'].nil? @LymphSize = [] params['LymphSize'].each do |i| size_tmp = Size.new size_tmp.deserialize(i) @LymphSize << size_tmp end end unless params['Molecular'].nil? @Molecular = [] params['Molecular'].each do |i| molecular_tmp = Molecular.new molecular_tmp.deserialize(i) @Molecular << molecular_tmp end end @Page = params['Page'] end |