Class: TencentCloud::Youmall::V20180228::DescribeShopHourTrafficInfoResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Youmall::V20180228::DescribeShopHourTrafficInfoResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeShopHourTrafficInfo返回参数结构体
Instance Attribute Summary collapse
- #CompanyId ⇒ Object
- #RequestId ⇒ Object
- #ShopHourTrafficInfoSet ⇒ Object
- #ShopId ⇒ Object
- #TotalCount ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(companyid = nil, shopid = nil, totalcount = nil, shophourtrafficinfoset = nil, requestid = nil) ⇒ DescribeShopHourTrafficInfoResponse
constructor
A new instance of DescribeShopHourTrafficInfoResponse.
Constructor Details
#initialize(companyid = nil, shopid = nil, totalcount = nil, shophourtrafficinfoset = nil, requestid = nil) ⇒ DescribeShopHourTrafficInfoResponse
Returns a new instance of DescribeShopHourTrafficInfoResponse.
1225 1226 1227 1228 1229 1230 1231 |
# File 'lib/v20180228/models.rb', line 1225 def initialize(companyid=nil, shopid=nil, totalcount=nil, shophourtrafficinfoset=nil, requestid=nil) @CompanyId = companyid @ShopId = shopid @TotalCount = totalcount @ShopHourTrafficInfoSet = shophourtrafficinfoset @RequestId = requestid end |
Instance Attribute Details
#CompanyId ⇒ Object
1223 1224 1225 |
# File 'lib/v20180228/models.rb', line 1223 def CompanyId @CompanyId end |
#RequestId ⇒ Object
1223 1224 1225 |
# File 'lib/v20180228/models.rb', line 1223 def RequestId @RequestId end |
#ShopHourTrafficInfoSet ⇒ Object
1223 1224 1225 |
# File 'lib/v20180228/models.rb', line 1223 def ShopHourTrafficInfoSet @ShopHourTrafficInfoSet end |
#ShopId ⇒ Object
1223 1224 1225 |
# File 'lib/v20180228/models.rb', line 1223 def ShopId @ShopId end |
#TotalCount ⇒ Object
1223 1224 1225 |
# File 'lib/v20180228/models.rb', line 1223 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 |
# File 'lib/v20180228/models.rb', line 1233 def deserialize(params) @CompanyId = params['CompanyId'] @ShopId = params['ShopId'] @TotalCount = params['TotalCount'] unless params['ShopHourTrafficInfoSet'].nil? @ShopHourTrafficInfoSet = [] params['ShopHourTrafficInfoSet'].each do |i| shophourtrafficinfo_tmp = ShopHourTrafficInfo.new shophourtrafficinfo_tmp.deserialize(i) @ShopHourTrafficInfoSet << shophourtrafficinfo_tmp end end @RequestId = params['RequestId'] end |