Class: TencentCloud::Mrs::V20200910::IHCV2

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

Overview

IHC

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(index = nil, src = nil, name = nil, value = nil, coords = nil) ⇒ IHCV2

Returns a new instance of IHCV2.



4798
4799
4800
4801
4802
4803
4804
# File 'lib/v20200910/models.rb', line 4798

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

Instance Attribute Details

#CoordsObject

Parameters:

  • Index:

    索引

  • Src:

    原文

  • Name:

    ihc归一化

  • Value:

    ihc详情

  • Coords:

    原文对应坐标



4796
4797
4798
# File 'lib/v20200910/models.rb', line 4796

def Coords
  @Coords
end

#IndexObject

Parameters:

  • Index:

    索引

  • Src:

    原文

  • Name:

    ihc归一化

  • Value:

    ihc详情

  • Coords:

    原文对应坐标



4796
4797
4798
# File 'lib/v20200910/models.rb', line 4796

def Index
  @Index
end

#NameObject

Parameters:

  • Index:

    索引

  • Src:

    原文

  • Name:

    ihc归一化

  • Value:

    ihc详情

  • Coords:

    原文对应坐标



4796
4797
4798
# File 'lib/v20200910/models.rb', line 4796

def Name
  @Name
end

#SrcObject

Parameters:

  • Index:

    索引

  • Src:

    原文

  • Name:

    ihc归一化

  • Value:

    ihc详情

  • Coords:

    原文对应坐标



4796
4797
4798
# File 'lib/v20200910/models.rb', line 4796

def Src
  @Src
end

#ValueObject

Parameters:

  • Index:

    索引

  • Src:

    原文

  • Name:

    ihc归一化

  • Value:

    ihc详情

  • Coords:

    原文对应坐标



4796
4797
4798
# File 'lib/v20200910/models.rb', line 4796

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
# File 'lib/v20200910/models.rb', line 4806

def deserialize(params)
  @Index = params['Index']
  @Src = params['Src']
  @Name = params['Name']
  unless params['Value'].nil?
    @Value = Value.new
    @Value.deserialize(params['Value'])
  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