Class: TencentCloud::Mrs::V20200910::PathologicalDiagnosisBlock

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

Overview

病理诊断

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, src = nil, detail = nil, value = nil) ⇒ PathologicalDiagnosisBlock



8244
8245
8246
8247
8248
8249
# File 'lib/v20200910/models.rb', line 8244

def initialize(name=nil, src=nil, detail=nil, value=nil)
  @Name = name
  @Src = src
  @Detail = detail
  @Value = value
end

Instance Attribute Details

#DetailObject



8242
8243
8244
# File 'lib/v20200910/models.rb', line 8242

def Detail
  @Detail
end

#NameObject



8242
8243
8244
# File 'lib/v20200910/models.rb', line 8242

def Name
  @Name
end

#SrcObject



8242
8243
8244
# File 'lib/v20200910/models.rb', line 8242

def Src
  @Src
end

#ValueObject



8242
8243
8244
# File 'lib/v20200910/models.rb', line 8242

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
# File 'lib/v20200910/models.rb', line 8251

def deserialize(params)
  @Name = params['Name']
  @Src = params['Src']
  unless params['Detail'].nil?
    @Detail = []
    params['Detail'].each do |i|
      pathologicaldiagnosisdetailblock_tmp = PathologicalDiagnosisDetailBlock.new
      pathologicaldiagnosisdetailblock_tmp.deserialize(i)
      @Detail << pathologicaldiagnosisdetailblock_tmp
    end
  end
  @Value = params['Value']
end