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.
18510 18511 18512 18513 18514 |
# File 'lib/v20180228/models.rb', line 18510 def initialize(totalcount=nil, affectlist=nil, requestid=nil) @TotalCount = totalcount @AffectList = affectlist @RequestId = requestid end |
Instance Attribute Details
#AffectList ⇒ Object
18508 18509 18510 |
# File 'lib/v20180228/models.rb', line 18508 def AffectList @AffectList end |
#RequestId ⇒ Object
18508 18509 18510 |
# File 'lib/v20180228/models.rb', line 18508 def RequestId @RequestId end |
#TotalCount ⇒ Object
18508 18509 18510 |
# File 'lib/v20180228/models.rb', line 18508 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
18516 18517 18518 18519 18520 18521 18522 18523 18524 18525 18526 18527 |
# File 'lib/v20180228/models.rb', line 18516 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 |