Class: TencentCloud::Cwp::V20180228::DescribeMalwareWhiteListAffectListResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeMalwareWhiteListAffectListResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeMalwareWhiteListAffectList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, affectlist = nil, requestid = nil) ⇒ DescribeMalwareWhiteListAffectListResponse
constructor
A new instance of DescribeMalwareWhiteListAffectListResponse.
Constructor Details
#initialize(totalcount = nil, affectlist = nil, requestid = nil) ⇒ DescribeMalwareWhiteListAffectListResponse
Returns a new instance of DescribeMalwareWhiteListAffectListResponse.
18229 18230 18231 18232 18233 |
# File 'lib/v20180228/models.rb', line 18229 def initialize(totalcount=nil, affectlist=nil, requestid=nil) @TotalCount = totalcount @AffectList = affectlist @RequestId = requestid end |
Instance Attribute Details
#AffectList ⇒ Object
18227 18228 18229 |
# File 'lib/v20180228/models.rb', line 18227 def AffectList @AffectList end |
#RequestId ⇒ Object
18227 18228 18229 |
# File 'lib/v20180228/models.rb', line 18227 def RequestId @RequestId end |
#TotalCount ⇒ Object
18227 18228 18229 |
# File 'lib/v20180228/models.rb', line 18227 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
18235 18236 18237 18238 18239 18240 18241 18242 18243 18244 18245 18246 |
# File 'lib/v20180228/models.rb', line 18235 def deserialize(params) @TotalCount = params['TotalCount'] unless params['AffectList'].nil? @AffectList = [] params['AffectList'].each do |i| malwarewhitelistaffectevent_tmp = MalwareWhiteListAffectEvent.new malwarewhitelistaffectevent_tmp.deserialize(i) @AffectList << malwarewhitelistaffectevent_tmp end end @RequestId = params['RequestId'] end |