Class: TencentCloud::Waf::V20180125::DescribeAccessHistogramResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::DescribeAccessHistogramResponse
- Defined in:
- lib/v20180125/models.rb
Overview
DescribeAccessHistogram返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(interval = nil, totalcount = nil, histograminfos = nil, requestid = nil) ⇒ DescribeAccessHistogramResponse
constructor
A new instance of DescribeAccessHistogramResponse.
Constructor Details
#initialize(interval = nil, totalcount = nil, histograminfos = nil, requestid = nil) ⇒ DescribeAccessHistogramResponse
Returns a new instance of DescribeAccessHistogramResponse.
5372 5373 5374 5375 5376 5377 |
# File 'lib/v20180125/models.rb', line 5372 def initialize(interval=nil, totalcount=nil, histograminfos=nil, requestid=nil) @Interval = interval @TotalCount = totalcount @HistogramInfos = histograminfos @RequestId = requestid end |
Instance Attribute Details
#HistogramInfos ⇒ Object
5370 5371 5372 |
# File 'lib/v20180125/models.rb', line 5370 def HistogramInfos @HistogramInfos end |
#Interval ⇒ Object
5370 5371 5372 |
# File 'lib/v20180125/models.rb', line 5370 def Interval @Interval end |
#RequestId ⇒ Object
5370 5371 5372 |
# File 'lib/v20180125/models.rb', line 5370 def RequestId @RequestId end |
#TotalCount ⇒ Object
5370 5371 5372 |
# File 'lib/v20180125/models.rb', line 5370 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 |
# File 'lib/v20180125/models.rb', line 5379 def deserialize(params) @Interval = params['Interval'] @TotalCount = params['TotalCount'] unless params['HistogramInfos'].nil? @HistogramInfos = [] params['HistogramInfos'].each do |i| accesshistogramitem_tmp = AccessHistogramItem.new accesshistogramitem_tmp.deserialize(i) @HistogramInfos << accesshistogramitem_tmp end end @RequestId = params['RequestId'] end |