Class: TencentCloud::Waf::V20180125::DescribeLogHistogramResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::DescribeLogHistogramResponse
- Defined in:
- lib/v20180125/models.rb
Overview
DescribeLogHistogram返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(interval = nil, totalcount = nil, histograminfos = nil, requestid = nil) ⇒ DescribeLogHistogramResponse
constructor
A new instance of DescribeLogHistogramResponse.
Constructor Details
#initialize(interval = nil, totalcount = nil, histograminfos = nil, requestid = nil) ⇒ DescribeLogHistogramResponse
8253 8254 8255 8256 8257 8258 |
# File 'lib/v20180125/models.rb', line 8253 def initialize(interval=nil, totalcount=nil, histograminfos=nil, requestid=nil) @Interval = interval @TotalCount = totalcount @HistogramInfos = histograminfos @RequestId = requestid end |
Instance Attribute Details
#HistogramInfos ⇒ Object
8251 8252 8253 |
# File 'lib/v20180125/models.rb', line 8251 def HistogramInfos @HistogramInfos end |
#Interval ⇒ Object
8251 8252 8253 |
# File 'lib/v20180125/models.rb', line 8251 def Interval @Interval end |
#RequestId ⇒ Object
8251 8252 8253 |
# File 'lib/v20180125/models.rb', line 8251 def RequestId @RequestId end |
#TotalCount ⇒ Object
8251 8252 8253 |
# File 'lib/v20180125/models.rb', line 8251 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 |
# File 'lib/v20180125/models.rb', line 8260 def deserialize(params) @Interval = params['Interval'] @TotalCount = params['TotalCount'] unless params['HistogramInfos'].nil? @HistogramInfos = [] params['HistogramInfos'].each do |i| histograminfo_tmp = HistogramInfo.new histograminfo_tmp.deserialize(i) @HistogramInfos << histograminfo_tmp end end @RequestId = params['RequestId'] end |