Class: TencentCloud::Mrs::V20200910::PTNM

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

Overview

pTNM

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, index = nil, src = nil, value = nil, pt = nil, pn = nil, pm = nil, coords = nil) ⇒ PTNM

Returns a new instance of PTNM.



7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
# File 'lib/v20200910/models.rb', line 7911

def initialize(name=nil, index=nil, src=nil, value=nil, pt=nil, pn=nil, pm=nil, coords=nil)
  @Name = name
  @Index = index
  @Src = src
  @Value = value
  @PT = pt
  @PN = pn
  @PM = pm
  @Coords = coords
end

Instance Attribute Details

#CoordsObject

Parameters:

  • Name:

    项目名称

  • Index:

    索引

  • Src:

    原文

  • Value:

    归一化值

  • PT:

    pT

  • PN:

    pN

  • PM:

    pM

  • Coords:

    原文对应坐标



7909
7910
7911
# File 'lib/v20200910/models.rb', line 7909

def Coords
  @Coords
end

#IndexObject

Parameters:

  • Name:

    项目名称

  • Index:

    索引

  • Src:

    原文

  • Value:

    归一化值

  • PT:

    pT

  • PN:

    pN

  • PM:

    pM

  • Coords:

    原文对应坐标



7909
7910
7911
# File 'lib/v20200910/models.rb', line 7909

def Index
  @Index
end

#NameObject

Parameters:

  • Name:

    项目名称

  • Index:

    索引

  • Src:

    原文

  • Value:

    归一化值

  • PT:

    pT

  • PN:

    pN

  • PM:

    pM

  • Coords:

    原文对应坐标



7909
7910
7911
# File 'lib/v20200910/models.rb', line 7909

def Name
  @Name
end

#PMObject

Parameters:

  • Name:

    项目名称

  • Index:

    索引

  • Src:

    原文

  • Value:

    归一化值

  • PT:

    pT

  • PN:

    pN

  • PM:

    pM

  • Coords:

    原文对应坐标



7909
7910
7911
# File 'lib/v20200910/models.rb', line 7909

def PM
  @PM
end

#PNObject

Parameters:

  • Name:

    项目名称

  • Index:

    索引

  • Src:

    原文

  • Value:

    归一化值

  • PT:

    pT

  • PN:

    pN

  • PM:

    pM

  • Coords:

    原文对应坐标



7909
7910
7911
# File 'lib/v20200910/models.rb', line 7909

def PN
  @PN
end

#PTObject

Parameters:

  • Name:

    项目名称

  • Index:

    索引

  • Src:

    原文

  • Value:

    归一化值

  • PT:

    pT

  • PN:

    pN

  • PM:

    pM

  • Coords:

    原文对应坐标



7909
7910
7911
# File 'lib/v20200910/models.rb', line 7909

def PT
  @PT
end

#SrcObject

Parameters:

  • Name:

    项目名称

  • Index:

    索引

  • Src:

    原文

  • Value:

    归一化值

  • PT:

    pT

  • PN:

    pN

  • PM:

    pM

  • Coords:

    原文对应坐标



7909
7910
7911
# File 'lib/v20200910/models.rb', line 7909

def Src
  @Src
end

#ValueObject

Parameters:

  • Name:

    项目名称

  • Index:

    索引

  • Src:

    原文

  • Value:

    归一化值

  • PT:

    pT

  • PN:

    pN

  • PM:

    pM

  • Coords:

    原文对应坐标



7909
7910
7911
# File 'lib/v20200910/models.rb', line 7909

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
# File 'lib/v20200910/models.rb', line 7922

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