Class: TencentCloud::Mrs::V20200910::HistologyTypeV2

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

Overview

组织学类型

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(infiltration = nil, index = nil, src = nil, type = nil, name = nil, coords = nil) ⇒ HistologyTypeV2



4643
4644
4645
4646
4647
4648
4649
4650
# File 'lib/v20200910/models.rb', line 4643

def initialize(infiltration=nil, index=nil, src=nil, type=nil, name=nil, coords=nil)
  @Infiltration = infiltration
  @Index = index
  @Src = src
  @Type = type
  @Name = name
  @Coords = coords
end

Instance Attribute Details

#CoordsObject



4641
4642
4643
# File 'lib/v20200910/models.rb', line 4641

def Coords
  @Coords
end

#IndexObject



4641
4642
4643
# File 'lib/v20200910/models.rb', line 4641

def Index
  @Index
end

#InfiltrationObject



4641
4642
4643
# File 'lib/v20200910/models.rb', line 4641

def Infiltration
  @Infiltration
end

#NameObject



4641
4642
4643
# File 'lib/v20200910/models.rb', line 4641

def Name
  @Name
end

#SrcObject



4641
4642
4643
# File 'lib/v20200910/models.rb', line 4641

def Src
  @Src
end

#TypeObject



4641
4642
4643
# File 'lib/v20200910/models.rb', line 4641

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
# File 'lib/v20200910/models.rb', line 4652

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