Class: TencentCloud::Mrs::V20200910::HistologyClass
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::HistologyClass
- Defined in:
- lib/v20200910/models.rb
Overview
组织学类
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, index = nil, src = nil, value = nil, coords = nil) ⇒ HistologyClass
constructor
A new instance of HistologyClass.
Constructor Details
#initialize(name = nil, index = nil, src = nil, value = nil, coords = nil) ⇒ HistologyClass
Returns a new instance of HistologyClass.
4535 4536 4537 4538 4539 4540 4541 |
# File 'lib/v20200910/models.rb', line 4535 def initialize(name=nil, index=nil, src=nil, value=nil, coords=nil) @Name = name @Index = index @Src = src @Value = value @Coords = coords end |
Instance Attribute Details
#Coords ⇒ Object
4533 4534 4535 |
# File 'lib/v20200910/models.rb', line 4533 def Coords @Coords end |
#Index ⇒ Object
4533 4534 4535 |
# File 'lib/v20200910/models.rb', line 4533 def Index @Index end |
#Name ⇒ Object
4533 4534 4535 |
# File 'lib/v20200910/models.rb', line 4533 def Name @Name end |
#Src ⇒ Object
4533 4534 4535 |
# File 'lib/v20200910/models.rb', line 4533 def Src @Src end |
#Value ⇒ Object
4533 4534 4535 |
# File 'lib/v20200910/models.rb', line 4533 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 |
# File 'lib/v20200910/models.rb', line 4543 def deserialize(params) @Name = params['Name'] @Index = params['Index'] @Src = params['Src'] @Value = params['Value'] unless params['Coords'].nil? @Coords = [] params['Coords'].each do |i| coord_tmp = Coord.new coord_tmp.deserialize(i) @Coords << coord_tmp end end end |