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.



5211
5212
5213
5214
5215
# File 'lib/v20200910/models.rb', line 5211

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

Instance Attribute Details

#NameObject

Parameters:

  • Name:

    名称

  • Src:

    原文

  • Value:

    免疫组化详情



5209
5210
5211
# File 'lib/v20200910/models.rb', line 5209

def Name
  @Name
end

#SrcObject

Parameters:

  • Name:

    名称

  • Src:

    原文

  • Value:

    免疫组化详情



5209
5210
5211
# File 'lib/v20200910/models.rb', line 5209

def Src
  @Src
end

#ValueObject

Parameters:

  • Name:

    名称

  • Src:

    原文

  • Value:

    免疫组化详情



5209
5210
5211
# File 'lib/v20200910/models.rb', line 5209

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
# File 'lib/v20200910/models.rb', line 5217

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