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.
19161 19162 19163 19164 19165 |
# File 'lib/v20180228/models.rb', line 19161 def initialize(list=nil, totalcount=nil, requestid=nil) @List = list @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
19159 19160 19161 |
# File 'lib/v20180228/models.rb', line 19159 def List @List end |
#RequestId ⇒ Object
19159 19160 19161 |
# File 'lib/v20180228/models.rb', line 19159 def RequestId @RequestId end |
#TotalCount ⇒ Object
19159 19160 19161 |
# File 'lib/v20180228/models.rb', line 19159 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
19167 19168 19169 19170 19171 19172 19173 19174 19175 19176 19177 19178 |
# File 'lib/v20180228/models.rb', line 19167 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 |