Class: TencentCloud::Mrs::V20200910::IndicatorItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::IndicatorItem
- Defined in:
- lib/v20200910/models.rb
Overview
检验指标项
Instance Attribute Summary collapse
- #Arrow ⇒ Object
- #Code ⇒ Object
- #Coords ⇒ Object
- #Id ⇒ Object
- #InferNormal ⇒ Object
- #ItemString ⇒ Object
- #Method ⇒ Object
- #Name ⇒ Object
- #Normal ⇒ Object
- #Range ⇒ Object
- #Result ⇒ Object
- #Sample ⇒ Object
- #Scode ⇒ Object
- #Sname ⇒ Object
- #Unit ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#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
constructor
A new instance of IndicatorItem.
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
#Arrow ⇒ Object
5302 5303 5304 |
# File 'lib/v20200910/models.rb', line 5302 def Arrow @Arrow end |
#Code ⇒ Object
5302 5303 5304 |
# File 'lib/v20200910/models.rb', line 5302 def Code @Code end |
#Coords ⇒ Object
5302 5303 5304 |
# File 'lib/v20200910/models.rb', line 5302 def Coords @Coords end |
#Id ⇒ Object
5302 5303 5304 |
# File 'lib/v20200910/models.rb', line 5302 def Id @Id end |
#InferNormal ⇒ Object
5302 5303 5304 |
# File 'lib/v20200910/models.rb', line 5302 def InferNormal @InferNormal end |
#ItemString ⇒ Object
5302 5303 5304 |
# File 'lib/v20200910/models.rb', line 5302 def ItemString @ItemString end |
#Method ⇒ Object
5302 5303 5304 |
# File 'lib/v20200910/models.rb', line 5302 def Method @Method end |
#Name ⇒ Object
5302 5303 5304 |
# File 'lib/v20200910/models.rb', line 5302 def Name @Name end |
#Normal ⇒ Object
5302 5303 5304 |
# File 'lib/v20200910/models.rb', line 5302 def Normal @Normal end |
#Range ⇒ Object
5302 5303 5304 |
# File 'lib/v20200910/models.rb', line 5302 def Range @Range end |
#Result ⇒ Object
5302 5303 5304 |
# File 'lib/v20200910/models.rb', line 5302 def Result @Result end |
#Sample ⇒ Object
5302 5303 5304 |
# File 'lib/v20200910/models.rb', line 5302 def Sample @Sample end |
#Scode ⇒ Object
5302 5303 5304 |
# File 'lib/v20200910/models.rb', line 5302 def Scode @Scode end |
#Sname ⇒ Object
5302 5303 5304 |
# File 'lib/v20200910/models.rb', line 5302 def Sname @Sname end |
#Unit ⇒ Object
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 |