Class: TencentCloud::Yunjing::V20180228::DescribeWeeklyReportsResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180228/models.rb

Overview

DescribeWeeklyReports返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#RequestIdObject

Parameters:

  • WeeklyReports:

    专业周报列表数组。

  • TotalCount:

    记录总数。

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



4256
4257
4258
# File 'lib/v20180228/models.rb', line 4256

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • WeeklyReports:

    专业周报列表数组。

  • TotalCount:

    记录总数。

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



4256
4257
4258
# File 'lib/v20180228/models.rb', line 4256

def TotalCount
  @TotalCount
end

#WeeklyReportsObject

Parameters:

  • WeeklyReports:

    专业周报列表数组。

  • TotalCount:

    记录总数。

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



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