Class: TencentCloud::Cwp::V20180228::DescribeRansomDefenseBackupListResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeRansomDefenseBackupListResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeRansomDefenseBackupList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(list = nil, totalcount = nil, requestid = nil) ⇒ DescribeRansomDefenseBackupListResponse
constructor
A new instance of DescribeRansomDefenseBackupListResponse.
Constructor Details
#initialize(list = nil, totalcount = nil, requestid = nil) ⇒ DescribeRansomDefenseBackupListResponse
Returns a new instance of DescribeRansomDefenseBackupListResponse.
19565 19566 19567 19568 19569 |
# File 'lib/v20180228/models.rb', line 19565 def initialize(list=nil, totalcount=nil, requestid=nil) @List = list @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
19563 19564 19565 |
# File 'lib/v20180228/models.rb', line 19563 def List @List end |
#RequestId ⇒ Object
19563 19564 19565 |
# File 'lib/v20180228/models.rb', line 19563 def RequestId @RequestId end |
#TotalCount ⇒ Object
19563 19564 19565 |
# File 'lib/v20180228/models.rb', line 19563 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
19571 19572 19573 19574 19575 19576 19577 19578 19579 19580 19581 19582 |
# File 'lib/v20180228/models.rb', line 19571 def deserialize(params) unless params['List'].nil? @List = [] params['List'].each do |i| ransomdefensebackup_tmp = RansomDefenseBackup.new ransomdefensebackup_tmp.deserialize(i) @List << ransomdefensebackup_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |