Class: TencentCloud::Cwp::V20180228::DescribeMalWareListResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeMalWareListResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeMalWareList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(malwarelist = nil, totalcount = nil, requestid = nil) ⇒ DescribeMalWareListResponse
constructor
A new instance of DescribeMalWareListResponse.
Constructor Details
#initialize(malwarelist = nil, totalcount = nil, requestid = nil) ⇒ DescribeMalWareListResponse
Returns a new instance of DescribeMalWareListResponse.
18081 18082 18083 18084 18085 |
# File 'lib/v20180228/models.rb', line 18081 def initialize(malwarelist=nil, totalcount=nil, requestid=nil) @MalWareList = malwarelist @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#MalWareList ⇒ Object
18079 18080 18081 |
# File 'lib/v20180228/models.rb', line 18079 def MalWareList @MalWareList end |
#RequestId ⇒ Object
18079 18080 18081 |
# File 'lib/v20180228/models.rb', line 18079 def RequestId @RequestId end |
#TotalCount ⇒ Object
18079 18080 18081 |
# File 'lib/v20180228/models.rb', line 18079 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
18087 18088 18089 18090 18091 18092 18093 18094 18095 18096 18097 18098 |
# File 'lib/v20180228/models.rb', line 18087 def deserialize(params) unless params['MalWareList'].nil? @MalWareList = [] params['MalWareList'].each do |i| malwarelist_tmp = MalWareList.new malwarelist_tmp.deserialize(i) @MalWareList << malwarelist_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |