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
Returns a new instance of TableIndicators.
10186 10187 10188 10189 |
# File 'lib/v20200910/models.rb', line 10186 def initialize(indicators=nil, sample=nil) @Indicators = indicators @Sample = sample end |
Instance Attribute Details
#Indicators ⇒ Object
10184 10185 10186 |
# File 'lib/v20200910/models.rb', line 10184 def Indicators @Indicators end |
#Sample ⇒ Object
10184 10185 10186 |
# File 'lib/v20200910/models.rb', line 10184 def Sample @Sample end |
Instance Method Details
#deserialize(params) ⇒ Object
10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 |
# File 'lib/v20200910/models.rb', line 10191 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 |