Class: TencentCloud::Mrs::V20200910::HistologyClass

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, src = nil, value = nil, coords = nil) ⇒ HistologyClass

Returns a new instance of HistologyClass.



4550
4551
4552
4553
4554
4555
4556
# File 'lib/v20200910/models.rb', line 4550

def initialize(name=nil, index=nil, src=nil, value=nil, coords=nil)
  @Name = name
  @Index = index
  @Src = src
  @Value = value
  @Coords = coords
end

Instance Attribute Details

#CoordsObject

Parameters:

  • Name:

    项目名称

  • Index:

    索引

  • Src:

    原文

  • Value:

    归一化值

  • Coords:

    原文对应坐标



4548
4549
4550
# File 'lib/v20200910/models.rb', line 4548

def Coords
  @Coords
end

#IndexObject

Parameters:

  • Name:

    项目名称

  • Index:

    索引

  • Src:

    原文

  • Value:

    归一化值

  • Coords:

    原文对应坐标



4548
4549
4550
# File 'lib/v20200910/models.rb', line 4548

def Index
  @Index
end

#NameObject

Parameters:

  • Name:

    项目名称

  • Index:

    索引

  • Src:

    原文

  • Value:

    归一化值

  • Coords:

    原文对应坐标



4548
4549
4550
# File 'lib/v20200910/models.rb', line 4548

def Name
  @Name
end

#SrcObject

Parameters:

  • Name:

    项目名称

  • Index:

    索引

  • Src:

    原文

  • Value:

    归一化值

  • Coords:

    原文对应坐标



4548
4549
4550
# File 'lib/v20200910/models.rb', line 4548

def Src
  @Src
end

#ValueObject

Parameters:

  • Name:

    项目名称

  • Index:

    索引

  • Src:

    原文

  • Value:

    归一化值

  • Coords:

    原文对应坐标



4548
4549
4550
# File 'lib/v20200910/models.rb', line 4548

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
# File 'lib/v20200910/models.rb', line 4558

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