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
4643 4644 4645 4646 4647 4648 4649 4650 |
# File 'lib/v20200910/models.rb', line 4643 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
4641 4642 4643 |
# File 'lib/v20200910/models.rb', line 4641 def Coords @Coords end |
#Index ⇒ Object
4641 4642 4643 |
# File 'lib/v20200910/models.rb', line 4641 def Index @Index end |
#Infiltration ⇒ Object
4641 4642 4643 |
# File 'lib/v20200910/models.rb', line 4641 def Infiltration @Infiltration end |
#Name ⇒ Object
4641 4642 4643 |
# File 'lib/v20200910/models.rb', line 4641 def Name @Name end |
#Src ⇒ Object
4641 4642 4643 |
# File 'lib/v20200910/models.rb', line 4641 def Src @Src end |
#Type ⇒ Object
4641 4642 4643 |
# File 'lib/v20200910/models.rb', line 4641 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 |
# File 'lib/v20200910/models.rb', line 4652 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 |