Class: TencentCloud::Mrs::V20200910::TableIndicators
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::TableIndicators
- Defined in:
- lib/v20200910/models.rb
Overview
检验报告结构
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(indicators = nil, sample = nil) ⇒ TableIndicators
constructor
A new instance of TableIndicators.
Constructor Details
#initialize(indicators = nil, sample = nil) ⇒ TableIndicators
10213 10214 10215 10216 |
# File 'lib/v20200910/models.rb', line 10213 def initialize(indicators=nil, sample=nil) @Indicators = indicators @Sample = sample end |
Instance Attribute Details
#Indicators ⇒ Object
10211 10212 10213 |
# File 'lib/v20200910/models.rb', line 10211 def Indicators @Indicators end |
#Sample ⇒ Object
10211 10212 10213 |
# File 'lib/v20200910/models.rb', line 10211 def Sample @Sample end |
Instance Method Details
#deserialize(params) ⇒ Object
10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 |
# File 'lib/v20200910/models.rb', line 10218 def deserialize(params) unless params['Indicators'].nil? @Indicators = [] params['Indicators'].each do |i| indicatoritemv2_tmp = IndicatorItemV2.new indicatoritemv2_tmp.deserialize(i) @Indicators << indicatoritemv2_tmp end end unless params['Sample'].nil? @Sample = BaseItem.new @Sample.deserialize(params['Sample']) end end |