Class: TencentCloud::Yunjing::V20180228::DescribeWeeklyReportsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Yunjing::V20180228::DescribeWeeklyReportsResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeWeeklyReports返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(weeklyreports = nil, totalcount = nil, requestid = nil) ⇒ DescribeWeeklyReportsResponse
constructor
A new instance of DescribeWeeklyReportsResponse.
Constructor Details
#initialize(weeklyreports = nil, totalcount = nil, requestid = nil) ⇒ DescribeWeeklyReportsResponse
Returns a new instance of DescribeWeeklyReportsResponse.
4258 4259 4260 4261 4262 |
# File 'lib/v20180228/models.rb', line 4258 def initialize(weeklyreports=nil, totalcount=nil, requestid=nil) @WeeklyReports = weeklyreports @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
4256 4257 4258 |
# File 'lib/v20180228/models.rb', line 4256 def RequestId @RequestId end |
#TotalCount ⇒ Object
4256 4257 4258 |
# File 'lib/v20180228/models.rb', line 4256 def TotalCount @TotalCount end |
#WeeklyReports ⇒ Object
4256 4257 4258 |
# File 'lib/v20180228/models.rb', line 4256 def WeeklyReports @WeeklyReports end |
Instance Method Details
#deserialize(params) ⇒ Object
4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 |
# File 'lib/v20180228/models.rb', line 4264 def deserialize(params) unless params['WeeklyReports'].nil? @WeeklyReports = [] params['WeeklyReports'].each do |i| weeklyreport_tmp = WeeklyReport.new weeklyreport_tmp.deserialize(i) @WeeklyReports << weeklyreport_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |