Class: TencentCloud::Mrs::V20200910::Indicator

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200910/models.rb

Overview

检验报告

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#BlockTitleObject



5240
5241
5242
# File 'lib/v20200910/models.rb', line 5240

def BlockTitle
  @BlockTitle
end

#IndicatorsObject



5240
5241
5242
# File 'lib/v20200910/models.rb', line 5240

def Indicators
  @Indicators
end

#PageObject



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