Class: TencentCloud::Mrs::V20200910::LymphNode
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::LymphNode
- Defined in:
- lib/v20200910/models.rb
Overview
单淋巴结转移信息
Instance Attribute Summary collapse
- #Coords ⇒ Object
- #Index ⇒ Object
- #Name ⇒ Object
- #Part ⇒ Object
- #Sizes ⇒ Object
- #Src ⇒ Object
- #Total ⇒ Object
- #TransferNum ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, index = nil, part = nil, src = nil, total = nil, transfernum = nil, sizes = nil, coords = nil) ⇒ LymphNode
constructor
A new instance of LymphNode.
Constructor Details
#initialize(name = nil, index = nil, part = nil, src = nil, total = nil, transfernum = nil, sizes = nil, coords = nil) ⇒ LymphNode
Returns a new instance of LymphNode.
6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 |
# File 'lib/v20200910/models.rb', line 6203 def initialize(name=nil, index=nil, part=nil, src=nil, total=nil, transfernum=nil, sizes=nil, coords=nil) @Name = name @Index = index @Part = part @Src = src @Total = total @TransferNum = transfernum @Sizes = sizes @Coords = coords end |
Instance Attribute Details
#Coords ⇒ Object
6201 6202 6203 |
# File 'lib/v20200910/models.rb', line 6201 def Coords @Coords end |
#Index ⇒ Object
6201 6202 6203 |
# File 'lib/v20200910/models.rb', line 6201 def Index @Index end |
#Name ⇒ Object
6201 6202 6203 |
# File 'lib/v20200910/models.rb', line 6201 def Name @Name end |
#Part ⇒ Object
6201 6202 6203 |
# File 'lib/v20200910/models.rb', line 6201 def Part @Part end |
#Sizes ⇒ Object
6201 6202 6203 |
# File 'lib/v20200910/models.rb', line 6201 def Sizes @Sizes end |
#Src ⇒ Object
6201 6202 6203 |
# File 'lib/v20200910/models.rb', line 6201 def Src @Src end |
#Total ⇒ Object
6201 6202 6203 |
# File 'lib/v20200910/models.rb', line 6201 def Total @Total end |
#TransferNum ⇒ Object
6201 6202 6203 |
# File 'lib/v20200910/models.rb', line 6201 def TransferNum @TransferNum end |
Instance Method Details
#deserialize(params) ⇒ Object
6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 |
# File 'lib/v20200910/models.rb', line 6214 def deserialize(params) @Name = params['Name'] @Index = params['Index'] unless params['Part'].nil? @Part = Part.new @Part.deserialize(params['Part']) end @Src = params['Src'] @Total = params['Total'] @TransferNum = params['TransferNum'] @Sizes = params['Sizes'] unless params['Coords'].nil? @Coords = [] params['Coords'].each do |i| coord_tmp = Coord.new coord_tmp.deserialize(i) @Coords << coord_tmp end end end |