Class: TencentCloud::Cwp::V20180228::DescribeRansomDefenseEventsListResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeRansomDefenseEventsListResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeRansomDefenseEventsList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(list = nil, totalcount = nil, requestid = nil) ⇒ DescribeRansomDefenseEventsListResponse
constructor
A new instance of DescribeRansomDefenseEventsListResponse.
Constructor Details
#initialize(list = nil, totalcount = nil, requestid = nil) ⇒ DescribeRansomDefenseEventsListResponse
Returns a new instance of DescribeRansomDefenseEventsListResponse.
19242 19243 19244 19245 19246 |
# File 'lib/v20180228/models.rb', line 19242 def initialize(list=nil, totalcount=nil, requestid=nil) @List = list @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
19240 19241 19242 |
# File 'lib/v20180228/models.rb', line 19240 def List @List end |
#RequestId ⇒ Object
19240 19241 19242 |
# File 'lib/v20180228/models.rb', line 19240 def RequestId @RequestId end |
#TotalCount ⇒ Object
19240 19241 19242 |
# File 'lib/v20180228/models.rb', line 19240 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
19248 19249 19250 19251 19252 19253 19254 19255 19256 19257 19258 19259 |
# File 'lib/v20180228/models.rb', line 19248 def deserialize(params) unless params['List'].nil? @List = [] params['List'].each do |i| ransomdefenseevent_tmp = RansomDefenseEvent.new ransomdefenseevent_tmp.deserialize(i) @List << ransomdefenseevent_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |