tencentcloud-sdk-youmall 1.0.200

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2998 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ module TencentCloud
18
+ module Youmall
19
+ module V20180228
20
+ # 客户到场信息
21
+ class ArrivedMallInfo < TencentCloud::Common::AbstractModel
22
+ # @param ArrivedTime: 到场时间
23
+ # @type ArrivedTime: String
24
+ # @param LeaveTime: 出场时间
25
+ # @type LeaveTime: String
26
+ # @param StaySecond: 停留时间,秒
27
+ # @type StaySecond: Integer
28
+ # @param InCapPic: 到场抓拍图片
29
+ # @type InCapPic: String
30
+ # @param OutCapPic: 出场抓拍图片
31
+ # @type OutCapPic: String
32
+ # @param TraceId: 轨迹编码
33
+ # @type TraceId: String
34
+
35
+ attr_accessor :ArrivedTime, :LeaveTime, :StaySecond, :InCapPic, :OutCapPic, :TraceId
36
+
37
+ def initialize(arrivedtime=nil, leavetime=nil, staysecond=nil, incappic=nil, outcappic=nil, traceid=nil)
38
+ @ArrivedTime = arrivedtime
39
+ @LeaveTime = leavetime
40
+ @StaySecond = staysecond
41
+ @InCapPic = incappic
42
+ @OutCapPic = outcappic
43
+ @TraceId = traceid
44
+ end
45
+
46
+ def deserialize(params)
47
+ @ArrivedTime = params['ArrivedTime']
48
+ @LeaveTime = params['LeaveTime']
49
+ @StaySecond = params['StaySecond']
50
+ @InCapPic = params['InCapPic']
51
+ @OutCapPic = params['OutCapPic']
52
+ @TraceId = params['TraceId']
53
+ end
54
+ end
55
+
56
+ # 摄像头抓图人物属性
57
+ class CameraPersonInfo < TencentCloud::Common::AbstractModel
58
+ # @param TempId: 临时id,还未生成face id时返回
59
+ # @type TempId: String
60
+ # @param FaceId: 人脸face id
61
+ # @type FaceId: Integer
62
+ # @param IdType: 确定当次返回的哪个id有效,1-FaceId,2-TempId
63
+ # @type IdType: Integer
64
+ # @param FacePic: 当次抓拍到的人脸图片base编码
65
+ # @type FacePic: String
66
+ # @param Time: 当次抓拍时间戳
67
+ # @type Time: Integer
68
+ # @param PersonInfo: 当前的person基本信息,图片以FacePic为准,结构体内未填
69
+ # @type PersonInfo: :class:`Tencentcloud::Youmall.v20180228.models.PersonInfo`
70
+
71
+ attr_accessor :TempId, :FaceId, :IdType, :FacePic, :Time, :PersonInfo
72
+
73
+ def initialize(tempid=nil, faceid=nil, idtype=nil, facepic=nil, time=nil, personinfo=nil)
74
+ @TempId = tempid
75
+ @FaceId = faceid
76
+ @IdType = idtype
77
+ @FacePic = facepic
78
+ @Time = time
79
+ @PersonInfo = personinfo
80
+ end
81
+
82
+ def deserialize(params)
83
+ @TempId = params['TempId']
84
+ @FaceId = params['FaceId']
85
+ @IdType = params['IdType']
86
+ @FacePic = params['FacePic']
87
+ @Time = params['Time']
88
+ unless params['PersonInfo'].nil?
89
+ @PersonInfo = PersonInfo.new
90
+ @PersonInfo.deserialize(params['PersonInfo'])
91
+ end
92
+ end
93
+ end
94
+
95
+ # CreateAccount请求参数结构体
96
+ class CreateAccountRequest < TencentCloud::Common::AbstractModel
97
+ # @param CompanyId: 集团ID
98
+ # @type CompanyId: String
99
+ # @param Name: 账号名;需要是手机号
100
+ # @type Name: String
101
+ # @param Password: 密码;需要是(`~!@#$%^&*()_+=-)中的至少两种且八位以上
102
+ # @type Password: String
103
+ # @param ShopCode: 客户门店编码
104
+ # @type ShopCode: String
105
+ # @param Remark: 备注说明; 30个字符以内
106
+ # @type Remark: String
107
+
108
+ attr_accessor :CompanyId, :Name, :Password, :ShopCode, :Remark
109
+
110
+ def initialize(companyid=nil, name=nil, password=nil, shopcode=nil, remark=nil)
111
+ @CompanyId = companyid
112
+ @Name = name
113
+ @Password = password
114
+ @ShopCode = shopcode
115
+ @Remark = remark
116
+ end
117
+
118
+ def deserialize(params)
119
+ @CompanyId = params['CompanyId']
120
+ @Name = params['Name']
121
+ @Password = params['Password']
122
+ @ShopCode = params['ShopCode']
123
+ @Remark = params['Remark']
124
+ end
125
+ end
126
+
127
+ # CreateAccount返回参数结构体
128
+ class CreateAccountResponse < TencentCloud::Common::AbstractModel
129
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
130
+ # @type RequestId: String
131
+
132
+ attr_accessor :RequestId
133
+
134
+ def initialize(requestid=nil)
135
+ @RequestId = requestid
136
+ end
137
+
138
+ def deserialize(params)
139
+ @RequestId = params['RequestId']
140
+ end
141
+ end
142
+
143
+ # CreateFacePicture请求参数结构体
144
+ class CreateFacePictureRequest < TencentCloud::Common::AbstractModel
145
+ # @param CompanyId: 集团ID
146
+ # @type CompanyId: String
147
+ # @param PersonType: 人物类型(0表示普通顾客,1 白名单,2 表示黑名单,101表示集团白名单,102表示集团黑名单)
148
+ # @type PersonType: Integer
149
+ # @param Picture: 图片BASE编码
150
+ # @type Picture: String
151
+ # @param PictureName: 图片名称
152
+ # @type PictureName: String
153
+ # @param ShopId: 店铺ID,如果不填表示操作集团身份库
154
+ # @type ShopId: Integer
155
+ # @param IsForceUpload: 是否强制更新:为ture时会为用户创建一个新的指定PersonType的身份;目前这个参数已废弃,可不传
156
+ # @type IsForceUpload: Boolean
157
+
158
+ attr_accessor :CompanyId, :PersonType, :Picture, :PictureName, :ShopId, :IsForceUpload
159
+
160
+ def initialize(companyid=nil, persontype=nil, picture=nil, picturename=nil, shopid=nil, isforceupload=nil)
161
+ @CompanyId = companyid
162
+ @PersonType = persontype
163
+ @Picture = picture
164
+ @PictureName = picturename
165
+ @ShopId = shopid
166
+ @IsForceUpload = isforceupload
167
+ end
168
+
169
+ def deserialize(params)
170
+ @CompanyId = params['CompanyId']
171
+ @PersonType = params['PersonType']
172
+ @Picture = params['Picture']
173
+ @PictureName = params['PictureName']
174
+ @ShopId = params['ShopId']
175
+ @IsForceUpload = params['IsForceUpload']
176
+ end
177
+ end
178
+
179
+ # CreateFacePicture返回参数结构体
180
+ class CreateFacePictureResponse < TencentCloud::Common::AbstractModel
181
+ # @param PersonId: 人物ID
182
+ # @type PersonId: Integer
183
+ # @param Status: 0.正常建档 1.重复身份 2.未检测到人脸 3.检测到多个人脸 4.人脸大小过小 5.人脸质量不达标 6.其他错误
184
+ # @type Status: Integer
185
+ # @param PictureUrl: 图片url
186
+ # @type PictureUrl: String
187
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
188
+ # @type RequestId: String
189
+
190
+ attr_accessor :PersonId, :Status, :PictureUrl, :RequestId
191
+
192
+ def initialize(personid=nil, status=nil, pictureurl=nil, requestid=nil)
193
+ @PersonId = personid
194
+ @Status = status
195
+ @PictureUrl = pictureurl
196
+ @RequestId = requestid
197
+ end
198
+
199
+ def deserialize(params)
200
+ @PersonId = params['PersonId']
201
+ @Status = params['Status']
202
+ @PictureUrl = params['PictureUrl']
203
+ @RequestId = params['RequestId']
204
+ end
205
+ end
206
+
207
+ # 客户天轨迹
208
+ class DailyTracePoint < TencentCloud::Common::AbstractModel
209
+ # @param TraceDate: 轨迹日期
210
+ # @type TraceDate: String
211
+ # @param TracePointSet: 轨迹点序列
212
+ # @type TracePointSet: Array
213
+
214
+ attr_accessor :TraceDate, :TracePointSet
215
+
216
+ def initialize(tracedate=nil, tracepointset=nil)
217
+ @TraceDate = tracedate
218
+ @TracePointSet = tracepointset
219
+ end
220
+
221
+ def deserialize(params)
222
+ @TraceDate = params['TraceDate']
223
+ unless params['TracePointSet'].nil?
224
+ @TracePointSet = []
225
+ params['TracePointSet'].each do |i|
226
+ persontracepoint_tmp = PersonTracePoint.new
227
+ persontracepoint_tmp.deserialize(i)
228
+ @TracePointSet << persontracepoint_tmp
229
+ end
230
+ end
231
+ end
232
+ end
233
+
234
+ # DeletePersonFeature请求参数结构体
235
+ class DeletePersonFeatureRequest < TencentCloud::Common::AbstractModel
236
+ # @param CompanyId: 公司ID
237
+ # @type CompanyId: String
238
+ # @param ShopId: 门店ID
239
+ # @type ShopId: Integer
240
+ # @param PersonId: 顾客ID
241
+ # @type PersonId: Integer
242
+
243
+ attr_accessor :CompanyId, :ShopId, :PersonId
244
+
245
+ def initialize(companyid=nil, shopid=nil, personid=nil)
246
+ @CompanyId = companyid
247
+ @ShopId = shopid
248
+ @PersonId = personid
249
+ end
250
+
251
+ def deserialize(params)
252
+ @CompanyId = params['CompanyId']
253
+ @ShopId = params['ShopId']
254
+ @PersonId = params['PersonId']
255
+ end
256
+ end
257
+
258
+ # DeletePersonFeature返回参数结构体
259
+ class DeletePersonFeatureResponse < TencentCloud::Common::AbstractModel
260
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
261
+ # @type RequestId: String
262
+
263
+ attr_accessor :RequestId
264
+
265
+ def initialize(requestid=nil)
266
+ @RequestId = requestid
267
+ end
268
+
269
+ def deserialize(params)
270
+ @RequestId = params['RequestId']
271
+ end
272
+ end
273
+
274
+ # DescribeCameraPerson请求参数结构体
275
+ class DescribeCameraPersonRequest < TencentCloud::Common::AbstractModel
276
+ # @param CompanyId: 优mall集团id,通过"指定身份标识获取客户门店列表"接口获取
277
+ # @type CompanyId: String
278
+ # @param ShopId: 优mall店铺id,通过"指定身份标识获取客户门店列表"接口获取
279
+ # @type ShopId: Integer
280
+ # @param CameraId: 摄像头id
281
+ # @type CameraId: Integer
282
+ # @param StartTime: 拉取开始时间戳,单位秒
283
+ # @type StartTime: Integer
284
+ # @param EndTime: 拉取结束时间戳,单位秒,不超过StartTime+10秒,超过默认为StartTime+10
285
+ # @type EndTime: Integer
286
+ # @param PosId: pos机id
287
+ # @type PosId: String
288
+ # @param Num: 拉取图片数,默认为1,最大为3
289
+ # @type Num: Integer
290
+ # @param IsNeedPic: 是否需要base64的图片,0-不需要,1-需要,默认0
291
+ # @type IsNeedPic: Integer
292
+
293
+ attr_accessor :CompanyId, :ShopId, :CameraId, :StartTime, :EndTime, :PosId, :Num, :IsNeedPic
294
+
295
+ def initialize(companyid=nil, shopid=nil, cameraid=nil, starttime=nil, endtime=nil, posid=nil, num=nil, isneedpic=nil)
296
+ @CompanyId = companyid
297
+ @ShopId = shopid
298
+ @CameraId = cameraid
299
+ @StartTime = starttime
300
+ @EndTime = endtime
301
+ @PosId = posid
302
+ @Num = num
303
+ @IsNeedPic = isneedpic
304
+ end
305
+
306
+ def deserialize(params)
307
+ @CompanyId = params['CompanyId']
308
+ @ShopId = params['ShopId']
309
+ @CameraId = params['CameraId']
310
+ @StartTime = params['StartTime']
311
+ @EndTime = params['EndTime']
312
+ @PosId = params['PosId']
313
+ @Num = params['Num']
314
+ @IsNeedPic = params['IsNeedPic']
315
+ end
316
+ end
317
+
318
+ # DescribeCameraPerson返回参数结构体
319
+ class DescribeCameraPersonResponse < TencentCloud::Common::AbstractModel
320
+ # @param CompanyId: 集团id
321
+ # @type CompanyId: String
322
+ # @param ShopId: 店铺id
323
+ # @type ShopId: Integer
324
+ # @param CameraId: 摄像机id
325
+ # @type CameraId: Integer
326
+ # @param PosId: pos机id
327
+ # @type PosId: String
328
+ # @param Infos: 抓取的顾客信息
329
+ # @type Infos: Array
330
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
331
+ # @type RequestId: String
332
+
333
+ attr_accessor :CompanyId, :ShopId, :CameraId, :PosId, :Infos, :RequestId
334
+
335
+ def initialize(companyid=nil, shopid=nil, cameraid=nil, posid=nil, infos=nil, requestid=nil)
336
+ @CompanyId = companyid
337
+ @ShopId = shopid
338
+ @CameraId = cameraid
339
+ @PosId = posid
340
+ @Infos = infos
341
+ @RequestId = requestid
342
+ end
343
+
344
+ def deserialize(params)
345
+ @CompanyId = params['CompanyId']
346
+ @ShopId = params['ShopId']
347
+ @CameraId = params['CameraId']
348
+ @PosId = params['PosId']
349
+ unless params['Infos'].nil?
350
+ @Infos = []
351
+ params['Infos'].each do |i|
352
+ camerapersoninfo_tmp = CameraPersonInfo.new
353
+ camerapersoninfo_tmp.deserialize(i)
354
+ @Infos << camerapersoninfo_tmp
355
+ end
356
+ end
357
+ @RequestId = params['RequestId']
358
+ end
359
+ end
360
+
361
+ # DescribeClusterPersonArrivedMall请求参数结构体
362
+ class DescribeClusterPersonArrivedMallRequest < TencentCloud::Common::AbstractModel
363
+ # @param MallId: 卖场编码
364
+ # @type MallId: String
365
+ # @param PersonId: 客户编码
366
+ # @type PersonId: String
367
+ # @param StartTime: 查询开始时间
368
+ # @type StartTime: String
369
+ # @param EndTime: 查询结束时间
370
+ # @type EndTime: String
371
+
372
+ attr_accessor :MallId, :PersonId, :StartTime, :EndTime
373
+
374
+ def initialize(mallid=nil, personid=nil, starttime=nil, endtime=nil)
375
+ @MallId = mallid
376
+ @PersonId = personid
377
+ @StartTime = starttime
378
+ @EndTime = endtime
379
+ end
380
+
381
+ def deserialize(params)
382
+ @MallId = params['MallId']
383
+ @PersonId = params['PersonId']
384
+ @StartTime = params['StartTime']
385
+ @EndTime = params['EndTime']
386
+ end
387
+ end
388
+
389
+ # DescribeClusterPersonArrivedMall返回参数结构体
390
+ class DescribeClusterPersonArrivedMallResponse < TencentCloud::Common::AbstractModel
391
+ # @param MallId: 卖场系统编码
392
+ # @type MallId: String
393
+ # @param MallCode: 卖场客户编码
394
+ # @type MallCode: String
395
+ # @param PersonId: 客户编码
396
+ # @type PersonId: String
397
+ # @param ArrivedMallSet: 到场信息
398
+ # @type ArrivedMallSet: Array
399
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
400
+ # @type RequestId: String
401
+
402
+ attr_accessor :MallId, :MallCode, :PersonId, :ArrivedMallSet, :RequestId
403
+
404
+ def initialize(mallid=nil, mallcode=nil, personid=nil, arrivedmallset=nil, requestid=nil)
405
+ @MallId = mallid
406
+ @MallCode = mallcode
407
+ @PersonId = personid
408
+ @ArrivedMallSet = arrivedmallset
409
+ @RequestId = requestid
410
+ end
411
+
412
+ def deserialize(params)
413
+ @MallId = params['MallId']
414
+ @MallCode = params['MallCode']
415
+ @PersonId = params['PersonId']
416
+ unless params['ArrivedMallSet'].nil?
417
+ @ArrivedMallSet = []
418
+ params['ArrivedMallSet'].each do |i|
419
+ arrivedmallinfo_tmp = ArrivedMallInfo.new
420
+ arrivedmallinfo_tmp.deserialize(i)
421
+ @ArrivedMallSet << arrivedmallinfo_tmp
422
+ end
423
+ end
424
+ @RequestId = params['RequestId']
425
+ end
426
+ end
427
+
428
+ # DescribeClusterPersonTrace请求参数结构体
429
+ class DescribeClusterPersonTraceRequest < TencentCloud::Common::AbstractModel
430
+ # @param MallId: 卖场编码
431
+ # @type MallId: String
432
+ # @param PersonId: 客户编码
433
+ # @type PersonId: String
434
+ # @param StartTime: 查询开始时间
435
+ # @type StartTime: String
436
+ # @param EndTime: 查询结束时间
437
+ # @type EndTime: String
438
+
439
+ attr_accessor :MallId, :PersonId, :StartTime, :EndTime
440
+
441
+ def initialize(mallid=nil, personid=nil, starttime=nil, endtime=nil)
442
+ @MallId = mallid
443
+ @PersonId = personid
444
+ @StartTime = starttime
445
+ @EndTime = endtime
446
+ end
447
+
448
+ def deserialize(params)
449
+ @MallId = params['MallId']
450
+ @PersonId = params['PersonId']
451
+ @StartTime = params['StartTime']
452
+ @EndTime = params['EndTime']
453
+ end
454
+ end
455
+
456
+ # DescribeClusterPersonTrace返回参数结构体
457
+ class DescribeClusterPersonTraceResponse < TencentCloud::Common::AbstractModel
458
+ # @param MallId: 卖场系统编码
459
+ # @type MallId: String
460
+ # @param MallCode: 卖场用户编码
461
+ # @type MallCode: String
462
+ # @param PersonId: 客户编码
463
+ # @type PersonId: String
464
+ # @param TracePointSet: 轨迹序列
465
+ # @type TracePointSet: Array
466
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
467
+ # @type RequestId: String
468
+
469
+ attr_accessor :MallId, :MallCode, :PersonId, :TracePointSet, :RequestId
470
+
471
+ def initialize(mallid=nil, mallcode=nil, personid=nil, tracepointset=nil, requestid=nil)
472
+ @MallId = mallid
473
+ @MallCode = mallcode
474
+ @PersonId = personid
475
+ @TracePointSet = tracepointset
476
+ @RequestId = requestid
477
+ end
478
+
479
+ def deserialize(params)
480
+ @MallId = params['MallId']
481
+ @MallCode = params['MallCode']
482
+ @PersonId = params['PersonId']
483
+ unless params['TracePointSet'].nil?
484
+ @TracePointSet = []
485
+ params['TracePointSet'].each do |i|
486
+ dailytracepoint_tmp = DailyTracePoint.new
487
+ dailytracepoint_tmp.deserialize(i)
488
+ @TracePointSet << dailytracepoint_tmp
489
+ end
490
+ end
491
+ @RequestId = params['RequestId']
492
+ end
493
+ end
494
+
495
+ # DescribeFaceIdByTempId请求参数结构体
496
+ class DescribeFaceIdByTempIdRequest < TencentCloud::Common::AbstractModel
497
+ # @param CompanyId: 优mall集团id,通过"指定身份标识获取客户门店列表"接口获取
498
+ # @type CompanyId: String
499
+ # @param ShopId: 优mall店铺id,通过"指定身份标识获取客户门店列表"接口获取
500
+ # @type ShopId: Integer
501
+ # @param TempId: 临时id
502
+ # @type TempId: String
503
+ # @param CameraId: 摄像头id
504
+ # @type CameraId: Integer
505
+ # @param PosId: pos机id
506
+ # @type PosId: String
507
+ # @param PictureExpires: 图片url过期时间:在当前时间+PictureExpires秒后,图片url无法继续正常访问;单位s;默认值1*24*60*60(1天)
508
+ # @type PictureExpires: Integer
509
+
510
+ attr_accessor :CompanyId, :ShopId, :TempId, :CameraId, :PosId, :PictureExpires
511
+
512
+ def initialize(companyid=nil, shopid=nil, tempid=nil, cameraid=nil, posid=nil, pictureexpires=nil)
513
+ @CompanyId = companyid
514
+ @ShopId = shopid
515
+ @TempId = tempid
516
+ @CameraId = cameraid
517
+ @PosId = posid
518
+ @PictureExpires = pictureexpires
519
+ end
520
+
521
+ def deserialize(params)
522
+ @CompanyId = params['CompanyId']
523
+ @ShopId = params['ShopId']
524
+ @TempId = params['TempId']
525
+ @CameraId = params['CameraId']
526
+ @PosId = params['PosId']
527
+ @PictureExpires = params['PictureExpires']
528
+ end
529
+ end
530
+
531
+ # DescribeFaceIdByTempId返回参数结构体
532
+ class DescribeFaceIdByTempIdResponse < TencentCloud::Common::AbstractModel
533
+ # @param CompanyId: 集团id
534
+ # @type CompanyId: String
535
+ # @param ShopId: 店铺id
536
+ # @type ShopId: Integer
537
+ # @param CameraId: 摄像机id
538
+ # @type CameraId: Integer
539
+ # @param PosId: pos机id
540
+ # @type PosId: String
541
+ # @param TempId: 请求的临时id
542
+ # @type TempId: String
543
+ # @param FaceId: 临时id对应的face id
544
+ # @type FaceId: Integer
545
+ # @param PersonInfo: 顾客属性信息
546
+ # @type PersonInfo: :class:`Tencentcloud::Youmall.v20180228.models.PersonInfo`
547
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
548
+ # @type RequestId: String
549
+
550
+ attr_accessor :CompanyId, :ShopId, :CameraId, :PosId, :TempId, :FaceId, :PersonInfo, :RequestId
551
+
552
+ def initialize(companyid=nil, shopid=nil, cameraid=nil, posid=nil, tempid=nil, faceid=nil, personinfo=nil, requestid=nil)
553
+ @CompanyId = companyid
554
+ @ShopId = shopid
555
+ @CameraId = cameraid
556
+ @PosId = posid
557
+ @TempId = tempid
558
+ @FaceId = faceid
559
+ @PersonInfo = personinfo
560
+ @RequestId = requestid
561
+ end
562
+
563
+ def deserialize(params)
564
+ @CompanyId = params['CompanyId']
565
+ @ShopId = params['ShopId']
566
+ @CameraId = params['CameraId']
567
+ @PosId = params['PosId']
568
+ @TempId = params['TempId']
569
+ @FaceId = params['FaceId']
570
+ unless params['PersonInfo'].nil?
571
+ @PersonInfo = PersonInfo.new
572
+ @PersonInfo.deserialize(params['PersonInfo'])
573
+ end
574
+ @RequestId = params['RequestId']
575
+ end
576
+ end
577
+
578
+ # DescribeHistoryNetworkInfo请求参数结构体
579
+ class DescribeHistoryNetworkInfoRequest < TencentCloud::Common::AbstractModel
580
+ # @param Time: 请求时间戳
581
+ # @type Time: Integer
582
+ # @param CompanyId: 优mall集团id,通过"指定身份标识获取客户门店列表"接口获取
583
+ # @type CompanyId: String
584
+ # @param ShopId: 优mall店铺id,通过"指定身份标识获取客户门店列表"接口获取,为0则拉取集团全部店铺当前
585
+ # @type ShopId: Integer
586
+ # @param StartDay: 拉取开始日期,格式:2018-09-05
587
+ # @type StartDay: String
588
+ # @param EndDay: 拉取结束日期,格式L:2018-09-05,超过StartDay 90天,按StartDay+90天算
589
+ # @type EndDay: String
590
+ # @param Limit: 拉取条数,默认10
591
+ # @type Limit: Integer
592
+ # @param Offset: 拉取偏移,返回offset之后的数据
593
+ # @type Offset: Integer
594
+
595
+ attr_accessor :Time, :CompanyId, :ShopId, :StartDay, :EndDay, :Limit, :Offset
596
+
597
+ def initialize(time=nil, companyid=nil, shopid=nil, startday=nil, endday=nil, limit=nil, offset=nil)
598
+ @Time = time
599
+ @CompanyId = companyid
600
+ @ShopId = shopid
601
+ @StartDay = startday
602
+ @EndDay = endday
603
+ @Limit = limit
604
+ @Offset = offset
605
+ end
606
+
607
+ def deserialize(params)
608
+ @Time = params['Time']
609
+ @CompanyId = params['CompanyId']
610
+ @ShopId = params['ShopId']
611
+ @StartDay = params['StartDay']
612
+ @EndDay = params['EndDay']
613
+ @Limit = params['Limit']
614
+ @Offset = params['Offset']
615
+ end
616
+ end
617
+
618
+ # DescribeHistoryNetworkInfo返回参数结构体
619
+ class DescribeHistoryNetworkInfoResponse < TencentCloud::Common::AbstractModel
620
+ # @param InstanceSet: 网络状态数据
621
+ # @type InstanceSet: :class:`Tencentcloud::Youmall.v20180228.models.NetworkHistoryInfo`
622
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
623
+ # @type RequestId: String
624
+
625
+ attr_accessor :InstanceSet, :RequestId
626
+
627
+ def initialize(instanceset=nil, requestid=nil)
628
+ @InstanceSet = instanceset
629
+ @RequestId = requestid
630
+ end
631
+
632
+ def deserialize(params)
633
+ unless params['InstanceSet'].nil?
634
+ @InstanceSet = NetworkHistoryInfo.new
635
+ @InstanceSet.deserialize(params['InstanceSet'])
636
+ end
637
+ @RequestId = params['RequestId']
638
+ end
639
+ end
640
+
641
+ # DescribeNetworkInfo请求参数结构体
642
+ class DescribeNetworkInfoRequest < TencentCloud::Common::AbstractModel
643
+ # @param Time: 请求时间戳
644
+ # @type Time: Integer
645
+ # @param CompanyId: 优mall集团id,通过"指定身份标识获取客户门店列表"接口获取
646
+ # @type CompanyId: String
647
+ # @param ShopId: 优mall店铺id,通过"指定身份标识获取客户门店列表"接口获取,不填则拉取集团全部店铺当前
648
+ # @type ShopId: Integer
649
+
650
+ attr_accessor :Time, :CompanyId, :ShopId
651
+
652
+ def initialize(time=nil, companyid=nil, shopid=nil)
653
+ @Time = time
654
+ @CompanyId = companyid
655
+ @ShopId = shopid
656
+ end
657
+
658
+ def deserialize(params)
659
+ @Time = params['Time']
660
+ @CompanyId = params['CompanyId']
661
+ @ShopId = params['ShopId']
662
+ end
663
+ end
664
+
665
+ # DescribeNetworkInfo返回参数结构体
666
+ class DescribeNetworkInfoResponse < TencentCloud::Common::AbstractModel
667
+ # @param InstanceSet: 网络状态详情
668
+ # @type InstanceSet: :class:`Tencentcloud::Youmall.v20180228.models.NetworkLastInfo`
669
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
670
+ # @type RequestId: String
671
+
672
+ attr_accessor :InstanceSet, :RequestId
673
+
674
+ def initialize(instanceset=nil, requestid=nil)
675
+ @InstanceSet = instanceset
676
+ @RequestId = requestid
677
+ end
678
+
679
+ def deserialize(params)
680
+ unless params['InstanceSet'].nil?
681
+ @InstanceSet = NetworkLastInfo.new
682
+ @InstanceSet.deserialize(params['InstanceSet'])
683
+ end
684
+ @RequestId = params['RequestId']
685
+ end
686
+ end
687
+
688
+ # DescribePersonArrivedMall请求参数结构体
689
+ class DescribePersonArrivedMallRequest < TencentCloud::Common::AbstractModel
690
+ # @param MallId: 卖场编码
691
+ # @type MallId: String
692
+ # @param PersonId: 客户编码
693
+ # @type PersonId: String
694
+ # @param StartTime: 查询开始时间
695
+ # @type StartTime: String
696
+ # @param EndTime: 查询结束时间
697
+ # @type EndTime: String
698
+
699
+ attr_accessor :MallId, :PersonId, :StartTime, :EndTime
700
+
701
+ def initialize(mallid=nil, personid=nil, starttime=nil, endtime=nil)
702
+ @MallId = mallid
703
+ @PersonId = personid
704
+ @StartTime = starttime
705
+ @EndTime = endtime
706
+ end
707
+
708
+ def deserialize(params)
709
+ @MallId = params['MallId']
710
+ @PersonId = params['PersonId']
711
+ @StartTime = params['StartTime']
712
+ @EndTime = params['EndTime']
713
+ end
714
+ end
715
+
716
+ # DescribePersonArrivedMall返回参数结构体
717
+ class DescribePersonArrivedMallResponse < TencentCloud::Common::AbstractModel
718
+ # @param MallId: 卖场系统编码
719
+ # @type MallId: String
720
+ # @param MallCode: 卖场用户编码
721
+ # @type MallCode: String
722
+ # @param PersonId: 客户编码
723
+ # @type PersonId: String
724
+ # @param ArrivedMallSet: 到场轨迹
725
+ # @type ArrivedMallSet: Array
726
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
727
+ # @type RequestId: String
728
+
729
+ attr_accessor :MallId, :MallCode, :PersonId, :ArrivedMallSet, :RequestId
730
+
731
+ def initialize(mallid=nil, mallcode=nil, personid=nil, arrivedmallset=nil, requestid=nil)
732
+ @MallId = mallid
733
+ @MallCode = mallcode
734
+ @PersonId = personid
735
+ @ArrivedMallSet = arrivedmallset
736
+ @RequestId = requestid
737
+ end
738
+
739
+ def deserialize(params)
740
+ @MallId = params['MallId']
741
+ @MallCode = params['MallCode']
742
+ @PersonId = params['PersonId']
743
+ unless params['ArrivedMallSet'].nil?
744
+ @ArrivedMallSet = []
745
+ params['ArrivedMallSet'].each do |i|
746
+ arrivedmallinfo_tmp = ArrivedMallInfo.new
747
+ arrivedmallinfo_tmp.deserialize(i)
748
+ @ArrivedMallSet << arrivedmallinfo_tmp
749
+ end
750
+ end
751
+ @RequestId = params['RequestId']
752
+ end
753
+ end
754
+
755
+ # DescribePersonInfoByFacePicture请求参数结构体
756
+ class DescribePersonInfoByFacePictureRequest < TencentCloud::Common::AbstractModel
757
+ # @param CompanyId: 优mall集团id,通过"指定身份标识获取客户门店列表"接口获取
758
+ # @type CompanyId: String
759
+ # @param ShopId: 优mall店铺id,通过"指定身份标识获取客户门店列表"接口获取
760
+ # @type ShopId: Integer
761
+ # @param Picture: 人脸图片BASE编码
762
+ # @type Picture: String
763
+
764
+ attr_accessor :CompanyId, :ShopId, :Picture
765
+
766
+ def initialize(companyid=nil, shopid=nil, picture=nil)
767
+ @CompanyId = companyid
768
+ @ShopId = shopid
769
+ @Picture = picture
770
+ end
771
+
772
+ def deserialize(params)
773
+ @CompanyId = params['CompanyId']
774
+ @ShopId = params['ShopId']
775
+ @Picture = params['Picture']
776
+ end
777
+ end
778
+
779
+ # DescribePersonInfoByFacePicture返回参数结构体
780
+ class DescribePersonInfoByFacePictureResponse < TencentCloud::Common::AbstractModel
781
+ # @param CompanyId: 集团id
782
+ # @type CompanyId: String
783
+ # @param ShopId: 店铺id
784
+ # @type ShopId: Integer
785
+ # @param PersonId: 顾客face id
786
+ # @type PersonId: Integer
787
+ # @param PictureUrl: 顾客底图url
788
+ # @type PictureUrl: String
789
+ # @param PersonType: 顾客类型(0表示普通顾客,1 白名单,2 表示黑名单,101表示集团白名单,102表示集团黑名单)
790
+ # @type PersonType: Integer
791
+ # @param FirstVisitTime: 顾客首次进店时间
792
+ # @type FirstVisitTime: String
793
+ # @param VisitTimes: 顾客历史到访次数
794
+ # @type VisitTimes: Integer
795
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
796
+ # @type RequestId: String
797
+
798
+ attr_accessor :CompanyId, :ShopId, :PersonId, :PictureUrl, :PersonType, :FirstVisitTime, :VisitTimes, :RequestId
799
+
800
+ def initialize(companyid=nil, shopid=nil, personid=nil, pictureurl=nil, persontype=nil, firstvisittime=nil, visittimes=nil, requestid=nil)
801
+ @CompanyId = companyid
802
+ @ShopId = shopid
803
+ @PersonId = personid
804
+ @PictureUrl = pictureurl
805
+ @PersonType = persontype
806
+ @FirstVisitTime = firstvisittime
807
+ @VisitTimes = visittimes
808
+ @RequestId = requestid
809
+ end
810
+
811
+ def deserialize(params)
812
+ @CompanyId = params['CompanyId']
813
+ @ShopId = params['ShopId']
814
+ @PersonId = params['PersonId']
815
+ @PictureUrl = params['PictureUrl']
816
+ @PersonType = params['PersonType']
817
+ @FirstVisitTime = params['FirstVisitTime']
818
+ @VisitTimes = params['VisitTimes']
819
+ @RequestId = params['RequestId']
820
+ end
821
+ end
822
+
823
+ # DescribePersonInfo请求参数结构体
824
+ class DescribePersonInfoRequest < TencentCloud::Common::AbstractModel
825
+ # @param CompanyId: 公司ID
826
+ # @type CompanyId: String
827
+ # @param ShopId: 门店ID
828
+ # @type ShopId: Integer
829
+ # @param StartPersonId: 起始ID,第一次拉取时StartPersonId传0,后续送入的值为上一页最后一条数据项的PersonId
830
+ # @type StartPersonId: Integer
831
+ # @param Offset: 偏移量:分页控制参数,第一页传0,第n页Offset=(n-1)*Limit
832
+ # @type Offset: Integer
833
+ # @param Limit: Limit:每页的数据项,最大100,超过100会被强制指定为100
834
+ # @type Limit: Integer
835
+ # @param PictureExpires: 图片url过期时间:在当前时间+PictureExpires秒后,图片url无法继续正常访问;单位s;默认值1*24*60*60(1天)
836
+ # @type PictureExpires: Integer
837
+ # @param PersonType: 身份类型(0表示普通顾客,1 白名单,2 表示黑名单)
838
+ # @type PersonType: Integer
839
+
840
+ attr_accessor :CompanyId, :ShopId, :StartPersonId, :Offset, :Limit, :PictureExpires, :PersonType
841
+
842
+ def initialize(companyid=nil, shopid=nil, startpersonid=nil, offset=nil, limit=nil, pictureexpires=nil, persontype=nil)
843
+ @CompanyId = companyid
844
+ @ShopId = shopid
845
+ @StartPersonId = startpersonid
846
+ @Offset = offset
847
+ @Limit = limit
848
+ @PictureExpires = pictureexpires
849
+ @PersonType = persontype
850
+ end
851
+
852
+ def deserialize(params)
853
+ @CompanyId = params['CompanyId']
854
+ @ShopId = params['ShopId']
855
+ @StartPersonId = params['StartPersonId']
856
+ @Offset = params['Offset']
857
+ @Limit = params['Limit']
858
+ @PictureExpires = params['PictureExpires']
859
+ @PersonType = params['PersonType']
860
+ end
861
+ end
862
+
863
+ # DescribePersonInfo返回参数结构体
864
+ class DescribePersonInfoResponse < TencentCloud::Common::AbstractModel
865
+ # @param CompanyId: 公司ID
866
+ # @type CompanyId: String
867
+ # @param ShopId: 门店ID
868
+ # @type ShopId: Integer
869
+ # @param TotalCount: 总数
870
+ # @type TotalCount: Integer
871
+ # @param PersonInfoSet: 用户信息
872
+ # @type PersonInfoSet: Array
873
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
874
+ # @type RequestId: String
875
+
876
+ attr_accessor :CompanyId, :ShopId, :TotalCount, :PersonInfoSet, :RequestId
877
+
878
+ def initialize(companyid=nil, shopid=nil, totalcount=nil, personinfoset=nil, requestid=nil)
879
+ @CompanyId = companyid
880
+ @ShopId = shopid
881
+ @TotalCount = totalcount
882
+ @PersonInfoSet = personinfoset
883
+ @RequestId = requestid
884
+ end
885
+
886
+ def deserialize(params)
887
+ @CompanyId = params['CompanyId']
888
+ @ShopId = params['ShopId']
889
+ @TotalCount = params['TotalCount']
890
+ unless params['PersonInfoSet'].nil?
891
+ @PersonInfoSet = []
892
+ params['PersonInfoSet'].each do |i|
893
+ personinfo_tmp = PersonInfo.new
894
+ personinfo_tmp.deserialize(i)
895
+ @PersonInfoSet << personinfo_tmp
896
+ end
897
+ end
898
+ @RequestId = params['RequestId']
899
+ end
900
+ end
901
+
902
+ # DescribePerson请求参数结构体
903
+ class DescribePersonRequest < TencentCloud::Common::AbstractModel
904
+ # @param MallId: 卖场编码
905
+ # @type MallId: String
906
+ # @param Offset: 查询偏移
907
+ # @type Offset: Integer
908
+ # @param Limit: 查询数量,默认20,最大查询数量100
909
+ # @type Limit: Integer
910
+
911
+ attr_accessor :MallId, :Offset, :Limit
912
+
913
+ def initialize(mallid=nil, offset=nil, limit=nil)
914
+ @MallId = mallid
915
+ @Offset = offset
916
+ @Limit = limit
917
+ end
918
+
919
+ def deserialize(params)
920
+ @MallId = params['MallId']
921
+ @Offset = params['Offset']
922
+ @Limit = params['Limit']
923
+ end
924
+ end
925
+
926
+ # DescribePerson返回参数结构体
927
+ class DescribePersonResponse < TencentCloud::Common::AbstractModel
928
+ # @param TotalCount: 总计客户数量
929
+ # @type TotalCount: Integer
930
+ # @param PersonSet: 客户信息
931
+ # @type PersonSet: Array
932
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
933
+ # @type RequestId: String
934
+
935
+ attr_accessor :TotalCount, :PersonSet, :RequestId
936
+
937
+ def initialize(totalcount=nil, personset=nil, requestid=nil)
938
+ @TotalCount = totalcount
939
+ @PersonSet = personset
940
+ @RequestId = requestid
941
+ end
942
+
943
+ def deserialize(params)
944
+ @TotalCount = params['TotalCount']
945
+ unless params['PersonSet'].nil?
946
+ @PersonSet = []
947
+ params['PersonSet'].each do |i|
948
+ personprofile_tmp = PersonProfile.new
949
+ personprofile_tmp.deserialize(i)
950
+ @PersonSet << personprofile_tmp
951
+ end
952
+ end
953
+ @RequestId = params['RequestId']
954
+ end
955
+ end
956
+
957
+ # DescribePersonTraceDetail请求参数结构体
958
+ class DescribePersonTraceDetailRequest < TencentCloud::Common::AbstractModel
959
+ # @param MallId: 卖场编码
960
+ # @type MallId: String
961
+ # @param PersonId: 客户编码
962
+ # @type PersonId: String
963
+ # @param TraceId: 轨迹编码
964
+ # @type TraceId: String
965
+
966
+ attr_accessor :MallId, :PersonId, :TraceId
967
+
968
+ def initialize(mallid=nil, personid=nil, traceid=nil)
969
+ @MallId = mallid
970
+ @PersonId = personid
971
+ @TraceId = traceid
972
+ end
973
+
974
+ def deserialize(params)
975
+ @MallId = params['MallId']
976
+ @PersonId = params['PersonId']
977
+ @TraceId = params['TraceId']
978
+ end
979
+ end
980
+
981
+ # DescribePersonTraceDetail返回参数结构体
982
+ class DescribePersonTraceDetailResponse < TencentCloud::Common::AbstractModel
983
+ # @param MallId: 卖场编码
984
+ # @type MallId: String
985
+ # @param PersonId: 客户编码
986
+ # @type PersonId: String
987
+ # @param TraceId: 轨迹编码
988
+ # @type TraceId: String
989
+ # @param CoordinateSet: 轨迹点坐标序列
990
+ # @type CoordinateSet: Array
991
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
992
+ # @type RequestId: String
993
+
994
+ attr_accessor :MallId, :PersonId, :TraceId, :CoordinateSet, :RequestId
995
+
996
+ def initialize(mallid=nil, personid=nil, traceid=nil, coordinateset=nil, requestid=nil)
997
+ @MallId = mallid
998
+ @PersonId = personid
999
+ @TraceId = traceid
1000
+ @CoordinateSet = coordinateset
1001
+ @RequestId = requestid
1002
+ end
1003
+
1004
+ def deserialize(params)
1005
+ @MallId = params['MallId']
1006
+ @PersonId = params['PersonId']
1007
+ @TraceId = params['TraceId']
1008
+ unless params['CoordinateSet'].nil?
1009
+ @CoordinateSet = []
1010
+ params['CoordinateSet'].each do |i|
1011
+ personcoordinate_tmp = PersonCoordinate.new
1012
+ personcoordinate_tmp.deserialize(i)
1013
+ @CoordinateSet << personcoordinate_tmp
1014
+ end
1015
+ end
1016
+ @RequestId = params['RequestId']
1017
+ end
1018
+ end
1019
+
1020
+ # DescribePersonTrace请求参数结构体
1021
+ class DescribePersonTraceRequest < TencentCloud::Common::AbstractModel
1022
+ # @param MallId: 卖场编码
1023
+ # @type MallId: String
1024
+ # @param PersonId: 客户编码
1025
+ # @type PersonId: String
1026
+ # @param StartTime: 查询开始时间
1027
+ # @type StartTime: String
1028
+ # @param EndTime: 查询结束时间
1029
+ # @type EndTime: String
1030
+
1031
+ attr_accessor :MallId, :PersonId, :StartTime, :EndTime
1032
+
1033
+ def initialize(mallid=nil, personid=nil, starttime=nil, endtime=nil)
1034
+ @MallId = mallid
1035
+ @PersonId = personid
1036
+ @StartTime = starttime
1037
+ @EndTime = endtime
1038
+ end
1039
+
1040
+ def deserialize(params)
1041
+ @MallId = params['MallId']
1042
+ @PersonId = params['PersonId']
1043
+ @StartTime = params['StartTime']
1044
+ @EndTime = params['EndTime']
1045
+ end
1046
+ end
1047
+
1048
+ # DescribePersonTrace返回参数结构体
1049
+ class DescribePersonTraceResponse < TencentCloud::Common::AbstractModel
1050
+ # @param MallId: 卖场系统编码
1051
+ # @type MallId: String
1052
+ # @param MallCode: 卖场用户编码
1053
+ # @type MallCode: String
1054
+ # @param PersonId: 客户编码
1055
+ # @type PersonId: String
1056
+ # @param TraceRouteSet: 轨迹列表
1057
+ # @type TraceRouteSet: Array
1058
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1059
+ # @type RequestId: String
1060
+
1061
+ attr_accessor :MallId, :MallCode, :PersonId, :TraceRouteSet, :RequestId
1062
+
1063
+ def initialize(mallid=nil, mallcode=nil, personid=nil, tracerouteset=nil, requestid=nil)
1064
+ @MallId = mallid
1065
+ @MallCode = mallcode
1066
+ @PersonId = personid
1067
+ @TraceRouteSet = tracerouteset
1068
+ @RequestId = requestid
1069
+ end
1070
+
1071
+ def deserialize(params)
1072
+ @MallId = params['MallId']
1073
+ @MallCode = params['MallCode']
1074
+ @PersonId = params['PersonId']
1075
+ unless params['TraceRouteSet'].nil?
1076
+ @TraceRouteSet = []
1077
+ params['TraceRouteSet'].each do |i|
1078
+ persontraceroute_tmp = PersonTraceRoute.new
1079
+ persontraceroute_tmp.deserialize(i)
1080
+ @TraceRouteSet << persontraceroute_tmp
1081
+ end
1082
+ end
1083
+ @RequestId = params['RequestId']
1084
+ end
1085
+ end
1086
+
1087
+ # DescribePersonVisitInfo请求参数结构体
1088
+ class DescribePersonVisitInfoRequest < TencentCloud::Common::AbstractModel
1089
+ # @param CompanyId: 公司ID
1090
+ # @type CompanyId: String
1091
+ # @param ShopId: 门店ID
1092
+ # @type ShopId: Integer
1093
+ # @param Offset: 偏移量:分页控制参数,第一页传0,第n页Offset=(n-1)*Limit
1094
+ # @type Offset: Integer
1095
+ # @param Limit: Limit:每页的数据项,最大100,超过100会被强制指定为100
1096
+ # @type Limit: Integer
1097
+ # @param StartDate: 开始日期,格式yyyy-MM-dd,已废弃,请使用StartDateTime
1098
+ # @type StartDate: String
1099
+ # @param EndDate: 结束日期,格式yyyy-MM-dd,已废弃,请使用EndDateTime
1100
+ # @type EndDate: String
1101
+ # @param PictureExpires: 图片url过期时间:在当前时间+PictureExpires秒后,图片url无法继续正常访问;单位s;默认值1*24*60*60(1天)
1102
+ # @type PictureExpires: Integer
1103
+ # @param StartDateTime: 开始时间,格式yyyy-MM-dd HH:mm:ss
1104
+ # @type StartDateTime: String
1105
+ # @param EndDateTime: 结束时间,格式yyyy-MM-dd HH:mm:ss
1106
+ # @type EndDateTime: String
1107
+
1108
+ attr_accessor :CompanyId, :ShopId, :Offset, :Limit, :StartDate, :EndDate, :PictureExpires, :StartDateTime, :EndDateTime
1109
+
1110
+ def initialize(companyid=nil, shopid=nil, offset=nil, limit=nil, startdate=nil, enddate=nil, pictureexpires=nil, startdatetime=nil, enddatetime=nil)
1111
+ @CompanyId = companyid
1112
+ @ShopId = shopid
1113
+ @Offset = offset
1114
+ @Limit = limit
1115
+ @StartDate = startdate
1116
+ @EndDate = enddate
1117
+ @PictureExpires = pictureexpires
1118
+ @StartDateTime = startdatetime
1119
+ @EndDateTime = enddatetime
1120
+ end
1121
+
1122
+ def deserialize(params)
1123
+ @CompanyId = params['CompanyId']
1124
+ @ShopId = params['ShopId']
1125
+ @Offset = params['Offset']
1126
+ @Limit = params['Limit']
1127
+ @StartDate = params['StartDate']
1128
+ @EndDate = params['EndDate']
1129
+ @PictureExpires = params['PictureExpires']
1130
+ @StartDateTime = params['StartDateTime']
1131
+ @EndDateTime = params['EndDateTime']
1132
+ end
1133
+ end
1134
+
1135
+ # DescribePersonVisitInfo返回参数结构体
1136
+ class DescribePersonVisitInfoResponse < TencentCloud::Common::AbstractModel
1137
+ # @param CompanyId: 公司ID
1138
+ # @type CompanyId: String
1139
+ # @param ShopId: 门店ID
1140
+ # @type ShopId: Integer
1141
+ # @param TotalCount: 总数
1142
+ # @type TotalCount: Integer
1143
+ # @param PersonVisitInfoSet: 用户到访明细
1144
+ # @type PersonVisitInfoSet: Array
1145
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1146
+ # @type RequestId: String
1147
+
1148
+ attr_accessor :CompanyId, :ShopId, :TotalCount, :PersonVisitInfoSet, :RequestId
1149
+
1150
+ def initialize(companyid=nil, shopid=nil, totalcount=nil, personvisitinfoset=nil, requestid=nil)
1151
+ @CompanyId = companyid
1152
+ @ShopId = shopid
1153
+ @TotalCount = totalcount
1154
+ @PersonVisitInfoSet = personvisitinfoset
1155
+ @RequestId = requestid
1156
+ end
1157
+
1158
+ def deserialize(params)
1159
+ @CompanyId = params['CompanyId']
1160
+ @ShopId = params['ShopId']
1161
+ @TotalCount = params['TotalCount']
1162
+ unless params['PersonVisitInfoSet'].nil?
1163
+ @PersonVisitInfoSet = []
1164
+ params['PersonVisitInfoSet'].each do |i|
1165
+ personvisitinfo_tmp = PersonVisitInfo.new
1166
+ personvisitinfo_tmp.deserialize(i)
1167
+ @PersonVisitInfoSet << personvisitinfo_tmp
1168
+ end
1169
+ end
1170
+ @RequestId = params['RequestId']
1171
+ end
1172
+ end
1173
+
1174
+ # DescribeShopHourTrafficInfo请求参数结构体
1175
+ class DescribeShopHourTrafficInfoRequest < TencentCloud::Common::AbstractModel
1176
+ # @param CompanyId: 公司ID
1177
+ # @type CompanyId: String
1178
+ # @param ShopId: 门店ID
1179
+ # @type ShopId: Integer
1180
+ # @param StartDate: 开始日期,格式:yyyy-MM-dd
1181
+ # @type StartDate: String
1182
+ # @param EndDate: 结束日期,格式:yyyy-MM-dd
1183
+ # @type EndDate: String
1184
+ # @param Offset: 偏移量:分页控制参数,第一页传0,第n页Offset=(n-1)*Limit
1185
+ # @type Offset: Integer
1186
+ # @param Limit: Limit:每页的数据项,最大100,超过100会被强制指定为100
1187
+ # @type Limit: Integer
1188
+
1189
+ attr_accessor :CompanyId, :ShopId, :StartDate, :EndDate, :Offset, :Limit
1190
+
1191
+ def initialize(companyid=nil, shopid=nil, startdate=nil, enddate=nil, offset=nil, limit=nil)
1192
+ @CompanyId = companyid
1193
+ @ShopId = shopid
1194
+ @StartDate = startdate
1195
+ @EndDate = enddate
1196
+ @Offset = offset
1197
+ @Limit = limit
1198
+ end
1199
+
1200
+ def deserialize(params)
1201
+ @CompanyId = params['CompanyId']
1202
+ @ShopId = params['ShopId']
1203
+ @StartDate = params['StartDate']
1204
+ @EndDate = params['EndDate']
1205
+ @Offset = params['Offset']
1206
+ @Limit = params['Limit']
1207
+ end
1208
+ end
1209
+
1210
+ # DescribeShopHourTrafficInfo返回参数结构体
1211
+ class DescribeShopHourTrafficInfoResponse < TencentCloud::Common::AbstractModel
1212
+ # @param CompanyId: 公司ID
1213
+ # @type CompanyId: String
1214
+ # @param ShopId: 门店ID
1215
+ # @type ShopId: Integer
1216
+ # @param TotalCount: 查询结果总数
1217
+ # @type TotalCount: Integer
1218
+ # @param ShopHourTrafficInfoSet: 分时客流信息
1219
+ # @type ShopHourTrafficInfoSet: Array
1220
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1221
+ # @type RequestId: String
1222
+
1223
+ attr_accessor :CompanyId, :ShopId, :TotalCount, :ShopHourTrafficInfoSet, :RequestId
1224
+
1225
+ def initialize(companyid=nil, shopid=nil, totalcount=nil, shophourtrafficinfoset=nil, requestid=nil)
1226
+ @CompanyId = companyid
1227
+ @ShopId = shopid
1228
+ @TotalCount = totalcount
1229
+ @ShopHourTrafficInfoSet = shophourtrafficinfoset
1230
+ @RequestId = requestid
1231
+ end
1232
+
1233
+ def deserialize(params)
1234
+ @CompanyId = params['CompanyId']
1235
+ @ShopId = params['ShopId']
1236
+ @TotalCount = params['TotalCount']
1237
+ unless params['ShopHourTrafficInfoSet'].nil?
1238
+ @ShopHourTrafficInfoSet = []
1239
+ params['ShopHourTrafficInfoSet'].each do |i|
1240
+ shophourtrafficinfo_tmp = ShopHourTrafficInfo.new
1241
+ shophourtrafficinfo_tmp.deserialize(i)
1242
+ @ShopHourTrafficInfoSet << shophourtrafficinfo_tmp
1243
+ end
1244
+ end
1245
+ @RequestId = params['RequestId']
1246
+ end
1247
+ end
1248
+
1249
+ # DescribeShopInfo请求参数结构体
1250
+ class DescribeShopInfoRequest < TencentCloud::Common::AbstractModel
1251
+ # @param Offset: 偏移量:分页控制参数,第一页传0,第n页Offset=(n-1)*Limit
1252
+ # @type Offset: Integer
1253
+ # @param Limit: Limit:每页的数据项,最大100,超过100会被强制指定为100
1254
+ # @type Limit: Integer
1255
+
1256
+ attr_accessor :Offset, :Limit
1257
+
1258
+ def initialize(offset=nil, limit=nil)
1259
+ @Offset = offset
1260
+ @Limit = limit
1261
+ end
1262
+
1263
+ def deserialize(params)
1264
+ @Offset = params['Offset']
1265
+ @Limit = params['Limit']
1266
+ end
1267
+ end
1268
+
1269
+ # DescribeShopInfo返回参数结构体
1270
+ class DescribeShopInfoResponse < TencentCloud::Common::AbstractModel
1271
+ # @param TotalCount: 门店总数
1272
+ # @type TotalCount: Integer
1273
+ # @param ShopInfoSet: 门店列表信息
1274
+ # @type ShopInfoSet: Array
1275
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1276
+ # @type RequestId: String
1277
+
1278
+ attr_accessor :TotalCount, :ShopInfoSet, :RequestId
1279
+
1280
+ def initialize(totalcount=nil, shopinfoset=nil, requestid=nil)
1281
+ @TotalCount = totalcount
1282
+ @ShopInfoSet = shopinfoset
1283
+ @RequestId = requestid
1284
+ end
1285
+
1286
+ def deserialize(params)
1287
+ @TotalCount = params['TotalCount']
1288
+ unless params['ShopInfoSet'].nil?
1289
+ @ShopInfoSet = []
1290
+ params['ShopInfoSet'].each do |i|
1291
+ shopinfo_tmp = ShopInfo.new
1292
+ shopinfo_tmp.deserialize(i)
1293
+ @ShopInfoSet << shopinfo_tmp
1294
+ end
1295
+ end
1296
+ @RequestId = params['RequestId']
1297
+ end
1298
+ end
1299
+
1300
+ # DescribeShopTrafficInfo请求参数结构体
1301
+ class DescribeShopTrafficInfoRequest < TencentCloud::Common::AbstractModel
1302
+ # @param CompanyId: 公司ID
1303
+ # @type CompanyId: String
1304
+ # @param ShopId: 门店ID
1305
+ # @type ShopId: Integer
1306
+ # @param StartDate: 开始日期,格式yyyy-MM-dd
1307
+ # @type StartDate: String
1308
+ # @param EndDate: 介绍日期,格式yyyy-MM-dd
1309
+ # @type EndDate: String
1310
+ # @param Offset: 偏移量:分页控制参数,第一页传0,第n页Offset=(n-1)*Limit
1311
+ # @type Offset: Integer
1312
+ # @param Limit: Limit:每页的数据项,最大100,超过100会被强制指定为100
1313
+ # @type Limit: Integer
1314
+
1315
+ attr_accessor :CompanyId, :ShopId, :StartDate, :EndDate, :Offset, :Limit
1316
+
1317
+ def initialize(companyid=nil, shopid=nil, startdate=nil, enddate=nil, offset=nil, limit=nil)
1318
+ @CompanyId = companyid
1319
+ @ShopId = shopid
1320
+ @StartDate = startdate
1321
+ @EndDate = enddate
1322
+ @Offset = offset
1323
+ @Limit = limit
1324
+ end
1325
+
1326
+ def deserialize(params)
1327
+ @CompanyId = params['CompanyId']
1328
+ @ShopId = params['ShopId']
1329
+ @StartDate = params['StartDate']
1330
+ @EndDate = params['EndDate']
1331
+ @Offset = params['Offset']
1332
+ @Limit = params['Limit']
1333
+ end
1334
+ end
1335
+
1336
+ # DescribeShopTrafficInfo返回参数结构体
1337
+ class DescribeShopTrafficInfoResponse < TencentCloud::Common::AbstractModel
1338
+ # @param CompanyId: 公司ID
1339
+ # @type CompanyId: String
1340
+ # @param ShopId: 门店ID
1341
+ # @type ShopId: Integer
1342
+ # @param TotalCount: 查询结果总数
1343
+ # @type TotalCount: Integer
1344
+ # @param ShopDayTrafficInfoSet: 客流信息列表
1345
+ # @type ShopDayTrafficInfoSet: Array
1346
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1347
+ # @type RequestId: String
1348
+
1349
+ attr_accessor :CompanyId, :ShopId, :TotalCount, :ShopDayTrafficInfoSet, :RequestId
1350
+
1351
+ def initialize(companyid=nil, shopid=nil, totalcount=nil, shopdaytrafficinfoset=nil, requestid=nil)
1352
+ @CompanyId = companyid
1353
+ @ShopId = shopid
1354
+ @TotalCount = totalcount
1355
+ @ShopDayTrafficInfoSet = shopdaytrafficinfoset
1356
+ @RequestId = requestid
1357
+ end
1358
+
1359
+ def deserialize(params)
1360
+ @CompanyId = params['CompanyId']
1361
+ @ShopId = params['ShopId']
1362
+ @TotalCount = params['TotalCount']
1363
+ unless params['ShopDayTrafficInfoSet'].nil?
1364
+ @ShopDayTrafficInfoSet = []
1365
+ params['ShopDayTrafficInfoSet'].each do |i|
1366
+ shopdaytrafficinfo_tmp = ShopDayTrafficInfo.new
1367
+ shopdaytrafficinfo_tmp.deserialize(i)
1368
+ @ShopDayTrafficInfoSet << shopdaytrafficinfo_tmp
1369
+ end
1370
+ end
1371
+ @RequestId = params['RequestId']
1372
+ end
1373
+ end
1374
+
1375
+ # DescribeTrajectoryData请求参数结构体
1376
+ class DescribeTrajectoryDataRequest < TencentCloud::Common::AbstractModel
1377
+ # @param CompanyId: 集团ID
1378
+ # @type CompanyId: String
1379
+ # @param ShopId: 店铺ID
1380
+ # @type ShopId: Integer
1381
+ # @param StartDate: 开始日期,格式yyyy-MM-dd
1382
+ # @type StartDate: String
1383
+ # @param EndDate: 结束日期,格式yyyy-MM-dd
1384
+ # @type EndDate: String
1385
+ # @param Limit: 限制返回数据的最大条数,最大 400(负数代为 400)
1386
+ # @type Limit: Integer
1387
+ # @param Gender: 顾客性别顾虑,0是男,1是女,其它代表不分性别
1388
+ # @type Gender: Integer
1389
+
1390
+ attr_accessor :CompanyId, :ShopId, :StartDate, :EndDate, :Limit, :Gender
1391
+
1392
+ def initialize(companyid=nil, shopid=nil, startdate=nil, enddate=nil, limit=nil, gender=nil)
1393
+ @CompanyId = companyid
1394
+ @ShopId = shopid
1395
+ @StartDate = startdate
1396
+ @EndDate = enddate
1397
+ @Limit = limit
1398
+ @Gender = gender
1399
+ end
1400
+
1401
+ def deserialize(params)
1402
+ @CompanyId = params['CompanyId']
1403
+ @ShopId = params['ShopId']
1404
+ @StartDate = params['StartDate']
1405
+ @EndDate = params['EndDate']
1406
+ @Limit = params['Limit']
1407
+ @Gender = params['Gender']
1408
+ end
1409
+ end
1410
+
1411
+ # DescribeTrajectoryData返回参数结构体
1412
+ class DescribeTrajectoryDataResponse < TencentCloud::Common::AbstractModel
1413
+ # @param CompanyId: 集团ID
1414
+ # @type CompanyId: String
1415
+ # @param ShopId: 店铺ID
1416
+ # @type ShopId: Integer
1417
+ # @param TotalPerson: 总人数
1418
+ # @type TotalPerson: Integer
1419
+ # @param TotalTrajectory: 总动迹数目
1420
+ # @type TotalTrajectory: Integer
1421
+ # @param Person: 返回动迹中的总人数
1422
+ # @type Person: Integer
1423
+ # @param Trajectory: 返回动迹的数目
1424
+ # @type Trajectory: Integer
1425
+ # @param Data: 返回动迹的具体信息
1426
+ # @type Data: Array
1427
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1428
+ # @type RequestId: String
1429
+
1430
+ attr_accessor :CompanyId, :ShopId, :TotalPerson, :TotalTrajectory, :Person, :Trajectory, :Data, :RequestId
1431
+
1432
+ def initialize(companyid=nil, shopid=nil, totalperson=nil, totaltrajectory=nil, person=nil, trajectory=nil, data=nil, requestid=nil)
1433
+ @CompanyId = companyid
1434
+ @ShopId = shopid
1435
+ @TotalPerson = totalperson
1436
+ @TotalTrajectory = totaltrajectory
1437
+ @Person = person
1438
+ @Trajectory = trajectory
1439
+ @Data = data
1440
+ @RequestId = requestid
1441
+ end
1442
+
1443
+ def deserialize(params)
1444
+ @CompanyId = params['CompanyId']
1445
+ @ShopId = params['ShopId']
1446
+ @TotalPerson = params['TotalPerson']
1447
+ @TotalTrajectory = params['TotalTrajectory']
1448
+ @Person = params['Person']
1449
+ @Trajectory = params['Trajectory']
1450
+ unless params['Data'].nil?
1451
+ @Data = []
1452
+ params['Data'].each do |i|
1453
+ trajectorysundata_tmp = TrajectorySunData.new
1454
+ trajectorysundata_tmp.deserialize(i)
1455
+ @Data << trajectorysundata_tmp
1456
+ end
1457
+ end
1458
+ @RequestId = params['RequestId']
1459
+ end
1460
+ end
1461
+
1462
+ # DescribeZoneFlowAgeInfoByZoneId请求参数结构体
1463
+ class DescribeZoneFlowAgeInfoByZoneIdRequest < TencentCloud::Common::AbstractModel
1464
+ # @param CompanyId: 集团ID
1465
+ # @type CompanyId: String
1466
+ # @param ShopId: 店铺ID
1467
+ # @type ShopId: Integer
1468
+ # @param ZoneId: 区域ID
1469
+ # @type ZoneId: Integer
1470
+ # @param StartDate: 开始日期,格式yyyy-MM-dd
1471
+ # @type StartDate: String
1472
+ # @param EndDate: 结束日期,格式yyyy-MM-dd
1473
+ # @type EndDate: String
1474
+
1475
+ attr_accessor :CompanyId, :ShopId, :ZoneId, :StartDate, :EndDate
1476
+
1477
+ def initialize(companyid=nil, shopid=nil, zoneid=nil, startdate=nil, enddate=nil)
1478
+ @CompanyId = companyid
1479
+ @ShopId = shopid
1480
+ @ZoneId = zoneid
1481
+ @StartDate = startdate
1482
+ @EndDate = enddate
1483
+ end
1484
+
1485
+ def deserialize(params)
1486
+ @CompanyId = params['CompanyId']
1487
+ @ShopId = params['ShopId']
1488
+ @ZoneId = params['ZoneId']
1489
+ @StartDate = params['StartDate']
1490
+ @EndDate = params['EndDate']
1491
+ end
1492
+ end
1493
+
1494
+ # DescribeZoneFlowAgeInfoByZoneId返回参数结构体
1495
+ class DescribeZoneFlowAgeInfoByZoneIdResponse < TencentCloud::Common::AbstractModel
1496
+ # @param CompanyId: 集团ID
1497
+ # @type CompanyId: String
1498
+ # @param ShopId: 店铺ID
1499
+ # @type ShopId: Integer
1500
+ # @param ZoneId: 区域ID
1501
+ # @type ZoneId: Integer
1502
+ # @param ZoneName: 区域名称
1503
+ # @type ZoneName: String
1504
+ # @param Data: 当前年龄段占比
1505
+ # @type Data: Array
1506
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1507
+ # @type RequestId: String
1508
+
1509
+ attr_accessor :CompanyId, :ShopId, :ZoneId, :ZoneName, :Data, :RequestId
1510
+
1511
+ def initialize(companyid=nil, shopid=nil, zoneid=nil, zonename=nil, data=nil, requestid=nil)
1512
+ @CompanyId = companyid
1513
+ @ShopId = shopid
1514
+ @ZoneId = zoneid
1515
+ @ZoneName = zonename
1516
+ @Data = data
1517
+ @RequestId = requestid
1518
+ end
1519
+
1520
+ def deserialize(params)
1521
+ @CompanyId = params['CompanyId']
1522
+ @ShopId = params['ShopId']
1523
+ @ZoneId = params['ZoneId']
1524
+ @ZoneName = params['ZoneName']
1525
+ @Data = params['Data']
1526
+ @RequestId = params['RequestId']
1527
+ end
1528
+ end
1529
+
1530
+ # DescribeZoneFlowAndStayTime请求参数结构体
1531
+ class DescribeZoneFlowAndStayTimeRequest < TencentCloud::Common::AbstractModel
1532
+ # @param CompanyId: 集团ID
1533
+ # @type CompanyId: String
1534
+ # @param ShopId: 店铺ID
1535
+ # @type ShopId: Integer
1536
+ # @param StartDate: 开始日期,格式yyyy-MM-dd
1537
+ # @type StartDate: String
1538
+ # @param EndDate: 结束日期,格式yyyy-MM-dd
1539
+ # @type EndDate: String
1540
+
1541
+ attr_accessor :CompanyId, :ShopId, :StartDate, :EndDate
1542
+
1543
+ def initialize(companyid=nil, shopid=nil, startdate=nil, enddate=nil)
1544
+ @CompanyId = companyid
1545
+ @ShopId = shopid
1546
+ @StartDate = startdate
1547
+ @EndDate = enddate
1548
+ end
1549
+
1550
+ def deserialize(params)
1551
+ @CompanyId = params['CompanyId']
1552
+ @ShopId = params['ShopId']
1553
+ @StartDate = params['StartDate']
1554
+ @EndDate = params['EndDate']
1555
+ end
1556
+ end
1557
+
1558
+ # DescribeZoneFlowAndStayTime返回参数结构体
1559
+ class DescribeZoneFlowAndStayTimeResponse < TencentCloud::Common::AbstractModel
1560
+ # @param CompanyId: 集团id
1561
+ # @type CompanyId: String
1562
+ # @param ShopId: 店铺id
1563
+ # @type ShopId: Integer
1564
+ # @param Data: 各区域人流数目和停留时长
1565
+ # @type Data: Array
1566
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1567
+ # @type RequestId: String
1568
+
1569
+ attr_accessor :CompanyId, :ShopId, :Data, :RequestId
1570
+
1571
+ def initialize(companyid=nil, shopid=nil, data=nil, requestid=nil)
1572
+ @CompanyId = companyid
1573
+ @ShopId = shopid
1574
+ @Data = data
1575
+ @RequestId = requestid
1576
+ end
1577
+
1578
+ def deserialize(params)
1579
+ @CompanyId = params['CompanyId']
1580
+ @ShopId = params['ShopId']
1581
+ unless params['Data'].nil?
1582
+ @Data = []
1583
+ params['Data'].each do |i|
1584
+ zoneflowandavrstaytime_tmp = ZoneFlowAndAvrStayTime.new
1585
+ zoneflowandavrstaytime_tmp.deserialize(i)
1586
+ @Data << zoneflowandavrstaytime_tmp
1587
+ end
1588
+ end
1589
+ @RequestId = params['RequestId']
1590
+ end
1591
+ end
1592
+
1593
+ # DescribeZoneFlowDailyByZoneId请求参数结构体
1594
+ class DescribeZoneFlowDailyByZoneIdRequest < TencentCloud::Common::AbstractModel
1595
+ # @param CompanyId: 集团ID
1596
+ # @type CompanyId: String
1597
+ # @param ShopId: 店铺ID
1598
+ # @type ShopId: Integer
1599
+ # @param ZoneId: 区域ID
1600
+ # @type ZoneId: Integer
1601
+ # @param StartDate: 开始日期,格式yyyy-MM-dd
1602
+ # @type StartDate: String
1603
+ # @param EndDate: 结束日期,格式yyyy-MM-dd
1604
+ # @type EndDate: String
1605
+
1606
+ attr_accessor :CompanyId, :ShopId, :ZoneId, :StartDate, :EndDate
1607
+
1608
+ def initialize(companyid=nil, shopid=nil, zoneid=nil, startdate=nil, enddate=nil)
1609
+ @CompanyId = companyid
1610
+ @ShopId = shopid
1611
+ @ZoneId = zoneid
1612
+ @StartDate = startdate
1613
+ @EndDate = enddate
1614
+ end
1615
+
1616
+ def deserialize(params)
1617
+ @CompanyId = params['CompanyId']
1618
+ @ShopId = params['ShopId']
1619
+ @ZoneId = params['ZoneId']
1620
+ @StartDate = params['StartDate']
1621
+ @EndDate = params['EndDate']
1622
+ end
1623
+ end
1624
+
1625
+ # DescribeZoneFlowDailyByZoneId返回参数结构体
1626
+ class DescribeZoneFlowDailyByZoneIdResponse < TencentCloud::Common::AbstractModel
1627
+ # @param CompanyId: 集团id
1628
+ # @type CompanyId: String
1629
+ # @param ShopId: 店铺id
1630
+ # @type ShopId: Integer
1631
+ # @param ZoneId: 区域ID
1632
+ # @type ZoneId: Integer
1633
+ # @param ZoneName: 区域名称
1634
+ # @type ZoneName: String
1635
+ # @param Data: 每日人流量
1636
+ # @type Data: Array
1637
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1638
+ # @type RequestId: String
1639
+
1640
+ attr_accessor :CompanyId, :ShopId, :ZoneId, :ZoneName, :Data, :RequestId
1641
+
1642
+ def initialize(companyid=nil, shopid=nil, zoneid=nil, zonename=nil, data=nil, requestid=nil)
1643
+ @CompanyId = companyid
1644
+ @ShopId = shopid
1645
+ @ZoneId = zoneid
1646
+ @ZoneName = zonename
1647
+ @Data = data
1648
+ @RequestId = requestid
1649
+ end
1650
+
1651
+ def deserialize(params)
1652
+ @CompanyId = params['CompanyId']
1653
+ @ShopId = params['ShopId']
1654
+ @ZoneId = params['ZoneId']
1655
+ @ZoneName = params['ZoneName']
1656
+ unless params['Data'].nil?
1657
+ @Data = []
1658
+ params['Data'].each do |i|
1659
+ zonedayflow_tmp = ZoneDayFlow.new
1660
+ zonedayflow_tmp.deserialize(i)
1661
+ @Data << zonedayflow_tmp
1662
+ end
1663
+ end
1664
+ @RequestId = params['RequestId']
1665
+ end
1666
+ end
1667
+
1668
+ # DescribeZoneFlowGenderAvrStayTimeByZoneId请求参数结构体
1669
+ class DescribeZoneFlowGenderAvrStayTimeByZoneIdRequest < TencentCloud::Common::AbstractModel
1670
+ # @param CompanyId: 集团ID
1671
+ # @type CompanyId: String
1672
+ # @param ShopId: 店铺ID
1673
+ # @type ShopId: Integer
1674
+ # @param ZoneId: 区域ID
1675
+ # @type ZoneId: Integer
1676
+ # @param StartDate: 开始日期,格式yyyy-MM-dd
1677
+ # @type StartDate: String
1678
+ # @param EndDate: 结束日期,格式yyyy-MM-dd
1679
+ # @type EndDate: String
1680
+
1681
+ attr_accessor :CompanyId, :ShopId, :ZoneId, :StartDate, :EndDate
1682
+
1683
+ def initialize(companyid=nil, shopid=nil, zoneid=nil, startdate=nil, enddate=nil)
1684
+ @CompanyId = companyid
1685
+ @ShopId = shopid
1686
+ @ZoneId = zoneid
1687
+ @StartDate = startdate
1688
+ @EndDate = enddate
1689
+ end
1690
+
1691
+ def deserialize(params)
1692
+ @CompanyId = params['CompanyId']
1693
+ @ShopId = params['ShopId']
1694
+ @ZoneId = params['ZoneId']
1695
+ @StartDate = params['StartDate']
1696
+ @EndDate = params['EndDate']
1697
+ end
1698
+ end
1699
+
1700
+ # DescribeZoneFlowGenderAvrStayTimeByZoneId返回参数结构体
1701
+ class DescribeZoneFlowGenderAvrStayTimeByZoneIdResponse < TencentCloud::Common::AbstractModel
1702
+ # @param CompanyId: 集团ID
1703
+ # @type CompanyId: String
1704
+ # @param ShopId: 店铺ID
1705
+ # @type ShopId: Integer
1706
+ # @param ZoneId: 区域ID
1707
+ # @type ZoneId: Integer
1708
+ # @param ZoneName: 区域名称
1709
+ # @type ZoneName: String
1710
+ # @param Data: 不同年龄段男女停留时间(返回格式为数组,从第 1 个到最后一个数据,年龄段分别为 0-17,18 - 23, 24 - 30, 31 - 40, 41 - 50, 51 - 60, 61 - 100)
1711
+ # @type Data: Array
1712
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1713
+ # @type RequestId: String
1714
+
1715
+ attr_accessor :CompanyId, :ShopId, :ZoneId, :ZoneName, :Data, :RequestId
1716
+
1717
+ def initialize(companyid=nil, shopid=nil, zoneid=nil, zonename=nil, data=nil, requestid=nil)
1718
+ @CompanyId = companyid
1719
+ @ShopId = shopid
1720
+ @ZoneId = zoneid
1721
+ @ZoneName = zonename
1722
+ @Data = data
1723
+ @RequestId = requestid
1724
+ end
1725
+
1726
+ def deserialize(params)
1727
+ @CompanyId = params['CompanyId']
1728
+ @ShopId = params['ShopId']
1729
+ @ZoneId = params['ZoneId']
1730
+ @ZoneName = params['ZoneName']
1731
+ unless params['Data'].nil?
1732
+ @Data = []
1733
+ params['Data'].each do |i|
1734
+ zoneagegroupavrstaytime_tmp = ZoneAgeGroupAvrStayTime.new
1735
+ zoneagegroupavrstaytime_tmp.deserialize(i)
1736
+ @Data << zoneagegroupavrstaytime_tmp
1737
+ end
1738
+ end
1739
+ @RequestId = params['RequestId']
1740
+ end
1741
+ end
1742
+
1743
+ # DescribeZoneFlowGenderInfoByZoneId请求参数结构体
1744
+ class DescribeZoneFlowGenderInfoByZoneIdRequest < TencentCloud::Common::AbstractModel
1745
+ # @param CompanyId: 集团ID
1746
+ # @type CompanyId: String
1747
+ # @param ShopId: 店铺ID
1748
+ # @type ShopId: Integer
1749
+ # @param ZoneId: 区域ID
1750
+ # @type ZoneId: Integer
1751
+ # @param StartDate: 开始日期,格式yyyy-MM-dd
1752
+ # @type StartDate: String
1753
+ # @param EndDate: 结束日期,格式yyyy-MM-dd
1754
+ # @type EndDate: String
1755
+
1756
+ attr_accessor :CompanyId, :ShopId, :ZoneId, :StartDate, :EndDate
1757
+
1758
+ def initialize(companyid=nil, shopid=nil, zoneid=nil, startdate=nil, enddate=nil)
1759
+ @CompanyId = companyid
1760
+ @ShopId = shopid
1761
+ @ZoneId = zoneid
1762
+ @StartDate = startdate
1763
+ @EndDate = enddate
1764
+ end
1765
+
1766
+ def deserialize(params)
1767
+ @CompanyId = params['CompanyId']
1768
+ @ShopId = params['ShopId']
1769
+ @ZoneId = params['ZoneId']
1770
+ @StartDate = params['StartDate']
1771
+ @EndDate = params['EndDate']
1772
+ end
1773
+ end
1774
+
1775
+ # DescribeZoneFlowGenderInfoByZoneId返回参数结构体
1776
+ class DescribeZoneFlowGenderInfoByZoneIdResponse < TencentCloud::Common::AbstractModel
1777
+ # @param CompanyId: 集团ID
1778
+ # @type CompanyId: String
1779
+ # @param ShopId: 店铺ID
1780
+ # @type ShopId: Integer
1781
+ # @param ZoneId: 区域ID
1782
+ # @type ZoneId: Integer
1783
+ # @param ZoneName: 区域名称
1784
+ # @type ZoneName: String
1785
+ # @param MalePercent: 男性占比
1786
+ # @type MalePercent: Float
1787
+ # @param FemalePercent: 女性占比
1788
+ # @type FemalePercent: Float
1789
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1790
+ # @type RequestId: String
1791
+
1792
+ attr_accessor :CompanyId, :ShopId, :ZoneId, :ZoneName, :MalePercent, :FemalePercent, :RequestId
1793
+
1794
+ def initialize(companyid=nil, shopid=nil, zoneid=nil, zonename=nil, malepercent=nil, femalepercent=nil, requestid=nil)
1795
+ @CompanyId = companyid
1796
+ @ShopId = shopid
1797
+ @ZoneId = zoneid
1798
+ @ZoneName = zonename
1799
+ @MalePercent = malepercent
1800
+ @FemalePercent = femalepercent
1801
+ @RequestId = requestid
1802
+ end
1803
+
1804
+ def deserialize(params)
1805
+ @CompanyId = params['CompanyId']
1806
+ @ShopId = params['ShopId']
1807
+ @ZoneId = params['ZoneId']
1808
+ @ZoneName = params['ZoneName']
1809
+ @MalePercent = params['MalePercent']
1810
+ @FemalePercent = params['FemalePercent']
1811
+ @RequestId = params['RequestId']
1812
+ end
1813
+ end
1814
+
1815
+ # DescribeZoneFlowHourlyByZoneId请求参数结构体
1816
+ class DescribeZoneFlowHourlyByZoneIdRequest < TencentCloud::Common::AbstractModel
1817
+ # @param CompanyId: 集团ID
1818
+ # @type CompanyId: String
1819
+ # @param ShopId: 店铺ID
1820
+ # @type ShopId: Integer
1821
+ # @param ZoneId: 区域ID
1822
+ # @type ZoneId: Integer
1823
+ # @param StartDate: 开始日期,格式yyyy-MM-dd
1824
+ # @type StartDate: String
1825
+ # @param EndDate: 结束日期,格式yyyy-MM-dd
1826
+ # @type EndDate: String
1827
+
1828
+ attr_accessor :CompanyId, :ShopId, :ZoneId, :StartDate, :EndDate
1829
+
1830
+ def initialize(companyid=nil, shopid=nil, zoneid=nil, startdate=nil, enddate=nil)
1831
+ @CompanyId = companyid
1832
+ @ShopId = shopid
1833
+ @ZoneId = zoneid
1834
+ @StartDate = startdate
1835
+ @EndDate = enddate
1836
+ end
1837
+
1838
+ def deserialize(params)
1839
+ @CompanyId = params['CompanyId']
1840
+ @ShopId = params['ShopId']
1841
+ @ZoneId = params['ZoneId']
1842
+ @StartDate = params['StartDate']
1843
+ @EndDate = params['EndDate']
1844
+ end
1845
+ end
1846
+
1847
+ # DescribeZoneFlowHourlyByZoneId返回参数结构体
1848
+ class DescribeZoneFlowHourlyByZoneIdResponse < TencentCloud::Common::AbstractModel
1849
+ # @param CompanyId: 集团ID
1850
+ # @type CompanyId: String
1851
+ # @param ShopId: 店铺ID
1852
+ # @type ShopId: Integer
1853
+ # @param ZoneId: 区域ID
1854
+ # @type ZoneId: Integer
1855
+ # @param ZoneName: 区域名称
1856
+ # @type ZoneName: String
1857
+ # @param Data: 各个分时人流量
1858
+ # @type Data: Array
1859
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1860
+ # @type RequestId: String
1861
+
1862
+ attr_accessor :CompanyId, :ShopId, :ZoneId, :ZoneName, :Data, :RequestId
1863
+
1864
+ def initialize(companyid=nil, shopid=nil, zoneid=nil, zonename=nil, data=nil, requestid=nil)
1865
+ @CompanyId = companyid
1866
+ @ShopId = shopid
1867
+ @ZoneId = zoneid
1868
+ @ZoneName = zonename
1869
+ @Data = data
1870
+ @RequestId = requestid
1871
+ end
1872
+
1873
+ def deserialize(params)
1874
+ @CompanyId = params['CompanyId']
1875
+ @ShopId = params['ShopId']
1876
+ @ZoneId = params['ZoneId']
1877
+ @ZoneName = params['ZoneName']
1878
+ unless params['Data'].nil?
1879
+ @Data = []
1880
+ params['Data'].each do |i|
1881
+ zonehourflow_tmp = ZoneHourFlow.new
1882
+ zonehourflow_tmp.deserialize(i)
1883
+ @Data << zonehourflow_tmp
1884
+ end
1885
+ end
1886
+ @RequestId = params['RequestId']
1887
+ end
1888
+ end
1889
+
1890
+ # DescribeZoneTrafficInfo请求参数结构体
1891
+ class DescribeZoneTrafficInfoRequest < TencentCloud::Common::AbstractModel
1892
+ # @param CompanyId: 公司ID
1893
+ # @type CompanyId: String
1894
+ # @param ShopId: 店铺ID
1895
+ # @type ShopId: Integer
1896
+ # @param StartDate: 开始日期,格式yyyy-MM-dd
1897
+ # @type StartDate: String
1898
+ # @param EndDate: 结束日期,格式yyyy-MM-dd
1899
+ # @type EndDate: String
1900
+ # @param Offset: 偏移量:分页控制参数,第一页传0,第n页Offset=(n-1)*Limit
1901
+ # @type Offset: Integer
1902
+ # @param Limit: Limit:每页的数据项,最大100,超过100会被强制指定为100
1903
+ # @type Limit: Integer
1904
+
1905
+ attr_accessor :CompanyId, :ShopId, :StartDate, :EndDate, :Offset, :Limit
1906
+
1907
+ def initialize(companyid=nil, shopid=nil, startdate=nil, enddate=nil, offset=nil, limit=nil)
1908
+ @CompanyId = companyid
1909
+ @ShopId = shopid
1910
+ @StartDate = startdate
1911
+ @EndDate = enddate
1912
+ @Offset = offset
1913
+ @Limit = limit
1914
+ end
1915
+
1916
+ def deserialize(params)
1917
+ @CompanyId = params['CompanyId']
1918
+ @ShopId = params['ShopId']
1919
+ @StartDate = params['StartDate']
1920
+ @EndDate = params['EndDate']
1921
+ @Offset = params['Offset']
1922
+ @Limit = params['Limit']
1923
+ end
1924
+ end
1925
+
1926
+ # DescribeZoneTrafficInfo返回参数结构体
1927
+ class DescribeZoneTrafficInfoResponse < TencentCloud::Common::AbstractModel
1928
+ # @param CompanyId: 公司ID
1929
+ # @type CompanyId: String
1930
+ # @param ShopId: 门店ID
1931
+ # @type ShopId: Integer
1932
+ # @param TotalCount: 查询结果总数
1933
+ # @type TotalCount: Integer
1934
+ # @param ZoneTrafficInfoSet: 区域客流信息列表
1935
+ # @type ZoneTrafficInfoSet: Array
1936
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1937
+ # @type RequestId: String
1938
+
1939
+ attr_accessor :CompanyId, :ShopId, :TotalCount, :ZoneTrafficInfoSet, :RequestId
1940
+
1941
+ def initialize(companyid=nil, shopid=nil, totalcount=nil, zonetrafficinfoset=nil, requestid=nil)
1942
+ @CompanyId = companyid
1943
+ @ShopId = shopid
1944
+ @TotalCount = totalcount
1945
+ @ZoneTrafficInfoSet = zonetrafficinfoset
1946
+ @RequestId = requestid
1947
+ end
1948
+
1949
+ def deserialize(params)
1950
+ @CompanyId = params['CompanyId']
1951
+ @ShopId = params['ShopId']
1952
+ @TotalCount = params['TotalCount']
1953
+ unless params['ZoneTrafficInfoSet'].nil?
1954
+ @ZoneTrafficInfoSet = []
1955
+ params['ZoneTrafficInfoSet'].each do |i|
1956
+ zonetrafficinfo_tmp = ZoneTrafficInfo.new
1957
+ zonetrafficinfo_tmp.deserialize(i)
1958
+ @ZoneTrafficInfoSet << zonetrafficinfo_tmp
1959
+ end
1960
+ end
1961
+ @RequestId = params['RequestId']
1962
+ end
1963
+ end
1964
+
1965
+ # 性别年龄分组下的客流信息
1966
+ class GenderAgeTrafficDetail < TencentCloud::Common::AbstractModel
1967
+ # @param Gender: 性别: 0男1女
1968
+ # @type Gender: Integer
1969
+ # @param AgeGap: 年龄区间,枚举值:0-17、18-23、24-30、31-40、41-50、51-60、>60
1970
+ # @type AgeGap: String
1971
+ # @param TrafficCount: 客流量
1972
+ # @type TrafficCount: Integer
1973
+
1974
+ attr_accessor :Gender, :AgeGap, :TrafficCount
1975
+
1976
+ def initialize(gender=nil, agegap=nil, trafficcount=nil)
1977
+ @Gender = gender
1978
+ @AgeGap = agegap
1979
+ @TrafficCount = trafficcount
1980
+ end
1981
+
1982
+ def deserialize(params)
1983
+ @Gender = params['Gender']
1984
+ @AgeGap = params['AgeGap']
1985
+ @TrafficCount = params['TrafficCount']
1986
+ end
1987
+ end
1988
+
1989
+ # 分时客流量详细信息
1990
+ class HourTrafficInfoDetail < TencentCloud::Common::AbstractModel
1991
+ # @param Hour: 小时 取值为:0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23
1992
+ # @type Hour: Integer
1993
+ # @param HourTrafficTotalCount: 分时客流量
1994
+ # @type HourTrafficTotalCount: Integer
1995
+
1996
+ attr_accessor :Hour, :HourTrafficTotalCount
1997
+
1998
+ def initialize(hour=nil, hourtraffictotalcount=nil)
1999
+ @Hour = hour
2000
+ @HourTrafficTotalCount = hourtraffictotalcount
2001
+ end
2002
+
2003
+ def deserialize(params)
2004
+ @Hour = params['Hour']
2005
+ @HourTrafficTotalCount = params['HourTrafficTotalCount']
2006
+ end
2007
+ end
2008
+
2009
+ # ModifyPersonFeatureInfo请求参数结构体
2010
+ class ModifyPersonFeatureInfoRequest < TencentCloud::Common::AbstractModel
2011
+ # @param CompanyId: 集团ID
2012
+ # @type CompanyId: String
2013
+ # @param PersonId: 需要修改的顾客id
2014
+ # @type PersonId: Integer
2015
+ # @param Picture: 图片BASE编码
2016
+ # @type Picture: String
2017
+ # @param PictureName: 图片名称(尽量不要重复)
2018
+ # @type PictureName: String
2019
+ # @param PersonType: 人物类型,仅能操作黑白名单顾客(1 白名单,2 表示黑名单,101表示集团白名单,102表示集团黑名单)
2020
+ # @type PersonType: Integer
2021
+ # @param ShopId: 店铺ID,如果不填表示操作集团身份库
2022
+ # @type ShopId: Integer
2023
+
2024
+ attr_accessor :CompanyId, :PersonId, :Picture, :PictureName, :PersonType, :ShopId
2025
+
2026
+ def initialize(companyid=nil, personid=nil, picture=nil, picturename=nil, persontype=nil, shopid=nil)
2027
+ @CompanyId = companyid
2028
+ @PersonId = personid
2029
+ @Picture = picture
2030
+ @PictureName = picturename
2031
+ @PersonType = persontype
2032
+ @ShopId = shopid
2033
+ end
2034
+
2035
+ def deserialize(params)
2036
+ @CompanyId = params['CompanyId']
2037
+ @PersonId = params['PersonId']
2038
+ @Picture = params['Picture']
2039
+ @PictureName = params['PictureName']
2040
+ @PersonType = params['PersonType']
2041
+ @ShopId = params['ShopId']
2042
+ end
2043
+ end
2044
+
2045
+ # ModifyPersonFeatureInfo返回参数结构体
2046
+ class ModifyPersonFeatureInfoResponse < TencentCloud::Common::AbstractModel
2047
+ # @param CompanyId: 集团ID
2048
+ # @type CompanyId: String
2049
+ # @param ShopId: 店铺ID,如果不填表示操作集团身份库
2050
+ # @type ShopId: Integer
2051
+ # @param PersonId: 请求的顾客id
2052
+ # @type PersonId: Integer
2053
+ # @param PersonIdBind: 图片实际绑定person_id,可能与请求的person_id不同,以此id为准
2054
+ # @type PersonIdBind: Integer
2055
+ # @param PersonType: 请求的顾客类型
2056
+ # @type PersonType: Integer
2057
+ # @param SimilarPersonIds: 与请求的person_id类型相同、与请求图片特征相似的一个或多个person_id,需要额外确认这些id是否是同一个人
2058
+ # @type SimilarPersonIds: Array
2059
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2060
+ # @type RequestId: String
2061
+
2062
+ attr_accessor :CompanyId, :ShopId, :PersonId, :PersonIdBind, :PersonType, :SimilarPersonIds, :RequestId
2063
+
2064
+ def initialize(companyid=nil, shopid=nil, personid=nil, personidbind=nil, persontype=nil, similarpersonids=nil, requestid=nil)
2065
+ @CompanyId = companyid
2066
+ @ShopId = shopid
2067
+ @PersonId = personid
2068
+ @PersonIdBind = personidbind
2069
+ @PersonType = persontype
2070
+ @SimilarPersonIds = similarpersonids
2071
+ @RequestId = requestid
2072
+ end
2073
+
2074
+ def deserialize(params)
2075
+ @CompanyId = params['CompanyId']
2076
+ @ShopId = params['ShopId']
2077
+ @PersonId = params['PersonId']
2078
+ @PersonIdBind = params['PersonIdBind']
2079
+ @PersonType = params['PersonType']
2080
+ @SimilarPersonIds = params['SimilarPersonIds']
2081
+ @RequestId = params['RequestId']
2082
+ end
2083
+ end
2084
+
2085
+ # ModifyPersonTagInfo请求参数结构体
2086
+ class ModifyPersonTagInfoRequest < TencentCloud::Common::AbstractModel
2087
+ # @param CompanyId: 优mall集团id,通过"指定身份标识获取客户门店列表"接口获取
2088
+ # @type CompanyId: String
2089
+ # @param ShopId: 优mall店铺id,通过"指定身份标识获取客户门店列表"接口获取,为0则拉取集团全部店铺当前
2090
+ # @type ShopId: Integer
2091
+ # @param Tags: 需要设置的顾客信息,批量设置最大为10个
2092
+ # @type Tags: Array
2093
+
2094
+ attr_accessor :CompanyId, :ShopId, :Tags
2095
+
2096
+ def initialize(companyid=nil, shopid=nil, tags=nil)
2097
+ @CompanyId = companyid
2098
+ @ShopId = shopid
2099
+ @Tags = tags
2100
+ end
2101
+
2102
+ def deserialize(params)
2103
+ @CompanyId = params['CompanyId']
2104
+ @ShopId = params['ShopId']
2105
+ unless params['Tags'].nil?
2106
+ @Tags = []
2107
+ params['Tags'].each do |i|
2108
+ persontaginfo_tmp = PersonTagInfo.new
2109
+ persontaginfo_tmp.deserialize(i)
2110
+ @Tags << persontaginfo_tmp
2111
+ end
2112
+ end
2113
+ end
2114
+ end
2115
+
2116
+ # ModifyPersonTagInfo返回参数结构体
2117
+ class ModifyPersonTagInfoResponse < TencentCloud::Common::AbstractModel
2118
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2119
+ # @type RequestId: String
2120
+
2121
+ attr_accessor :RequestId
2122
+
2123
+ def initialize(requestid=nil)
2124
+ @RequestId = requestid
2125
+ end
2126
+
2127
+ def deserialize(params)
2128
+ @RequestId = params['RequestId']
2129
+ end
2130
+ end
2131
+
2132
+ # ModifyPersonType请求参数结构体
2133
+ class ModifyPersonTypeRequest < TencentCloud::Common::AbstractModel
2134
+ # @param CompanyId: 集团ID
2135
+ # @type CompanyId: String
2136
+ # @param ShopId: 门店ID
2137
+ # @type ShopId: Integer
2138
+ # @param PersonId: 顾客ID
2139
+ # @type PersonId: Integer
2140
+ # @param PersonType: 身份类型(0表示普通顾客,1 白名单,2 表示黑名单)
2141
+ # @type PersonType: Integer
2142
+ # @param PersonSubType: 身份子类型:
2143
+ # PersonType=0时(普通顾客),0普通顾客
2144
+ # PersonType=1时(白名单),0店员,1商场人员,2其他类型人员,3区域经理,4注册会员,5VIP用户
2145
+ # PersonType=2时(黑名单),0普通黑名单,1小偷)
2146
+ # @type PersonSubType: Integer
2147
+
2148
+ attr_accessor :CompanyId, :ShopId, :PersonId, :PersonType, :PersonSubType
2149
+
2150
+ def initialize(companyid=nil, shopid=nil, personid=nil, persontype=nil, personsubtype=nil)
2151
+ @CompanyId = companyid
2152
+ @ShopId = shopid
2153
+ @PersonId = personid
2154
+ @PersonType = persontype
2155
+ @PersonSubType = personsubtype
2156
+ end
2157
+
2158
+ def deserialize(params)
2159
+ @CompanyId = params['CompanyId']
2160
+ @ShopId = params['ShopId']
2161
+ @PersonId = params['PersonId']
2162
+ @PersonType = params['PersonType']
2163
+ @PersonSubType = params['PersonSubType']
2164
+ end
2165
+ end
2166
+
2167
+ # ModifyPersonType返回参数结构体
2168
+ class ModifyPersonTypeResponse < TencentCloud::Common::AbstractModel
2169
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2170
+ # @type RequestId: String
2171
+
2172
+ attr_accessor :RequestId
2173
+
2174
+ def initialize(requestid=nil)
2175
+ @RequestId = requestid
2176
+ end
2177
+
2178
+ def deserialize(params)
2179
+ @RequestId = params['RequestId']
2180
+ end
2181
+ end
2182
+
2183
+ # 网络状态
2184
+ class NetworkAndShopInfo < TencentCloud::Common::AbstractModel
2185
+ # @param CompanyId: 集团id
2186
+ # @type CompanyId: String
2187
+ # @param ShopId: 店铺id
2188
+ # @type ShopId: Integer
2189
+ # @param Province: 店铺省份
2190
+ # @type Province: String
2191
+ # @param City: 店铺城市
2192
+ # @type City: String
2193
+ # @param ShopName: 店铺名
2194
+ # @type ShopName: String
2195
+ # @param Upload: 上传带宽,单位Mb/s,-1:未知
2196
+ # @type Upload: Float
2197
+ # @param Download: 下载带宽,单位Mb/s,-1:未知
2198
+ # @type Download: Float
2199
+ # @param MinRtt: 最小延迟,单位ms,-1:未知
2200
+ # @type MinRtt: Float
2201
+ # @param AvgRtt: 平均延迟,单位ms,-1:未知
2202
+ # @type AvgRtt: Float
2203
+ # @param MaxRtt: 最大延迟,单位ms,-1:未知
2204
+ # @type MaxRtt: Float
2205
+ # @param MdevRtt: 平均偏差延迟,单位ms,-1:未知
2206
+ # @type MdevRtt: Float
2207
+ # @param Loss: 丢包率百分比,-1:未知
2208
+ # @type Loss: Float
2209
+ # @param UpdateTime: 更新时间戳
2210
+ # @type UpdateTime: Integer
2211
+ # @param Mac: 上报网络状态设备
2212
+ # @type Mac: String
2213
+
2214
+ attr_accessor :CompanyId, :ShopId, :Province, :City, :ShopName, :Upload, :Download, :MinRtt, :AvgRtt, :MaxRtt, :MdevRtt, :Loss, :UpdateTime, :Mac
2215
+
2216
+ def initialize(companyid=nil, shopid=nil, province=nil, city=nil, shopname=nil, upload=nil, download=nil, minrtt=nil, avgrtt=nil, maxrtt=nil, mdevrtt=nil, loss=nil, updatetime=nil, mac=nil)
2217
+ @CompanyId = companyid
2218
+ @ShopId = shopid
2219
+ @Province = province
2220
+ @City = city
2221
+ @ShopName = shopname
2222
+ @Upload = upload
2223
+ @Download = download
2224
+ @MinRtt = minrtt
2225
+ @AvgRtt = avgrtt
2226
+ @MaxRtt = maxrtt
2227
+ @MdevRtt = mdevrtt
2228
+ @Loss = loss
2229
+ @UpdateTime = updatetime
2230
+ @Mac = mac
2231
+ end
2232
+
2233
+ def deserialize(params)
2234
+ @CompanyId = params['CompanyId']
2235
+ @ShopId = params['ShopId']
2236
+ @Province = params['Province']
2237
+ @City = params['City']
2238
+ @ShopName = params['ShopName']
2239
+ @Upload = params['Upload']
2240
+ @Download = params['Download']
2241
+ @MinRtt = params['MinRtt']
2242
+ @AvgRtt = params['AvgRtt']
2243
+ @MaxRtt = params['MaxRtt']
2244
+ @MdevRtt = params['MdevRtt']
2245
+ @Loss = params['Loss']
2246
+ @UpdateTime = params['UpdateTime']
2247
+ @Mac = params['Mac']
2248
+ end
2249
+ end
2250
+
2251
+ # 查询网络状态历史数据输出
2252
+ class NetworkHistoryInfo < TencentCloud::Common::AbstractModel
2253
+ # @param Count: 总数
2254
+ # @type Count: Integer
2255
+ # @param CompanyId: 集团id
2256
+ # @type CompanyId: String
2257
+ # @param ShopId: 店铺id
2258
+ # @type ShopId: Integer
2259
+ # @param Province: 店铺省份
2260
+ # @type Province: String
2261
+ # @param City: 店铺城市
2262
+ # @type City: String
2263
+ # @param ShopName: 店铺名称
2264
+ # @type ShopName: String
2265
+ # @param Infos: 网络信息
2266
+ # @type Infos: Array
2267
+
2268
+ attr_accessor :Count, :CompanyId, :ShopId, :Province, :City, :ShopName, :Infos
2269
+
2270
+ def initialize(count=nil, companyid=nil, shopid=nil, province=nil, city=nil, shopname=nil, infos=nil)
2271
+ @Count = count
2272
+ @CompanyId = companyid
2273
+ @ShopId = shopid
2274
+ @Province = province
2275
+ @City = city
2276
+ @ShopName = shopname
2277
+ @Infos = infos
2278
+ end
2279
+
2280
+ def deserialize(params)
2281
+ @Count = params['Count']
2282
+ @CompanyId = params['CompanyId']
2283
+ @ShopId = params['ShopId']
2284
+ @Province = params['Province']
2285
+ @City = params['City']
2286
+ @ShopName = params['ShopName']
2287
+ unless params['Infos'].nil?
2288
+ @Infos = []
2289
+ params['Infos'].each do |i|
2290
+ networkinfo_tmp = NetworkInfo.new
2291
+ networkinfo_tmp.deserialize(i)
2292
+ @Infos << networkinfo_tmp
2293
+ end
2294
+ end
2295
+ end
2296
+ end
2297
+
2298
+ # 没有店铺信息的网络状态
2299
+ class NetworkInfo < TencentCloud::Common::AbstractModel
2300
+ # @param Upload: 上传带宽,单位Mb/s,-1:未知
2301
+ # @type Upload: Float
2302
+ # @param Download: 下载带宽,单位Mb/s,-1:未知
2303
+ # @type Download: Float
2304
+ # @param MinRtt: 最小延迟,单位ms,-1:未知
2305
+ # @type MinRtt: Float
2306
+ # @param AvgRtt: 平均延迟,单位ms,-1:未知
2307
+ # @type AvgRtt: Float
2308
+ # @param MaxRtt: 最大延迟,单位ms,-1:未知
2309
+ # @type MaxRtt: Float
2310
+ # @param MdevRtt: 平均偏差延迟,单位ms,-1:未知
2311
+ # @type MdevRtt: Float
2312
+ # @param Loss: 丢包率百分比,-1:未知
2313
+ # @type Loss: Float
2314
+ # @param UpdateTime: 更新时间戳
2315
+ # @type UpdateTime: Integer
2316
+ # @param Mac: 上报网络状态设备
2317
+ # @type Mac: String
2318
+
2319
+ attr_accessor :Upload, :Download, :MinRtt, :AvgRtt, :MaxRtt, :MdevRtt, :Loss, :UpdateTime, :Mac
2320
+
2321
+ def initialize(upload=nil, download=nil, minrtt=nil, avgrtt=nil, maxrtt=nil, mdevrtt=nil, loss=nil, updatetime=nil, mac=nil)
2322
+ @Upload = upload
2323
+ @Download = download
2324
+ @MinRtt = minrtt
2325
+ @AvgRtt = avgrtt
2326
+ @MaxRtt = maxrtt
2327
+ @MdevRtt = mdevrtt
2328
+ @Loss = loss
2329
+ @UpdateTime = updatetime
2330
+ @Mac = mac
2331
+ end
2332
+
2333
+ def deserialize(params)
2334
+ @Upload = params['Upload']
2335
+ @Download = params['Download']
2336
+ @MinRtt = params['MinRtt']
2337
+ @AvgRtt = params['AvgRtt']
2338
+ @MaxRtt = params['MaxRtt']
2339
+ @MdevRtt = params['MdevRtt']
2340
+ @Loss = params['Loss']
2341
+ @UpdateTime = params['UpdateTime']
2342
+ @Mac = params['Mac']
2343
+ end
2344
+ end
2345
+
2346
+ # 获取当前门店最新网络状态数据返回结构
2347
+ class NetworkLastInfo < TencentCloud::Common::AbstractModel
2348
+ # @param Count: 总数
2349
+ # @type Count: Integer
2350
+ # @param Infos: 网络状态
2351
+ # @type Infos: Array
2352
+
2353
+ attr_accessor :Count, :Infos
2354
+
2355
+ def initialize(count=nil, infos=nil)
2356
+ @Count = count
2357
+ @Infos = infos
2358
+ end
2359
+
2360
+ def deserialize(params)
2361
+ @Count = params['Count']
2362
+ unless params['Infos'].nil?
2363
+ @Infos = []
2364
+ params['Infos'].each do |i|
2365
+ networkandshopinfo_tmp = NetworkAndShopInfo.new
2366
+ networkandshopinfo_tmp.deserialize(i)
2367
+ @Infos << networkandshopinfo_tmp
2368
+ end
2369
+ end
2370
+ end
2371
+ end
2372
+
2373
+ # 轨迹点坐标
2374
+ class PersonCoordinate < TencentCloud::Common::AbstractModel
2375
+ # @param CADX: CAD图X坐标
2376
+ # @type CADX: Float
2377
+ # @param CADY: CAD图Y坐标
2378
+ # @type CADY: Float
2379
+ # @param CapTime: 抓拍时间点
2380
+ # @type CapTime: String
2381
+ # @param CapPic: 抓拍图片
2382
+ # @type CapPic: String
2383
+ # @param MallAreaType: 卖场区域类型
2384
+ # @type MallAreaType: Integer
2385
+ # @param PosId: 坐标编号
2386
+ # @type PosId: Integer
2387
+ # @param ShopId: 门店编号
2388
+ # @type ShopId: Integer
2389
+ # @param Event: 事件
2390
+ # @type Event: String
2391
+
2392
+ attr_accessor :CADX, :CADY, :CapTime, :CapPic, :MallAreaType, :PosId, :ShopId, :Event
2393
+
2394
+ def initialize(cadx=nil, cady=nil, captime=nil, cappic=nil, mallareatype=nil, posid=nil, shopid=nil, event=nil)
2395
+ @CADX = cadx
2396
+ @CADY = cady
2397
+ @CapTime = captime
2398
+ @CapPic = cappic
2399
+ @MallAreaType = mallareatype
2400
+ @PosId = posid
2401
+ @ShopId = shopid
2402
+ @Event = event
2403
+ end
2404
+
2405
+ def deserialize(params)
2406
+ @CADX = params['CADX']
2407
+ @CADY = params['CADY']
2408
+ @CapTime = params['CapTime']
2409
+ @CapPic = params['CapPic']
2410
+ @MallAreaType = params['MallAreaType']
2411
+ @PosId = params['PosId']
2412
+ @ShopId = params['ShopId']
2413
+ @Event = params['Event']
2414
+ end
2415
+ end
2416
+
2417
+ # 用户信息
2418
+ class PersonInfo < TencentCloud::Common::AbstractModel
2419
+ # @param PersonId: 用户ID
2420
+ # @type PersonId: Integer
2421
+ # @param PersonPicture: 人脸图片Base64内容,已弃用,返回默认空值
2422
+ # @type PersonPicture: String
2423
+ # @param Gender: 性别:0男1女
2424
+ # @type Gender: Integer
2425
+ # @param Age: 年龄
2426
+ # @type Age: Integer
2427
+ # @param PersonType: 身份类型(0表示普通顾客,1 白名单,2 表示黑名单)
2428
+ # @type PersonType: Integer
2429
+ # @param PersonPictureUrl: 人脸图片Url,在有效期内可以访问下载
2430
+ # @type PersonPictureUrl: String
2431
+ # @param PersonSubType: 身份子类型:
2432
+ # PersonType=0时(普通顾客),0普通顾客
2433
+ # PersonType=1时(白名单),0店员,1商场人员,2其他类型人员,3区域经理,4注册用户,5VIP用户
2434
+ # PersonType=2时(黑名单),0普通黑名单,1小偷)
2435
+ # @type PersonSubType: Integer
2436
+ # @param VisitTimes: 到访次数,-1表示未知
2437
+ # @type VisitTimes: Integer
2438
+ # @param VisitDays: 到访天数,-1表示未知
2439
+ # @type VisitDays: Integer
2440
+
2441
+ attr_accessor :PersonId, :PersonPicture, :Gender, :Age, :PersonType, :PersonPictureUrl, :PersonSubType, :VisitTimes, :VisitDays
2442
+
2443
+ def initialize(personid=nil, personpicture=nil, gender=nil, age=nil, persontype=nil, personpictureurl=nil, personsubtype=nil, visittimes=nil, visitdays=nil)
2444
+ @PersonId = personid
2445
+ @PersonPicture = personpicture
2446
+ @Gender = gender
2447
+ @Age = age
2448
+ @PersonType = persontype
2449
+ @PersonPictureUrl = personpictureurl
2450
+ @PersonSubType = personsubtype
2451
+ @VisitTimes = visittimes
2452
+ @VisitDays = visitdays
2453
+ end
2454
+
2455
+ def deserialize(params)
2456
+ @PersonId = params['PersonId']
2457
+ @PersonPicture = params['PersonPicture']
2458
+ @Gender = params['Gender']
2459
+ @Age = params['Age']
2460
+ @PersonType = params['PersonType']
2461
+ @PersonPictureUrl = params['PersonPictureUrl']
2462
+ @PersonSubType = params['PersonSubType']
2463
+ @VisitTimes = params['VisitTimes']
2464
+ @VisitDays = params['VisitDays']
2465
+ end
2466
+ end
2467
+
2468
+ # 来访客人基本资料
2469
+ class PersonProfile < TencentCloud::Common::AbstractModel
2470
+ # @param PersonId: 客人编码
2471
+ # @type PersonId: String
2472
+ # @param Gender: 性别
2473
+ # @type Gender: Integer
2474
+ # @param Age: 年龄
2475
+ # @type Age: Integer
2476
+ # @param FirstArrivedTime: 首次到场时间
2477
+ # @type FirstArrivedTime: String
2478
+ # @param ArrivedCount: 来访次数
2479
+ # @type ArrivedCount: Integer
2480
+ # @param PicUrl: 客户图片
2481
+ # @type PicUrl: String
2482
+ # @param Similarity: 置信度
2483
+ # @type Similarity: Float
2484
+
2485
+ attr_accessor :PersonId, :Gender, :Age, :FirstArrivedTime, :ArrivedCount, :PicUrl, :Similarity
2486
+
2487
+ def initialize(personid=nil, gender=nil, age=nil, firstarrivedtime=nil, arrivedcount=nil, picurl=nil, similarity=nil)
2488
+ @PersonId = personid
2489
+ @Gender = gender
2490
+ @Age = age
2491
+ @FirstArrivedTime = firstarrivedtime
2492
+ @ArrivedCount = arrivedcount
2493
+ @PicUrl = picurl
2494
+ @Similarity = similarity
2495
+ end
2496
+
2497
+ def deserialize(params)
2498
+ @PersonId = params['PersonId']
2499
+ @Gender = params['Gender']
2500
+ @Age = params['Age']
2501
+ @FirstArrivedTime = params['FirstArrivedTime']
2502
+ @ArrivedCount = params['ArrivedCount']
2503
+ @PicUrl = params['PicUrl']
2504
+ @Similarity = params['Similarity']
2505
+ end
2506
+ end
2507
+
2508
+ # 修改顾客属性参数
2509
+ class PersonTagInfo < TencentCloud::Common::AbstractModel
2510
+ # @param OldType: 顾客原类型
2511
+ # @type OldType: Integer
2512
+ # @param NewType: 顾客新类型
2513
+ # @type NewType: Integer
2514
+ # @param PersonId: 顾客face id
2515
+ # @type PersonId: Integer
2516
+
2517
+ attr_accessor :OldType, :NewType, :PersonId
2518
+
2519
+ def initialize(oldtype=nil, newtype=nil, personid=nil)
2520
+ @OldType = oldtype
2521
+ @NewType = newtype
2522
+ @PersonId = personid
2523
+ end
2524
+
2525
+ def deserialize(params)
2526
+ @OldType = params['OldType']
2527
+ @NewType = params['NewType']
2528
+ @PersonId = params['PersonId']
2529
+ end
2530
+ end
2531
+
2532
+ # 客户轨迹点
2533
+ class PersonTracePoint < TencentCloud::Common::AbstractModel
2534
+ # @param MallAreaId: 卖场区域编码
2535
+ # @type MallAreaId: Integer
2536
+ # @param ShopId: 门店编码
2537
+ # @type ShopId: Integer
2538
+ # @param MallAreaType: 卖场区域类型
2539
+ # @type MallAreaType: Integer
2540
+ # @param TraceEventType: 轨迹事件
2541
+ # @type TraceEventType: Integer
2542
+ # @param TraceEventTime: 轨迹事件发生时间点
2543
+ # @type TraceEventTime: String
2544
+ # @param CapPic: 抓拍图片
2545
+ # @type CapPic: String
2546
+ # @param ShoppingBagType: 购物袋类型
2547
+ # @type ShoppingBagType: Integer
2548
+ # @param ShoppingBagCount: 购物袋数量
2549
+ # @type ShoppingBagCount: Integer
2550
+
2551
+ attr_accessor :MallAreaId, :ShopId, :MallAreaType, :TraceEventType, :TraceEventTime, :CapPic, :ShoppingBagType, :ShoppingBagCount
2552
+
2553
+ def initialize(mallareaid=nil, shopid=nil, mallareatype=nil, traceeventtype=nil, traceeventtime=nil, cappic=nil, shoppingbagtype=nil, shoppingbagcount=nil)
2554
+ @MallAreaId = mallareaid
2555
+ @ShopId = shopid
2556
+ @MallAreaType = mallareatype
2557
+ @TraceEventType = traceeventtype
2558
+ @TraceEventTime = traceeventtime
2559
+ @CapPic = cappic
2560
+ @ShoppingBagType = shoppingbagtype
2561
+ @ShoppingBagCount = shoppingbagcount
2562
+ end
2563
+
2564
+ def deserialize(params)
2565
+ @MallAreaId = params['MallAreaId']
2566
+ @ShopId = params['ShopId']
2567
+ @MallAreaType = params['MallAreaType']
2568
+ @TraceEventType = params['TraceEventType']
2569
+ @TraceEventTime = params['TraceEventTime']
2570
+ @CapPic = params['CapPic']
2571
+ @ShoppingBagType = params['ShoppingBagType']
2572
+ @ShoppingBagCount = params['ShoppingBagCount']
2573
+ end
2574
+ end
2575
+
2576
+ # 客户轨迹序列
2577
+ class PersonTraceRoute < TencentCloud::Common::AbstractModel
2578
+ # @param TraceId: 轨迹编码
2579
+ # @type TraceId: String
2580
+ # @param TracePointSet: 轨迹点序列
2581
+ # @type TracePointSet: Array
2582
+
2583
+ attr_accessor :TraceId, :TracePointSet
2584
+
2585
+ def initialize(traceid=nil, tracepointset=nil)
2586
+ @TraceId = traceid
2587
+ @TracePointSet = tracepointset
2588
+ end
2589
+
2590
+ def deserialize(params)
2591
+ @TraceId = params['TraceId']
2592
+ unless params['TracePointSet'].nil?
2593
+ @TracePointSet = []
2594
+ params['TracePointSet'].each do |i|
2595
+ persontracepoint_tmp = PersonTracePoint.new
2596
+ persontracepoint_tmp.deserialize(i)
2597
+ @TracePointSet << persontracepoint_tmp
2598
+ end
2599
+ end
2600
+ end
2601
+ end
2602
+
2603
+ # 用户到访明细
2604
+ class PersonVisitInfo < TencentCloud::Common::AbstractModel
2605
+ # @param PersonId: 用户ID
2606
+ # @type PersonId: Integer
2607
+ # @param VisitId: 用户到访ID
2608
+ # @type VisitId: Integer
2609
+ # @param InTime: 到访时间:Unix时间戳
2610
+ # @type InTime: Integer
2611
+ # @param CapturedPicture: 抓拍到的头像Base64内容,已弃用,返回默认空值
2612
+ # @type CapturedPicture: String
2613
+ # @param MaskType: 口罩类型:0不戴口罩,1戴口罩
2614
+ # @type MaskType: Integer
2615
+ # @param GlassType: 眼镜类型:0不戴眼镜,1普通眼镜 , 2墨镜
2616
+ # @type GlassType: Integer
2617
+ # @param HairType: 发型:0 短发, 1长发
2618
+ # @type HairType: Integer
2619
+ # @param CapturedPictureUrl: 抓拍到的头像Url,在有效期内可以访问下载
2620
+ # @type CapturedPictureUrl: String
2621
+ # @param SceneInfo: 抓拍头像的场景图信息
2622
+ # @type SceneInfo: :class:`Tencentcloud::Youmall.v20180228.models.SceneInfo`
2623
+
2624
+ attr_accessor :PersonId, :VisitId, :InTime, :CapturedPicture, :MaskType, :GlassType, :HairType, :CapturedPictureUrl, :SceneInfo
2625
+
2626
+ def initialize(personid=nil, visitid=nil, intime=nil, capturedpicture=nil, masktype=nil, glasstype=nil, hairtype=nil, capturedpictureurl=nil, sceneinfo=nil)
2627
+ @PersonId = personid
2628
+ @VisitId = visitid
2629
+ @InTime = intime
2630
+ @CapturedPicture = capturedpicture
2631
+ @MaskType = masktype
2632
+ @GlassType = glasstype
2633
+ @HairType = hairtype
2634
+ @CapturedPictureUrl = capturedpictureurl
2635
+ @SceneInfo = sceneinfo
2636
+ end
2637
+
2638
+ def deserialize(params)
2639
+ @PersonId = params['PersonId']
2640
+ @VisitId = params['VisitId']
2641
+ @InTime = params['InTime']
2642
+ @CapturedPicture = params['CapturedPicture']
2643
+ @MaskType = params['MaskType']
2644
+ @GlassType = params['GlassType']
2645
+ @HairType = params['HairType']
2646
+ @CapturedPictureUrl = params['CapturedPictureUrl']
2647
+ unless params['SceneInfo'].nil?
2648
+ @SceneInfo = SceneInfo.new
2649
+ @SceneInfo.deserialize(params['SceneInfo'])
2650
+ end
2651
+ end
2652
+ end
2653
+
2654
+ # RegisterCallback请求参数结构体
2655
+ class RegisterCallbackRequest < TencentCloud::Common::AbstractModel
2656
+ # @param CompanyId: 集团id,通过"指定身份标识获取客户门店列表"接口获取
2657
+ # @type CompanyId: String
2658
+ # @param BackUrl: 通知回调地址,完整url,示例(http://youmall.tencentcloudapi.com/)
2659
+ # @type BackUrl: String
2660
+ # @param Time: 请求时间戳
2661
+ # @type Time: Integer
2662
+ # @param NeedFacePic: 是否需要顾客图片,1-需要图片,其它-不需要图片
2663
+ # @type NeedFacePic: Integer
2664
+
2665
+ attr_accessor :CompanyId, :BackUrl, :Time, :NeedFacePic
2666
+
2667
+ def initialize(companyid=nil, backurl=nil, time=nil, needfacepic=nil)
2668
+ @CompanyId = companyid
2669
+ @BackUrl = backurl
2670
+ @Time = time
2671
+ @NeedFacePic = needfacepic
2672
+ end
2673
+
2674
+ def deserialize(params)
2675
+ @CompanyId = params['CompanyId']
2676
+ @BackUrl = params['BackUrl']
2677
+ @Time = params['Time']
2678
+ @NeedFacePic = params['NeedFacePic']
2679
+ end
2680
+ end
2681
+
2682
+ # RegisterCallback返回参数结构体
2683
+ class RegisterCallbackResponse < TencentCloud::Common::AbstractModel
2684
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2685
+ # @type RequestId: String
2686
+
2687
+ attr_accessor :RequestId
2688
+
2689
+ def initialize(requestid=nil)
2690
+ @RequestId = requestid
2691
+ end
2692
+
2693
+ def deserialize(params)
2694
+ @RequestId = params['RequestId']
2695
+ end
2696
+ end
2697
+
2698
+ # 场景图信息
2699
+ class SceneInfo < TencentCloud::Common::AbstractModel
2700
+ # @param ScenePictureURL: 场景图
2701
+ # @type ScenePictureURL: String
2702
+ # @param HeadX: 抓拍头像左上角X坐标在场景图中的像素点位置
2703
+ # @type HeadX: Integer
2704
+ # @param HeadY: 抓拍头像左上角Y坐标在场景图中的像素点位置
2705
+ # @type HeadY: Integer
2706
+ # @param HeadWidth: 抓拍头像在场景图中占有的像素宽度
2707
+ # @type HeadWidth: Integer
2708
+ # @param HeadHeight: 抓拍头像在场景图中占有的像素高度
2709
+ # @type HeadHeight: Integer
2710
+
2711
+ attr_accessor :ScenePictureURL, :HeadX, :HeadY, :HeadWidth, :HeadHeight
2712
+
2713
+ def initialize(scenepictureurl=nil, headx=nil, heady=nil, headwidth=nil, headheight=nil)
2714
+ @ScenePictureURL = scenepictureurl
2715
+ @HeadX = headx
2716
+ @HeadY = heady
2717
+ @HeadWidth = headwidth
2718
+ @HeadHeight = headheight
2719
+ end
2720
+
2721
+ def deserialize(params)
2722
+ @ScenePictureURL = params['ScenePictureURL']
2723
+ @HeadX = params['HeadX']
2724
+ @HeadY = params['HeadY']
2725
+ @HeadWidth = params['HeadWidth']
2726
+ @HeadHeight = params['HeadHeight']
2727
+ end
2728
+ end
2729
+
2730
+ # 门店客流量列表信息
2731
+ class ShopDayTrafficInfo < TencentCloud::Common::AbstractModel
2732
+ # @param Date: 日期
2733
+ # @type Date: String
2734
+ # @param DayTrafficTotalCount: 客流量
2735
+ # @type DayTrafficTotalCount: Integer
2736
+ # @param GenderAgeTrafficDetailSet: 性别年龄分组下的客流信息
2737
+ # @type GenderAgeTrafficDetailSet: Array
2738
+
2739
+ attr_accessor :Date, :DayTrafficTotalCount, :GenderAgeTrafficDetailSet
2740
+
2741
+ def initialize(date=nil, daytraffictotalcount=nil, genderagetrafficdetailset=nil)
2742
+ @Date = date
2743
+ @DayTrafficTotalCount = daytraffictotalcount
2744
+ @GenderAgeTrafficDetailSet = genderagetrafficdetailset
2745
+ end
2746
+
2747
+ def deserialize(params)
2748
+ @Date = params['Date']
2749
+ @DayTrafficTotalCount = params['DayTrafficTotalCount']
2750
+ unless params['GenderAgeTrafficDetailSet'].nil?
2751
+ @GenderAgeTrafficDetailSet = []
2752
+ params['GenderAgeTrafficDetailSet'].each do |i|
2753
+ genderagetrafficdetail_tmp = GenderAgeTrafficDetail.new
2754
+ genderagetrafficdetail_tmp.deserialize(i)
2755
+ @GenderAgeTrafficDetailSet << genderagetrafficdetail_tmp
2756
+ end
2757
+ end
2758
+ end
2759
+ end
2760
+
2761
+ # 分时客流量信息
2762
+ class ShopHourTrafficInfo < TencentCloud::Common::AbstractModel
2763
+ # @param Date: 日期,格式yyyy-MM-dd
2764
+ # @type Date: String
2765
+ # @param HourTrafficInfoDetailSet: 分时客流详细信息
2766
+ # @type HourTrafficInfoDetailSet: Array
2767
+
2768
+ attr_accessor :Date, :HourTrafficInfoDetailSet
2769
+
2770
+ def initialize(date=nil, hourtrafficinfodetailset=nil)
2771
+ @Date = date
2772
+ @HourTrafficInfoDetailSet = hourtrafficinfodetailset
2773
+ end
2774
+
2775
+ def deserialize(params)
2776
+ @Date = params['Date']
2777
+ unless params['HourTrafficInfoDetailSet'].nil?
2778
+ @HourTrafficInfoDetailSet = []
2779
+ params['HourTrafficInfoDetailSet'].each do |i|
2780
+ hourtrafficinfodetail_tmp = HourTrafficInfoDetail.new
2781
+ hourtrafficinfodetail_tmp.deserialize(i)
2782
+ @HourTrafficInfoDetailSet << hourtrafficinfodetail_tmp
2783
+ end
2784
+ end
2785
+ end
2786
+ end
2787
+
2788
+ # 客户所属的门店信息
2789
+ class ShopInfo < TencentCloud::Common::AbstractModel
2790
+ # @param CompanyId: 公司ID
2791
+ # @type CompanyId: String
2792
+ # @param ShopId: 门店ID
2793
+ # @type ShopId: Integer
2794
+ # @param ShopName: 门店名称
2795
+ # @type ShopName: String
2796
+ # @param ShopCode: 客户门店编码
2797
+ # @type ShopCode: String
2798
+ # @param Province: 省
2799
+ # @type Province: String
2800
+ # @param City: 市
2801
+ # @type City: String
2802
+ # @param CompanyName: 公司名称
2803
+ # @type CompanyName: String
2804
+
2805
+ attr_accessor :CompanyId, :ShopId, :ShopName, :ShopCode, :Province, :City, :CompanyName
2806
+
2807
+ def initialize(companyid=nil, shopid=nil, shopname=nil, shopcode=nil, province=nil, city=nil, companyname=nil)
2808
+ @CompanyId = companyid
2809
+ @ShopId = shopid
2810
+ @ShopName = shopname
2811
+ @ShopCode = shopcode
2812
+ @Province = province
2813
+ @City = city
2814
+ @CompanyName = companyname
2815
+ end
2816
+
2817
+ def deserialize(params)
2818
+ @CompanyId = params['CompanyId']
2819
+ @ShopId = params['ShopId']
2820
+ @ShopName = params['ShopName']
2821
+ @ShopCode = params['ShopCode']
2822
+ @Province = params['Province']
2823
+ @City = params['City']
2824
+ @CompanyName = params['CompanyName']
2825
+ end
2826
+ end
2827
+
2828
+ # 轨迹动线信息子结构
2829
+ class TrajectorySunData < TencentCloud::Common::AbstractModel
2830
+ # @param Zones: 区域动线,形如 x-x-x-x-x,其中 x 为区域 ID
2831
+ # @type Zones: String
2832
+ # @param Count: 该动线出现次数
2833
+ # @type Count: Integer
2834
+ # @param AvgStayTime: 该动线平均停留时间(秒)
2835
+ # @type AvgStayTime: Integer
2836
+
2837
+ attr_accessor :Zones, :Count, :AvgStayTime
2838
+
2839
+ def initialize(zones=nil, count=nil, avgstaytime=nil)
2840
+ @Zones = zones
2841
+ @Count = count
2842
+ @AvgStayTime = avgstaytime
2843
+ end
2844
+
2845
+ def deserialize(params)
2846
+ @Zones = params['Zones']
2847
+ @Count = params['Count']
2848
+ @AvgStayTime = params['AvgStayTime']
2849
+ end
2850
+ end
2851
+
2852
+ # 区域性别平均停留时间子结构
2853
+ class ZoneAgeGroupAvrStayTime < TencentCloud::Common::AbstractModel
2854
+ # @param MaleAvrStayTime: 男性平均停留时间
2855
+ # @type MaleAvrStayTime: Float
2856
+ # @param FemaleAvrStayTime: 女性平均停留时间
2857
+ # @type FemaleAvrStayTime: Float
2858
+
2859
+ attr_accessor :MaleAvrStayTime, :FemaleAvrStayTime
2860
+
2861
+ def initialize(maleavrstaytime=nil, femaleavrstaytime=nil)
2862
+ @MaleAvrStayTime = maleavrstaytime
2863
+ @FemaleAvrStayTime = femaleavrstaytime
2864
+ end
2865
+
2866
+ def deserialize(params)
2867
+ @MaleAvrStayTime = params['MaleAvrStayTime']
2868
+ @FemaleAvrStayTime = params['FemaleAvrStayTime']
2869
+ end
2870
+ end
2871
+
2872
+ # 每日客流统计子结构
2873
+ class ZoneDayFlow < TencentCloud::Common::AbstractModel
2874
+ # @param Day: 日期,如 2018-08-6
2875
+ # @type Day: String
2876
+ # @param FlowCount: 客流量
2877
+ # @type FlowCount: Integer
2878
+
2879
+ attr_accessor :Day, :FlowCount
2880
+
2881
+ def initialize(day=nil, flowcount=nil)
2882
+ @Day = day
2883
+ @FlowCount = flowcount
2884
+ end
2885
+
2886
+ def deserialize(params)
2887
+ @Day = params['Day']
2888
+ @FlowCount = params['FlowCount']
2889
+ end
2890
+ end
2891
+
2892
+ # 客流停留统计子结构
2893
+ class ZoneFlowAndAvrStayTime < TencentCloud::Common::AbstractModel
2894
+ # @param ZoneId: 区域id
2895
+ # @type ZoneId: Integer
2896
+ # @param ZoneName: 区域名称
2897
+ # @type ZoneName: String
2898
+ # @param FlowCount: 人流量
2899
+ # @type FlowCount: Integer
2900
+ # @param AvrStayTime: 平均停留时长
2901
+ # @type AvrStayTime: Integer
2902
+
2903
+ attr_accessor :ZoneId, :ZoneName, :FlowCount, :AvrStayTime
2904
+
2905
+ def initialize(zoneid=nil, zonename=nil, flowcount=nil, avrstaytime=nil)
2906
+ @ZoneId = zoneid
2907
+ @ZoneName = zonename
2908
+ @FlowCount = flowcount
2909
+ @AvrStayTime = avrstaytime
2910
+ end
2911
+
2912
+ def deserialize(params)
2913
+ @ZoneId = params['ZoneId']
2914
+ @ZoneName = params['ZoneName']
2915
+ @FlowCount = params['FlowCount']
2916
+ @AvrStayTime = params['AvrStayTime']
2917
+ end
2918
+ end
2919
+
2920
+ # 客流统计分时数据子结构
2921
+ class ZoneHourFlow < TencentCloud::Common::AbstractModel
2922
+ # @param Hour: 分时 0~23
2923
+ # @type Hour: Integer
2924
+ # @param FlowCount: 客流量
2925
+ # @type FlowCount: Integer
2926
+
2927
+ attr_accessor :Hour, :FlowCount
2928
+
2929
+ def initialize(hour=nil, flowcount=nil)
2930
+ @Hour = hour
2931
+ @FlowCount = flowcount
2932
+ end
2933
+
2934
+ def deserialize(params)
2935
+ @Hour = params['Hour']
2936
+ @FlowCount = params['FlowCount']
2937
+ end
2938
+ end
2939
+
2940
+ # 门店区域客流信息
2941
+ class ZoneTrafficInfo < TencentCloud::Common::AbstractModel
2942
+ # @param Date: 日期
2943
+ # @type Date: String
2944
+ # @param ZoneTrafficInfoDetailSet: 门店区域客流详细信息
2945
+ # @type ZoneTrafficInfoDetailSet: Array
2946
+
2947
+ attr_accessor :Date, :ZoneTrafficInfoDetailSet
2948
+
2949
+ def initialize(date=nil, zonetrafficinfodetailset=nil)
2950
+ @Date = date
2951
+ @ZoneTrafficInfoDetailSet = zonetrafficinfodetailset
2952
+ end
2953
+
2954
+ def deserialize(params)
2955
+ @Date = params['Date']
2956
+ unless params['ZoneTrafficInfoDetailSet'].nil?
2957
+ @ZoneTrafficInfoDetailSet = []
2958
+ params['ZoneTrafficInfoDetailSet'].each do |i|
2959
+ zonetrafficinfodetail_tmp = ZoneTrafficInfoDetail.new
2960
+ zonetrafficinfodetail_tmp.deserialize(i)
2961
+ @ZoneTrafficInfoDetailSet << zonetrafficinfodetail_tmp
2962
+ end
2963
+ end
2964
+ end
2965
+ end
2966
+
2967
+ # 门店区域客流详细信息
2968
+ class ZoneTrafficInfoDetail < TencentCloud::Common::AbstractModel
2969
+ # @param ZoneId: 区域ID
2970
+ # @type ZoneId: Integer
2971
+ # @param ZoneName: 区域名称
2972
+ # @type ZoneName: String
2973
+ # @param TrafficTotalCount: 客流量
2974
+ # @type TrafficTotalCount: Integer
2975
+ # @param AvgStayTime: 平均停留时间
2976
+ # @type AvgStayTime: Integer
2977
+
2978
+ attr_accessor :ZoneId, :ZoneName, :TrafficTotalCount, :AvgStayTime
2979
+
2980
+ def initialize(zoneid=nil, zonename=nil, traffictotalcount=nil, avgstaytime=nil)
2981
+ @ZoneId = zoneid
2982
+ @ZoneName = zonename
2983
+ @TrafficTotalCount = traffictotalcount
2984
+ @AvgStayTime = avgstaytime
2985
+ end
2986
+
2987
+ def deserialize(params)
2988
+ @ZoneId = params['ZoneId']
2989
+ @ZoneName = params['ZoneName']
2990
+ @TrafficTotalCount = params['TrafficTotalCount']
2991
+ @AvgStayTime = params['AvgStayTime']
2992
+ end
2993
+ end
2994
+
2995
+ end
2996
+ end
2997
+ end
2998
+