Class: TencentCloud::Cwp::V20180228::DescribeBruteAttackListResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeBruteAttackListResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeBruteAttackList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, bruteattacklist = nil, requestid = nil) ⇒ DescribeBruteAttackListResponse
constructor
A new instance of DescribeBruteAttackListResponse.
Constructor Details
#initialize(totalcount = nil, bruteattacklist = nil, requestid = nil) ⇒ DescribeBruteAttackListResponse
Returns a new instance of DescribeBruteAttackListResponse.
13955 13956 13957 13958 13959 |
# File 'lib/v20180228/models.rb', line 13955 def initialize(totalcount=nil, bruteattacklist=nil, requestid=nil) @TotalCount = totalcount @BruteAttackList = bruteattacklist @RequestId = requestid end |
Instance Attribute Details
#BruteAttackList ⇒ Object
13953 13954 13955 |
# File 'lib/v20180228/models.rb', line 13953 def BruteAttackList @BruteAttackList end |
#RequestId ⇒ Object
13953 13954 13955 |
# File 'lib/v20180228/models.rb', line 13953 def RequestId @RequestId end |
#TotalCount ⇒ Object
13953 13954 13955 |
# File 'lib/v20180228/models.rb', line 13953 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 |
# File 'lib/v20180228/models.rb', line 13961 def deserialize(params) @TotalCount = params['TotalCount'] unless params['BruteAttackList'].nil? @BruteAttackList = [] params['BruteAttackList'].each do |i| bruteattackinfo_tmp = BruteAttackInfo.new bruteattackinfo_tmp.deserialize(i) @BruteAttackList << bruteattackinfo_tmp end end @RequestId = params['RequestId'] end |