Class: TencentCloud::Yunjing::V20180228::DescribeWeeklyReportVulsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Yunjing::V20180228::DescribeWeeklyReportVulsResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeWeeklyReportVuls返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(weeklyreportvuls = nil, totalcount = nil, requestid = nil) ⇒ DescribeWeeklyReportVulsResponse
constructor
A new instance of DescribeWeeklyReportVulsResponse.
Constructor Details
#initialize(weeklyreportvuls = nil, totalcount = nil, requestid = nil) ⇒ DescribeWeeklyReportVulsResponse
Returns a new instance of DescribeWeeklyReportVulsResponse.
4207 4208 4209 4210 4211 |
# File 'lib/v20180228/models.rb', line 4207 def initialize(weeklyreportvuls=nil, totalcount=nil, requestid=nil) @WeeklyReportVuls = weeklyreportvuls @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
4205 4206 4207 |
# File 'lib/v20180228/models.rb', line 4205 def RequestId @RequestId end |
#TotalCount ⇒ Object
4205 4206 4207 |
# File 'lib/v20180228/models.rb', line 4205 def TotalCount @TotalCount end |
#WeeklyReportVuls ⇒ Object
4205 4206 4207 |
# File 'lib/v20180228/models.rb', line 4205 def WeeklyReportVuls @WeeklyReportVuls end |
Instance Method Details
#deserialize(params) ⇒ Object
4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 |
# File 'lib/v20180228/models.rb', line 4213 def deserialize(params) unless params['WeeklyReportVuls'].nil? @WeeklyReportVuls = [] params['WeeklyReportVuls'].each do |i| weeklyreportvul_tmp = WeeklyReportVul.new weeklyreportvul_tmp.deserialize(i) @WeeklyReportVuls << weeklyreportvul_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |