Class: TencentCloud::Yunjing::V20180228::DescribeMalwaresResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Yunjing::V20180228::DescribeMalwaresResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeMalwares返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, malwares = nil, requestid = nil) ⇒ DescribeMalwaresResponse
constructor
A new instance of DescribeMalwaresResponse.
Constructor Details
#initialize(totalcount = nil, malwares = nil, requestid = nil) ⇒ DescribeMalwaresResponse
Returns a new instance of DescribeMalwaresResponse.
2620 2621 2622 2623 2624 |
# File 'lib/v20180228/models.rb', line 2620 def initialize(totalcount=nil, malwares=nil, requestid=nil) @TotalCount = totalcount @Malwares = malwares @RequestId = requestid end |
Instance Attribute Details
#Malwares ⇒ Object
2618 2619 2620 |
# File 'lib/v20180228/models.rb', line 2618 def Malwares @Malwares end |
#RequestId ⇒ Object
2618 2619 2620 |
# File 'lib/v20180228/models.rb', line 2618 def RequestId @RequestId end |
#TotalCount ⇒ Object
2618 2619 2620 |
# File 'lib/v20180228/models.rb', line 2618 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 |
# File 'lib/v20180228/models.rb', line 2626 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Malwares'].nil? @Malwares = [] params['Malwares'].each do |i| malware_tmp = Malware.new malware_tmp.deserialize(i) @Malwares << malware_tmp end end @RequestId = params['RequestId'] end |