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
Returns a new instance of Indicator.
5223 5224 5225 5226 5227 |
# File 'lib/v20200910/models.rb', line 5223 def initialize(indicators=nil, blocktitle=nil, page=nil) @Indicators = indicators @BlockTitle = blocktitle @Page = page end |
Instance Attribute Details
#BlockTitle ⇒ Object
5221 5222 5223 |
# File 'lib/v20200910/models.rb', line 5221 def BlockTitle @BlockTitle end |
#Indicators ⇒ Object
5221 5222 5223 |
# File 'lib/v20200910/models.rb', line 5221 def Indicators @Indicators end |
#Page ⇒ Object
5221 5222 5223 |
# File 'lib/v20200910/models.rb', line 5221 def Page @Page end |
Instance Method Details
#deserialize(params) ⇒ Object
5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 |
# File 'lib/v20200910/models.rb', line 5229 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 |