Class: TencentCloud::Mrs::V20200910::LymphNode

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200910/models.rb

Overview

单淋巴结转移信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, index = nil, part = nil, src = nil, total = nil, transfernum = nil, sizes = nil, coords = nil) ⇒ LymphNode



6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
# File 'lib/v20200910/models.rb', line 6230

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

#CoordsObject



6228
6229
6230
# File 'lib/v20200910/models.rb', line 6228

def Coords
  @Coords
end

#IndexObject



6228
6229
6230
# File 'lib/v20200910/models.rb', line 6228

def Index
  @Index
end

#NameObject



6228
6229
6230
# File 'lib/v20200910/models.rb', line 6228

def Name
  @Name
end

#PartObject



6228
6229
6230
# File 'lib/v20200910/models.rb', line 6228

def Part
  @Part
end

#SizesObject



6228
6229
6230
# File 'lib/v20200910/models.rb', line 6228

def Sizes
  @Sizes
end

#SrcObject



6228
6229
6230
# File 'lib/v20200910/models.rb', line 6228

def Src
  @Src
end

#TotalObject



6228
6229
6230
# File 'lib/v20200910/models.rb', line 6228

def Total
  @Total
end

#TransferNumObject



6228
6229
6230
# File 'lib/v20200910/models.rb', line 6228

def TransferNum
  @TransferNum
end

Instance Method Details

#deserialize(params) ⇒ Object



6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
# File 'lib/v20200910/models.rb', line 6241

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