Class: TencentCloud::Cwp::V20180228::DescribeAttackTrendsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeAttackTrendsResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeAttackTrends返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(netattacktrend = nil, requestid = nil) ⇒ DescribeAttackTrendsResponse
constructor
A new instance of DescribeAttackTrendsResponse.
Constructor Details
#initialize(netattacktrend = nil, requestid = nil) ⇒ DescribeAttackTrendsResponse
Returns a new instance of DescribeAttackTrendsResponse.
11359 11360 11361 11362 |
# File 'lib/v20180228/models.rb', line 11359 def initialize(netattacktrend=nil, requestid=nil) @NetAttackTrend = netattacktrend @RequestId = requestid end |
Instance Attribute Details
#NetAttackTrend ⇒ Object
11357 11358 11359 |
# File 'lib/v20180228/models.rb', line 11357 def NetAttackTrend @NetAttackTrend end |
#RequestId ⇒ Object
11357 11358 11359 |
# File 'lib/v20180228/models.rb', line 11357 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 |
# File 'lib/v20180228/models.rb', line 11364 def deserialize(params) unless params['NetAttackTrend'].nil? @NetAttackTrend = [] params['NetAttackTrend'].each do |i| netattacktrend_tmp = NetAttackTrend.new netattacktrend_tmp.deserialize(i) @NetAttackTrend << netattacktrend_tmp end end @RequestId = params['RequestId'] end |