Class: TencentCloud::Yunjing::V20180228::DescribeWeeklyReportMalwaresResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Yunjing::V20180228::DescribeWeeklyReportMalwaresResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeWeeklyReportMalwares返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(weeklyreportmalwares = nil, totalcount = nil, requestid = nil) ⇒ DescribeWeeklyReportMalwaresResponse
constructor
A new instance of DescribeWeeklyReportMalwaresResponse.
Constructor Details
#initialize(weeklyreportmalwares = nil, totalcount = nil, requestid = nil) ⇒ DescribeWeeklyReportMalwaresResponse
Returns a new instance of DescribeWeeklyReportMalwaresResponse.
4097 4098 4099 4100 4101 |
# File 'lib/v20180228/models.rb', line 4097 def initialize(weeklyreportmalwares=nil, totalcount=nil, requestid=nil) @WeeklyReportMalwares = weeklyreportmalwares @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
4095 4096 4097 |
# File 'lib/v20180228/models.rb', line 4095 def RequestId @RequestId end |
#TotalCount ⇒ Object
4095 4096 4097 |
# File 'lib/v20180228/models.rb', line 4095 def TotalCount @TotalCount end |
#WeeklyReportMalwares ⇒ Object
4095 4096 4097 |
# File 'lib/v20180228/models.rb', line 4095 def WeeklyReportMalwares @WeeklyReportMalwares end |
Instance Method Details
#deserialize(params) ⇒ Object
4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 |
# File 'lib/v20180228/models.rb', line 4103 def deserialize(params) unless params['WeeklyReportMalwares'].nil? @WeeklyReportMalwares = [] params['WeeklyReportMalwares'].each do |i| weeklyreportmalware_tmp = WeeklyReportMalware.new weeklyreportmalware_tmp.deserialize(i) @WeeklyReportMalwares << weeklyreportmalware_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |