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
- #Name ⇒ Object
- #Normal ⇒ Object
- #Range ⇒ Object
- #Result ⇒ 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) ⇒ 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) ⇒ IndicatorItem
Returns a new instance of IndicatorItem.
5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 |
# File 'lib/v20200910/models.rb', line 5281 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) @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 end |
Instance Attribute Details
#Arrow ⇒ Object
5279 5280 5281 |
# File 'lib/v20200910/models.rb', line 5279 def Arrow @Arrow end |
#Code ⇒ Object
5279 5280 5281 |
# File 'lib/v20200910/models.rb', line 5279 def Code @Code end |
#Coords ⇒ Object
5279 5280 5281 |
# File 'lib/v20200910/models.rb', line 5279 def Coords @Coords end |
#Id ⇒ Object
5279 5280 5281 |
# File 'lib/v20200910/models.rb', line 5279 def Id @Id end |
#InferNormal ⇒ Object
5279 5280 5281 |
# File 'lib/v20200910/models.rb', line 5279 def InferNormal @InferNormal end |
#ItemString ⇒ Object
5279 5280 5281 |
# File 'lib/v20200910/models.rb', line 5279 def ItemString @ItemString end |
#Name ⇒ Object
5279 5280 5281 |
# File 'lib/v20200910/models.rb', line 5279 def Name @Name end |
#Normal ⇒ Object
5279 5280 5281 |
# File 'lib/v20200910/models.rb', line 5279 def Normal @Normal end |
#Range ⇒ Object
5279 5280 5281 |
# File 'lib/v20200910/models.rb', line 5279 def Range @Range end |
#Result ⇒ Object
5279 5280 5281 |
# File 'lib/v20200910/models.rb', line 5279 def Result @Result end |
#Scode ⇒ Object
5279 5280 5281 |
# File 'lib/v20200910/models.rb', line 5279 def Scode @Scode end |
#Sname ⇒ Object
5279 5280 5281 |
# File 'lib/v20200910/models.rb', line 5279 def Sname @Sname end |
#Unit ⇒ Object
5279 5280 5281 |
# File 'lib/v20200910/models.rb', line 5279 def Unit @Unit end |
Instance Method Details
#deserialize(params) ⇒ Object
5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 |
# File 'lib/v20200910/models.rb', line 5297 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'] end |