Class: TencentCloud::Mrs::V20200910::PathologyReport
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::PathologyReport
- Defined in:
- lib/v20200910/models.rb
Overview
病理报告
Instance Attribute Summary collapse
- #CancerPart ⇒ Object
- #CancerSize ⇒ Object
- #DescText ⇒ Object
- #HistologyLevel ⇒ Object
- #HistologyType ⇒ Object
- #IHC ⇒ Object
- #InfiltrationDepth ⇒ Object
- #Invasive ⇒ Object
- #LymphNodes ⇒ Object
- #PathologicalReportType ⇒ Object
- #PTNM ⇒ Object
- #ReportText ⇒ Object
- #SampleType ⇒ Object
- #SummaryText ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(cancerpart = nil, cancersize = nil, desctext = nil, histologylevel = nil, histologytype = nil, ihc = nil, infiltrationdepth = nil, invasive = nil, lymphnodes = nil, ptnm = nil, pathologicalreporttype = nil, reporttext = nil, sampletype = nil, summarytext = nil) ⇒ PathologyReport
constructor
A new instance of PathologyReport.
Constructor Details
#initialize(cancerpart = nil, cancersize = nil, desctext = nil, histologylevel = nil, histologytype = nil, ihc = nil, infiltrationdepth = nil, invasive = nil, lymphnodes = nil, ptnm = nil, pathologicalreporttype = nil, reporttext = nil, sampletype = nil, summarytext = nil) ⇒ PathologyReport
Returns a new instance of PathologyReport.
8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 |
# File 'lib/v20200910/models.rb', line 8323 def initialize(cancerpart=nil, cancersize=nil, desctext=nil, histologylevel=nil, histologytype=nil, ihc=nil, infiltrationdepth=nil, invasive=nil, lymphnodes=nil, ptnm=nil, pathologicalreporttype=nil, reporttext=nil, sampletype=nil, summarytext=nil) @CancerPart = cancerpart @CancerSize = cancersize @DescText = desctext @HistologyLevel = histologylevel @HistologyType = histologytype @IHC = ihc @InfiltrationDepth = infiltrationdepth @Invasive = invasive @LymphNodes = lymphnodes @PTNM = ptnm @PathologicalReportType = pathologicalreporttype @ReportText = reporttext @SampleType = sampletype @SummaryText = summarytext end |
Instance Attribute Details
#CancerPart ⇒ Object
8321 8322 8323 |
# File 'lib/v20200910/models.rb', line 8321 def CancerPart @CancerPart end |
#CancerSize ⇒ Object
8321 8322 8323 |
# File 'lib/v20200910/models.rb', line 8321 def CancerSize @CancerSize end |
#DescText ⇒ Object
8321 8322 8323 |
# File 'lib/v20200910/models.rb', line 8321 def DescText @DescText end |
#HistologyLevel ⇒ Object
8321 8322 8323 |
# File 'lib/v20200910/models.rb', line 8321 def HistologyLevel @HistologyLevel end |
#HistologyType ⇒ Object
8321 8322 8323 |
# File 'lib/v20200910/models.rb', line 8321 def HistologyType @HistologyType end |
#IHC ⇒ Object
8321 8322 8323 |
# File 'lib/v20200910/models.rb', line 8321 def IHC @IHC end |
#InfiltrationDepth ⇒ Object
8321 8322 8323 |
# File 'lib/v20200910/models.rb', line 8321 def InfiltrationDepth @InfiltrationDepth end |
#Invasive ⇒ Object
8321 8322 8323 |
# File 'lib/v20200910/models.rb', line 8321 def Invasive @Invasive end |
#LymphNodes ⇒ Object
8321 8322 8323 |
# File 'lib/v20200910/models.rb', line 8321 def LymphNodes @LymphNodes end |
#PathologicalReportType ⇒ Object
8321 8322 8323 |
# File 'lib/v20200910/models.rb', line 8321 def PathologicalReportType @PathologicalReportType end |
#PTNM ⇒ Object
8321 8322 8323 |
# File 'lib/v20200910/models.rb', line 8321 def PTNM @PTNM end |
#ReportText ⇒ Object
8321 8322 8323 |
# File 'lib/v20200910/models.rb', line 8321 def ReportText @ReportText end |
#SampleType ⇒ Object
8321 8322 8323 |
# File 'lib/v20200910/models.rb', line 8321 def SampleType @SampleType end |
#SummaryText ⇒ Object
8321 8322 8323 |
# File 'lib/v20200910/models.rb', line 8321 def SummaryText @SummaryText end |
Instance Method Details
#deserialize(params) ⇒ Object
8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 |
# File 'lib/v20200910/models.rb', line 8340 def deserialize(params) unless params['CancerPart'].nil? @CancerPart = Part.new @CancerPart.deserialize(params['CancerPart']) end unless params['CancerSize'].nil? @CancerSize = [] params['CancerSize'].each do |i| size_tmp = Size.new size_tmp.deserialize(i) @CancerSize << size_tmp end end @DescText = params['DescText'] unless params['HistologyLevel'].nil? @HistologyLevel = HistologyLevel.new @HistologyLevel.deserialize(params['HistologyLevel']) end unless params['HistologyType'].nil? @HistologyType = HistologyType.new @HistologyType.deserialize(params['HistologyType']) end unless params['IHC'].nil? @IHC = [] params['IHC'].each do |i| ihcinfo_tmp = IHCInfo.new ihcinfo_tmp.deserialize(i) @IHC << ihcinfo_tmp end end unless params['InfiltrationDepth'].nil? @InfiltrationDepth = BlockInfo.new @InfiltrationDepth.deserialize(params['InfiltrationDepth']) end unless params['Invasive'].nil? @Invasive = [] params['Invasive'].each do |i| invas_tmp = Invas.new invas_tmp.deserialize(i) @Invasive << invas_tmp end end unless params['LymphNodes'].nil? @LymphNodes = [] params['LymphNodes'].each do |i| lymph_tmp = Lymph.new lymph_tmp.deserialize(i) @LymphNodes << lymph_tmp end end unless params['PTNM'].nil? @PTNM = BlockInfo.new @PTNM.deserialize(params['PTNM']) end unless params['PathologicalReportType'].nil? @PathologicalReportType = BlockInfo.new @PathologicalReportType.deserialize(params['PathologicalReportType']) end @ReportText = params['ReportText'] unless params['SampleType'].nil? @SampleType = BlockInfo.new @SampleType.deserialize(params['SampleType']) end @SummaryText = params['SummaryText'] end |