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
-
#HistogramInfos ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Interval ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
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.
3310 3311 3312 3313 3314 3315 |
# File 'lib/v20180125/models.rb', line 3310 def initialize(interval=nil, totalcount=nil, histograminfos=nil, requestid=nil) @Interval = interval @TotalCount = totalcount @HistogramInfos = histograminfos @RequestId = requestid end |
Instance Attribute Details
#HistogramInfos ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3308 3309 3310 |
# File 'lib/v20180125/models.rb', line 3308 def HistogramInfos @HistogramInfos end |
#Interval ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3308 3309 3310 |
# File 'lib/v20180125/models.rb', line 3308 def Interval @Interval end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3308 3309 3310 |
# File 'lib/v20180125/models.rb', line 3308 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3308 3309 3310 |
# File 'lib/v20180125/models.rb', line 3308 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 |
# File 'lib/v20180125/models.rb', line 3317 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 |