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.
8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 |
# File 'lib/v20200910/models.rb', line 8296 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
8294 8295 8296 |
# File 'lib/v20200910/models.rb', line 8294 def CancerPart @CancerPart end |
#CancerSize ⇒ Object
8294 8295 8296 |
# File 'lib/v20200910/models.rb', line 8294 def CancerSize @CancerSize end |
#DescText ⇒ Object
8294 8295 8296 |
# File 'lib/v20200910/models.rb', line 8294 def DescText @DescText end |
#HistologyLevel ⇒ Object
8294 8295 8296 |
# File 'lib/v20200910/models.rb', line 8294 def HistologyLevel @HistologyLevel end |
#HistologyType ⇒ Object
8294 8295 8296 |
# File 'lib/v20200910/models.rb', line 8294 def HistologyType @HistologyType end |
#IHC ⇒ Object
8294 8295 8296 |
# File 'lib/v20200910/models.rb', line 8294 def IHC @IHC end |
#InfiltrationDepth ⇒ Object
8294 8295 8296 |
# File 'lib/v20200910/models.rb', line 8294 def InfiltrationDepth @InfiltrationDepth end |
#Invasive ⇒ Object
8294 8295 8296 |
# File 'lib/v20200910/models.rb', line 8294 def Invasive @Invasive end |
#LymphNodes ⇒ Object
8294 8295 8296 |
# File 'lib/v20200910/models.rb', line 8294 def LymphNodes @LymphNodes end |
#PathologicalReportType ⇒ Object
8294 8295 8296 |
# File 'lib/v20200910/models.rb', line 8294 def PathologicalReportType @PathologicalReportType end |
#PTNM ⇒ Object
8294 8295 8296 |
# File 'lib/v20200910/models.rb', line 8294 def PTNM @PTNM end |
#ReportText ⇒ Object
8294 8295 8296 |
# File 'lib/v20200910/models.rb', line 8294 def ReportText @ReportText end |
#SampleType ⇒ Object
8294 8295 8296 |
# File 'lib/v20200910/models.rb', line 8294 def SampleType @SampleType end |
#SummaryText ⇒ Object
8294 8295 8296 |
# File 'lib/v20200910/models.rb', line 8294 def SummaryText @SummaryText end |
Instance Method Details
#deserialize(params) ⇒ Object
8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 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 |
# File 'lib/v20200910/models.rb', line 8313 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 |