Class: TencentCloud::Mrs::V20200910::LymphTotal
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::LymphTotal
- Defined in:
- lib/v20200910/models.rb
Overview
淋巴结总计转移信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, transfernum = nil, total = nil, src = nil, index = nil, coords = nil) ⇒ LymphTotal
constructor
A new instance of LymphTotal.
Constructor Details
#initialize(name = nil, transfernum = nil, total = nil, src = nil, index = nil, coords = nil) ⇒ LymphTotal
Returns a new instance of LymphTotal.
6253 6254 6255 6256 6257 6258 6259 6260 |
# File 'lib/v20200910/models.rb', line 6253 def initialize(name=nil, transfernum=nil, total=nil, src=nil, index=nil, coords=nil) @Name = name @TransferNum = transfernum @Total = total @Src = src @Index = index @Coords = coords end |
Instance Attribute Details
#Coords ⇒ Object
6251 6252 6253 |
# File 'lib/v20200910/models.rb', line 6251 def Coords @Coords end |
#Index ⇒ Object
6251 6252 6253 |
# File 'lib/v20200910/models.rb', line 6251 def Index @Index end |
#Name ⇒ Object
6251 6252 6253 |
# File 'lib/v20200910/models.rb', line 6251 def Name @Name end |
#Src ⇒ Object
6251 6252 6253 |
# File 'lib/v20200910/models.rb', line 6251 def Src @Src end |
#Total ⇒ Object
6251 6252 6253 |
# File 'lib/v20200910/models.rb', line 6251 def Total @Total end |
#TransferNum ⇒ Object
6251 6252 6253 |
# File 'lib/v20200910/models.rb', line 6251 def TransferNum @TransferNum end |
Instance Method Details
#deserialize(params) ⇒ Object
6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 |
# File 'lib/v20200910/models.rb', line 6262 def deserialize(params) @Name = params['Name'] @TransferNum = params['TransferNum'] @Total = params['Total'] @Src = params['Src'] @Index = params['Index'] unless params['Coords'].nil? @Coords = [] params['Coords'].each do |i| coord_tmp = Coord.new coord_tmp.deserialize(i) @Coords << coord_tmp end end end |