Class: TencentCloud::Cdn::V20180606::DescribeWafDataResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::DescribeWafDataResponse
- Defined in:
- lib/v20180606/models.rb
Overview
DescribeWafData返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(data = nil, interval = nil, requestid = nil) ⇒ DescribeWafDataResponse
constructor
A new instance of DescribeWafDataResponse.
Constructor Details
#initialize(data = nil, interval = nil, requestid = nil) ⇒ DescribeWafDataResponse
Returns a new instance of DescribeWafDataResponse.
6283 6284 6285 6286 6287 |
# File 'lib/v20180606/models.rb', line 6283 def initialize(data=nil, interval=nil, requestid=nil) @Data = data @Interval = interval @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
6281 6282 6283 |
# File 'lib/v20180606/models.rb', line 6281 def Data @Data end |
#Interval ⇒ Object
6281 6282 6283 |
# File 'lib/v20180606/models.rb', line 6281 def Interval @Interval end |
#RequestId ⇒ Object
6281 6282 6283 |
# File 'lib/v20180606/models.rb', line 6281 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 |
# File 'lib/v20180606/models.rb', line 6289 def deserialize(params) unless params['Data'].nil? @Data = [] params['Data'].each do |i| = TimestampData.new .deserialize(i) @Data << end end @Interval = params['Interval'] @RequestId = params['RequestId'] end |