Class: TencentCloud::Youmall::V20180228::DescribeTrajectoryDataResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Youmall::V20180228::DescribeTrajectoryDataResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeTrajectoryData返回参数结构体
Instance Attribute Summary collapse
- #CompanyId ⇒ Object
- #Data ⇒ Object
- #Person ⇒ Object
- #RequestId ⇒ Object
- #ShopId ⇒ Object
- #TotalPerson ⇒ Object
- #TotalTrajectory ⇒ Object
- #Trajectory ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(companyid = nil, shopid = nil, totalperson = nil, totaltrajectory = nil, person = nil, trajectory = nil, data = nil, requestid = nil) ⇒ DescribeTrajectoryDataResponse
constructor
A new instance of DescribeTrajectoryDataResponse.
Constructor Details
#initialize(companyid = nil, shopid = nil, totalperson = nil, totaltrajectory = nil, person = nil, trajectory = nil, data = nil, requestid = nil) ⇒ DescribeTrajectoryDataResponse
Returns a new instance of DescribeTrajectoryDataResponse.
1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 |
# File 'lib/v20180228/models.rb', line 1432 def initialize(companyid=nil, shopid=nil, totalperson=nil, totaltrajectory=nil, person=nil, trajectory=nil, data=nil, requestid=nil) @CompanyId = companyid @ShopId = shopid @TotalPerson = totalperson @TotalTrajectory = totaltrajectory @Person = person @Trajectory = trajectory @Data = data @RequestId = requestid end |
Instance Attribute Details
#CompanyId ⇒ Object
1430 1431 1432 |
# File 'lib/v20180228/models.rb', line 1430 def CompanyId @CompanyId end |
#Data ⇒ Object
1430 1431 1432 |
# File 'lib/v20180228/models.rb', line 1430 def Data @Data end |
#Person ⇒ Object
1430 1431 1432 |
# File 'lib/v20180228/models.rb', line 1430 def Person @Person end |
#RequestId ⇒ Object
1430 1431 1432 |
# File 'lib/v20180228/models.rb', line 1430 def RequestId @RequestId end |
#ShopId ⇒ Object
1430 1431 1432 |
# File 'lib/v20180228/models.rb', line 1430 def ShopId @ShopId end |
#TotalPerson ⇒ Object
1430 1431 1432 |
# File 'lib/v20180228/models.rb', line 1430 def TotalPerson @TotalPerson end |
#TotalTrajectory ⇒ Object
1430 1431 1432 |
# File 'lib/v20180228/models.rb', line 1430 def TotalTrajectory @TotalTrajectory end |
#Trajectory ⇒ Object
1430 1431 1432 |
# File 'lib/v20180228/models.rb', line 1430 def Trajectory @Trajectory end |
Instance Method Details
#deserialize(params) ⇒ Object
1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 |
# File 'lib/v20180228/models.rb', line 1443 def deserialize(params) @CompanyId = params['CompanyId'] @ShopId = params['ShopId'] @TotalPerson = params['TotalPerson'] @TotalTrajectory = params['TotalTrajectory'] @Person = params['Person'] @Trajectory = params['Trajectory'] unless params['Data'].nil? @Data = [] params['Data'].each do |i| trajectorysundata_tmp = TrajectorySunData.new trajectorysundata_tmp.deserialize(i) @Data << trajectorysundata_tmp end end @RequestId = params['RequestId'] end |