Class: TencentCloud::Mrs::V20200910::HistologyTypeV2
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::HistologyTypeV2
- Defined in:
- lib/v20200910/models.rb
Overview
组织学类型
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(infiltration = nil, index = nil, src = nil, type = nil, name = nil, coords = nil) ⇒ HistologyTypeV2
constructor
A new instance of HistologyTypeV2.
Constructor Details
#initialize(infiltration = nil, index = nil, src = nil, type = nil, name = nil, coords = nil) ⇒ HistologyTypeV2
Returns a new instance of HistologyTypeV2.
4628 4629 4630 4631 4632 4633 4634 4635 |
# File 'lib/v20200910/models.rb', line 4628 def initialize(infiltration=nil, index=nil, src=nil, type=nil, name=nil, coords=nil) @Infiltration = infiltration @Index = index @Src = src @Type = type @Name = name @Coords = coords end |
Instance Attribute Details
#Coords ⇒ Object
4626 4627 4628 |
# File 'lib/v20200910/models.rb', line 4626 def Coords @Coords end |
#Index ⇒ Object
4626 4627 4628 |
# File 'lib/v20200910/models.rb', line 4626 def Index @Index end |
#Infiltration ⇒ Object
4626 4627 4628 |
# File 'lib/v20200910/models.rb', line 4626 def Infiltration @Infiltration end |
#Name ⇒ Object
4626 4627 4628 |
# File 'lib/v20200910/models.rb', line 4626 def Name @Name end |
#Src ⇒ Object
4626 4627 4628 |
# File 'lib/v20200910/models.rb', line 4626 def Src @Src end |
#Type ⇒ Object
4626 4627 4628 |
# File 'lib/v20200910/models.rb', line 4626 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 |
# File 'lib/v20200910/models.rb', line 4637 def deserialize(params) @Infiltration = params['Infiltration'] @Index = params['Index'] @Src = params['Src'] @Type = params['Type'] @Name = params['Name'] unless params['Coords'].nil? @Coords = [] params['Coords'].each do |i| coord_tmp = Coord.new coord_tmp.deserialize(i) @Coords << coord_tmp end end end |