Class: TencentCloud::Mrs::V20200910::Molecular

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

Overview

分子病理

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of Molecular.



6873
6874
6875
6876
6877
6878
6879
# File 'lib/v20200910/models.rb', line 6873

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:

    基因名称标注化

  • Value:

    分子病理详细信息

  • Coords:

    原文对应坐标



6871
6872
6873
# File 'lib/v20200910/models.rb', line 6871

def Coords
  @Coords
end

#IndexObject

Parameters:

  • Index:

    索引

  • Src:

    原文

  • Name:

    基因名称标注化

  • Value:

    分子病理详细信息

  • Coords:

    原文对应坐标



6871
6872
6873
# File 'lib/v20200910/models.rb', line 6871

def Index
  @Index
end

#NameObject

Parameters:

  • Index:

    索引

  • Src:

    原文

  • Name:

    基因名称标注化

  • Value:

    分子病理详细信息

  • Coords:

    原文对应坐标



6871
6872
6873
# File 'lib/v20200910/models.rb', line 6871

def Name
  @Name
end

#SrcObject

Parameters:

  • Index:

    索引

  • Src:

    原文

  • Name:

    基因名称标注化

  • Value:

    分子病理详细信息

  • Coords:

    原文对应坐标



6871
6872
6873
# File 'lib/v20200910/models.rb', line 6871

def Src
  @Src
end

#ValueObject

Parameters:

  • Index:

    索引

  • Src:

    原文

  • Name:

    基因名称标注化

  • Value:

    分子病理详细信息

  • Coords:

    原文对应坐标



6871
6872
6873
# File 'lib/v20200910/models.rb', line 6871

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
# File 'lib/v20200910/models.rb', line 6881

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