Class: TencentCloud::Mrs::V20200910::ImmunohistochemistryBlock

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, value = nil) ⇒ ImmunohistochemistryBlock

Returns a new instance of ImmunohistochemistryBlock.



5192
5193
5194
5195
5196
# File 'lib/v20200910/models.rb', line 5192

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

Instance Attribute Details

#NameObject

Parameters:

  • Name:

    名称

  • Src:

    原文

  • Value:

    免疫组化详情



5190
5191
5192
# File 'lib/v20200910/models.rb', line 5190

def Name
  @Name
end

#SrcObject

Parameters:

  • Name:

    名称

  • Src:

    原文

  • Value:

    免疫组化详情



5190
5191
5192
# File 'lib/v20200910/models.rb', line 5190

def Src
  @Src
end

#ValueObject

Parameters:

  • Name:

    名称

  • Src:

    原文

  • Value:

    免疫组化详情



5190
5191
5192
# File 'lib/v20200910/models.rb', line 5190

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
# File 'lib/v20200910/models.rb', line 5198

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