Class: TencentCloud::Youmall::V20180228::DescribeShopTrafficInfoResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Youmall::V20180228::DescribeShopTrafficInfoResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeShopTrafficInfo返回参数结构体
Instance Attribute Summary collapse
- #CompanyId ⇒ Object
- #RequestId ⇒ Object
- #ShopDayTrafficInfoSet ⇒ Object
- #ShopId ⇒ Object
- #TotalCount ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(companyid = nil, shopid = nil, totalcount = nil, shopdaytrafficinfoset = nil, requestid = nil) ⇒ DescribeShopTrafficInfoResponse
constructor
A new instance of DescribeShopTrafficInfoResponse.
Constructor Details
#initialize(companyid = nil, shopid = nil, totalcount = nil, shopdaytrafficinfoset = nil, requestid = nil) ⇒ DescribeShopTrafficInfoResponse
Returns a new instance of DescribeShopTrafficInfoResponse.
1351 1352 1353 1354 1355 1356 1357 |
# File 'lib/v20180228/models.rb', line 1351 def initialize(companyid=nil, shopid=nil, totalcount=nil, shopdaytrafficinfoset=nil, requestid=nil) @CompanyId = companyid @ShopId = shopid @TotalCount = totalcount @ShopDayTrafficInfoSet = shopdaytrafficinfoset @RequestId = requestid end |
Instance Attribute Details
#CompanyId ⇒ Object
1349 1350 1351 |
# File 'lib/v20180228/models.rb', line 1349 def CompanyId @CompanyId end |
#RequestId ⇒ Object
1349 1350 1351 |
# File 'lib/v20180228/models.rb', line 1349 def RequestId @RequestId end |
#ShopDayTrafficInfoSet ⇒ Object
1349 1350 1351 |
# File 'lib/v20180228/models.rb', line 1349 def ShopDayTrafficInfoSet @ShopDayTrafficInfoSet end |
#ShopId ⇒ Object
1349 1350 1351 |
# File 'lib/v20180228/models.rb', line 1349 def ShopId @ShopId end |
#TotalCount ⇒ Object
1349 1350 1351 |
# File 'lib/v20180228/models.rb', line 1349 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 |
# File 'lib/v20180228/models.rb', line 1359 def deserialize(params) @CompanyId = params['CompanyId'] @ShopId = params['ShopId'] @TotalCount = params['TotalCount'] unless params['ShopDayTrafficInfoSet'].nil? @ShopDayTrafficInfoSet = [] params['ShopDayTrafficInfoSet'].each do |i| shopdaytrafficinfo_tmp = ShopDayTrafficInfo.new shopdaytrafficinfo_tmp.deserialize(i) @ShopDayTrafficInfoSet << shopdaytrafficinfo_tmp end end @RequestId = params['RequestId'] end |