Class: TencentCloud::Cdn::V20180606::ListTopWafDataResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::ListTopWafDataResponse
- Defined in:
- lib/v20180606/models.rb
Overview
ListTopWafData返回参数结构体
Instance Attribute Summary collapse
- #RequestId ⇒ Object
- #TopDomainData ⇒ Object
- #TopIpData ⇒ Object
- #TopTypeData ⇒ Object
- #TopUrlData ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(toptypedata = nil, topipdata = nil, topurldata = nil, topdomaindata = nil, requestid = nil) ⇒ ListTopWafDataResponse
constructor
A new instance of ListTopWafDataResponse.
Constructor Details
#initialize(toptypedata = nil, topipdata = nil, topurldata = nil, topdomaindata = nil, requestid = nil) ⇒ ListTopWafDataResponse
Returns a new instance of ListTopWafDataResponse.
9316 9317 9318 9319 9320 9321 9322 |
# File 'lib/v20180606/models.rb', line 9316 def initialize(toptypedata=nil, topipdata=nil, topurldata=nil, topdomaindata=nil, requestid=nil) @TopTypeData = toptypedata @TopIpData = topipdata @TopUrlData = topurldata @TopDomainData = topdomaindata @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
9314 9315 9316 |
# File 'lib/v20180606/models.rb', line 9314 def RequestId @RequestId end |
#TopDomainData ⇒ Object
9314 9315 9316 |
# File 'lib/v20180606/models.rb', line 9314 def TopDomainData @TopDomainData end |
#TopIpData ⇒ Object
9314 9315 9316 |
# File 'lib/v20180606/models.rb', line 9314 def TopIpData @TopIpData end |
#TopTypeData ⇒ Object
9314 9315 9316 |
# File 'lib/v20180606/models.rb', line 9314 def TopTypeData @TopTypeData end |
#TopUrlData ⇒ Object
9314 9315 9316 |
# File 'lib/v20180606/models.rb', line 9314 def TopUrlData @TopUrlData end |
Instance Method Details
#deserialize(params) ⇒ Object
9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 |
# File 'lib/v20180606/models.rb', line 9324 def deserialize(params) unless params['TopTypeData'].nil? @TopTypeData = [] params['TopTypeData'].each do |i| scdntypedata_tmp = ScdnTypeData.new scdntypedata_tmp.deserialize(i) @TopTypeData << scdntypedata_tmp end end unless params['TopIpData'].nil? @TopIpData = [] params['TopIpData'].each do |i| scdntopdata_tmp = ScdnTopData.new scdntopdata_tmp.deserialize(i) @TopIpData << scdntopdata_tmp end end unless params['TopUrlData'].nil? @TopUrlData = [] params['TopUrlData'].each do |i| scdntopurldata_tmp = ScdnTopUrlData.new scdntopurldata_tmp.deserialize(i) @TopUrlData << scdntopurldata_tmp end end unless params['TopDomainData'].nil? @TopDomainData = [] params['TopDomainData'].each do |i| scdntopdomaindata_tmp = ScdnTopDomainData.new scdntopdomaindata_tmp.deserialize(i) @TopDomainData << scdntopdomaindata_tmp end end @RequestId = params['RequestId'] end |