Class: TencentCloud::Mrs::V20200910::IndicatorItem

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

Overview

检验指标项

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code = nil, scode = nil, name = nil, sname = nil, result = nil, unit = nil, range = nil, arrow = nil, normal = nil, itemstring = nil, id = nil, coords = nil, infernormal = nil, sample = nil, method = nil) ⇒ IndicatorItem



5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
# File 'lib/v20200910/models.rb', line 5304

def initialize(code=nil, scode=nil, name=nil, sname=nil, result=nil, unit=nil, range=nil, arrow=nil, normal=nil, itemstring=nil, id=nil, coords=nil, infernormal=nil, sample=nil, method=nil)
  @Code = code
  @Scode = scode
  @Name = name
  @Sname = sname
  @Result = result
  @Unit = unit
  @Range = range
  @Arrow = arrow
  @Normal = normal
  @ItemString = itemstring
  @Id = id
  @Coords = coords
  @InferNormal = infernormal
  @Sample = sample
  @Method = method
end

Instance Attribute Details

#ArrowObject



5302
5303
5304
# File 'lib/v20200910/models.rb', line 5302

def Arrow
  @Arrow
end

#CodeObject



5302
5303
5304
# File 'lib/v20200910/models.rb', line 5302

def Code
  @Code
end

#CoordsObject



5302
5303
5304
# File 'lib/v20200910/models.rb', line 5302

def Coords
  @Coords
end

#IdObject



5302
5303
5304
# File 'lib/v20200910/models.rb', line 5302

def Id
  @Id
end

#InferNormalObject



5302
5303
5304
# File 'lib/v20200910/models.rb', line 5302

def InferNormal
  @InferNormal
end

#ItemStringObject



5302
5303
5304
# File 'lib/v20200910/models.rb', line 5302

def ItemString
  @ItemString
end

#MethodObject



5302
5303
5304
# File 'lib/v20200910/models.rb', line 5302

def Method
  @Method
end

#NameObject



5302
5303
5304
# File 'lib/v20200910/models.rb', line 5302

def Name
  @Name
end

#NormalObject



5302
5303
5304
# File 'lib/v20200910/models.rb', line 5302

def Normal
  @Normal
end

#RangeObject



5302
5303
5304
# File 'lib/v20200910/models.rb', line 5302

def Range
  @Range
end

#ResultObject



5302
5303
5304
# File 'lib/v20200910/models.rb', line 5302

def Result
  @Result
end

#SampleObject



5302
5303
5304
# File 'lib/v20200910/models.rb', line 5302

def Sample
  @Sample
end

#ScodeObject



5302
5303
5304
# File 'lib/v20200910/models.rb', line 5302

def Scode
  @Scode
end

#SnameObject



5302
5303
5304
# File 'lib/v20200910/models.rb', line 5302

def Sname
  @Sname
end

#UnitObject



5302
5303
5304
# File 'lib/v20200910/models.rb', line 5302

def Unit
  @Unit
end

Instance Method Details

#deserialize(params) ⇒ Object



5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
# File 'lib/v20200910/models.rb', line 5322

def deserialize(params)
  @Code = params['Code']
  @Scode = params['Scode']
  @Name = params['Name']
  @Sname = params['Sname']
  @Result = params['Result']
  @Unit = params['Unit']
  @Range = params['Range']
  @Arrow = params['Arrow']
  @Normal = params['Normal']
  @ItemString = params['ItemString']
  @Id = params['Id']
  unless params['Coords'].nil?
    @Coords = Coordinate.new
    @Coords.deserialize(params['Coords'])
  end
  @InferNormal = params['InferNormal']
  @Sample = params['Sample']
  @Method = params['Method']
end