Class: TencentCloud::Mrs::V20200910::EndoscopyOrgan

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

Overview

内窥部位

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(part = nil, index = nil, src = nil, partalias = nil, symdesclist = nil, coords = nil) ⇒ EndoscopyOrgan

Returns a new instance of EndoscopyOrgan.



3265
3266
3267
3268
3269
3270
3271
3272
# File 'lib/v20200910/models.rb', line 3265

def initialize(part=nil, index=nil, src=nil, partalias=nil, symdesclist=nil, coords=nil)
  @Part = part
  @Index = index
  @Src = src
  @PartAlias = partalias
  @SymDescList = symdesclist
  @Coords = coords
end

Instance Attribute Details

#CoordsObject

Parameters:

  • Part:

    部位

  • Index:

    原文位置

  • Src:

    原文

  • PartAlias:

    部位别名

  • SymDescList:

    症状描述

  • Coords:

    坐标



3263
3264
3265
# File 'lib/v20200910/models.rb', line 3263

def Coords
  @Coords
end

#IndexObject

Parameters:

  • Part:

    部位

  • Index:

    原文位置

  • Src:

    原文

  • PartAlias:

    部位别名

  • SymDescList:

    症状描述

  • Coords:

    坐标



3263
3264
3265
# File 'lib/v20200910/models.rb', line 3263

def Index
  @Index
end

#PartObject

Parameters:

  • Part:

    部位

  • Index:

    原文位置

  • Src:

    原文

  • PartAlias:

    部位别名

  • SymDescList:

    症状描述

  • Coords:

    坐标



3263
3264
3265
# File 'lib/v20200910/models.rb', line 3263

def Part
  @Part
end

#PartAliasObject

Parameters:

  • Part:

    部位

  • Index:

    原文位置

  • Src:

    原文

  • PartAlias:

    部位别名

  • SymDescList:

    症状描述

  • Coords:

    坐标



3263
3264
3265
# File 'lib/v20200910/models.rb', line 3263

def PartAlias
  @PartAlias
end

#SrcObject

Parameters:

  • Part:

    部位

  • Index:

    原文位置

  • Src:

    原文

  • PartAlias:

    部位别名

  • SymDescList:

    症状描述

  • Coords:

    坐标



3263
3264
3265
# File 'lib/v20200910/models.rb', line 3263

def Src
  @Src
end

#SymDescListObject

Parameters:

  • Part:

    部位

  • Index:

    原文位置

  • Src:

    原文

  • PartAlias:

    部位别名

  • SymDescList:

    症状描述

  • Coords:

    坐标



3263
3264
3265
# File 'lib/v20200910/models.rb', line 3263

def SymDescList
  @SymDescList
end

Instance Method Details

#deserialize(params) ⇒ Object



3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
# File 'lib/v20200910/models.rb', line 3274

def deserialize(params)
  unless params['Part'].nil?
    @Part = Part.new
    @Part.deserialize(params['Part'])
  end
  @Index = params['Index']
  @Src = params['Src']
  @PartAlias = params['PartAlias']
  unless params['SymDescList'].nil?
    @SymDescList = []
    params['SymDescList'].each do |i|
      blockinfo_tmp = BlockInfo.new
      blockinfo_tmp.deserialize(i)
      @SymDescList << blockinfo_tmp
    end
  end
  unless params['Coords'].nil?
    @Coords = []
    params['Coords'].each do |i|
      coord_tmp = Coord.new
      coord_tmp.deserialize(i)
      @Coords << coord_tmp
    end
  end
end