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.
19646 19647 19648 19649 19650 |
# File 'lib/v20180228/models.rb', line 19646 def initialize(list=nil, totalcount=nil, requestid=nil) @List = list @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
19644 19645 19646 |
# File 'lib/v20180228/models.rb', line 19644 def List @List end |
#RequestId ⇒ Object
19644 19645 19646 |
# File 'lib/v20180228/models.rb', line 19644 def RequestId @RequestId end |
#TotalCount ⇒ Object
19644 19645 19646 |
# File 'lib/v20180228/models.rb', line 19644 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
19652 19653 19654 19655 19656 19657 19658 19659 19660 19661 19662 19663 |
# File 'lib/v20180228/models.rb', line 19652 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 |