Class: TencentCloud::Mrs::V20200910::Indicator
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::Indicator
- Defined in:
- lib/v20200910/models.rb
Overview
检验报告
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(indicators = nil, blocktitle = nil, page = nil) ⇒ Indicator
constructor
A new instance of Indicator.
Constructor Details
#initialize(indicators = nil, blocktitle = nil, page = nil) ⇒ Indicator
5242 5243 5244 5245 5246 |
# File 'lib/v20200910/models.rb', line 5242 def initialize(indicators=nil, blocktitle=nil, page=nil) @Indicators = indicators @BlockTitle = blocktitle @Page = page end |
Instance Attribute Details
#BlockTitle ⇒ Object
5240 5241 5242 |
# File 'lib/v20200910/models.rb', line 5240 def BlockTitle @BlockTitle end |
#Indicators ⇒ Object
5240 5241 5242 |
# File 'lib/v20200910/models.rb', line 5240 def Indicators @Indicators end |
#Page ⇒ Object
5240 5241 5242 |
# File 'lib/v20200910/models.rb', line 5240 def Page @Page end |
Instance Method Details
#deserialize(params) ⇒ Object
5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 |
# File 'lib/v20200910/models.rb', line 5248 def deserialize(params) unless params['Indicators'].nil? @Indicators = [] params['Indicators'].each do |i| indicatoritem_tmp = IndicatorItem.new indicatoritem_tmp.deserialize(i) @Indicators << indicatoritem_tmp end end unless params['BlockTitle'].nil? @BlockTitle = [] params['BlockTitle'].each do |i| blocktitle_tmp = BlockTitle.new blocktitle_tmp.deserialize(i) @BlockTitle << blocktitle_tmp end end @Page = params['Page'] end |