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.
9335 9336 9337 9338 9339 9340 9341 |
# File 'lib/v20180606/models.rb', line 9335 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
9333 9334 9335 |
# File 'lib/v20180606/models.rb', line 9333 def RequestId @RequestId end |
#TopDomainData ⇒ Object
9333 9334 9335 |
# File 'lib/v20180606/models.rb', line 9333 def TopDomainData @TopDomainData end |
#TopIpData ⇒ Object
9333 9334 9335 |
# File 'lib/v20180606/models.rb', line 9333 def TopIpData @TopIpData end |
#TopTypeData ⇒ Object
9333 9334 9335 |
# File 'lib/v20180606/models.rb', line 9333 def TopTypeData @TopTypeData end |
#TopUrlData ⇒ Object
9333 9334 9335 |
# File 'lib/v20180606/models.rb', line 9333 def TopUrlData @TopUrlData end |
Instance Method Details
#deserialize(params) ⇒ Object
9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 |
# File 'lib/v20180606/models.rb', line 9343 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 |