Class: TencentCloud::Mrs::V20200910::BiopsyPart

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

Overview

活检部位

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value = nil, src = nil, coords = nil) ⇒ BiopsyPart

Returns a new instance of BiopsyPart.



660
661
662
663
664
# File 'lib/v20200910/models.rb', line 660

def initialize(value=nil, src=nil, coords=nil)
  @Value = value
  @Src = src
  @Coords = coords
end

Instance Attribute Details

#CoordsObject

Parameters:

  • Value:

  • Src:

    原文

  • Coords:

    坐标



658
659
660
# File 'lib/v20200910/models.rb', line 658

def Coords
  @Coords
end

#SrcObject

Parameters:

  • Value:

  • Src:

    原文

  • Coords:

    坐标



658
659
660
# File 'lib/v20200910/models.rb', line 658

def Src
  @Src
end

#ValueObject

Parameters:

  • Value:

  • Src:

    原文

  • Coords:

    坐标



658
659
660
# File 'lib/v20200910/models.rb', line 658

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



666
667
668
669
670
671
672
673
674
675
676
677
# File 'lib/v20200910/models.rb', line 666

def deserialize(params)
  @Value = params['Value']
  @Src = params['Src']
  unless params['Coords'].nil?
    @Coords = []
    params['Coords'].each do |i|
      coord_tmp = Coord.new
      coord_tmp.deserialize(i)
      @Coords << coord_tmp
    end
  end
end