tencentcloud-sdk-ump 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.
- checksums.yaml +7 -0
- data/lib/VERSION +1 -0
- data/lib/tencentcloud-sdk-ump.rb +11 -0
- data/lib/v20200918/client.rb +447 -0
- data/lib/v20200918/models.rb +1675 -0
- metadata +66 -0
@@ -0,0 +1,1675 @@
|
|
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 Ump
|
19
|
+
module V20200918
|
20
|
+
# 点位包含铺位信息
|
21
|
+
class BunkZone < TencentCloud::Common::AbstractModel
|
22
|
+
# @param ZoneId: 点位ID
|
23
|
+
# @type ZoneId: Integer
|
24
|
+
# @param ZoneName: 点位名称
|
25
|
+
# @type ZoneName: String
|
26
|
+
# @param BunkCodes: 铺位编码
|
27
|
+
# @type BunkCodes: String
|
28
|
+
|
29
|
+
attr_accessor :ZoneId, :ZoneName, :BunkCodes
|
30
|
+
|
31
|
+
def initialize(zoneid=nil, zonename=nil, bunkcodes=nil)
|
32
|
+
@ZoneId = zoneid
|
33
|
+
@ZoneName = zonename
|
34
|
+
@BunkCodes = bunkcodes
|
35
|
+
end
|
36
|
+
|
37
|
+
def deserialize(params)
|
38
|
+
@ZoneId = params['ZoneId']
|
39
|
+
@ZoneName = params['ZoneName']
|
40
|
+
@BunkCodes = params['BunkCodes']
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# 摄像头配置信息
|
45
|
+
class CameraConfig < TencentCloud::Common::AbstractModel
|
46
|
+
# @param GroupCode: 集团编码
|
47
|
+
# @type GroupCode: String
|
48
|
+
# @param MallId: 广场ID
|
49
|
+
# @type MallId: Integer
|
50
|
+
# @param FloorId: 楼层ID
|
51
|
+
# @type FloorId: Integer
|
52
|
+
# @param CameraId: 摄像头ID
|
53
|
+
# @type CameraId: Integer
|
54
|
+
# @param CameraIp: 摄像头IP
|
55
|
+
# @type CameraIp: String
|
56
|
+
# @param CameraMac: 摄像头Mac
|
57
|
+
# @type CameraMac: String
|
58
|
+
# @param CameraType: 摄像头类型:
|
59
|
+
# 1: 码流机
|
60
|
+
# 2: AI相机
|
61
|
+
# @type CameraType: Integer
|
62
|
+
# @param CameraFeature: 摄像头功能:
|
63
|
+
# 1: 人脸
|
64
|
+
# 2: 人体
|
65
|
+
# @type CameraFeature: Integer
|
66
|
+
# @param CameraState: 摄像头是否启用:
|
67
|
+
# 0: 下线
|
68
|
+
# 1: 启用
|
69
|
+
# @type CameraState: Integer
|
70
|
+
# @param ZoneId: 点位ID
|
71
|
+
# @type ZoneId: Integer
|
72
|
+
# @param ZoneType: 点位类型:
|
73
|
+
# 1: 场门
|
74
|
+
# 3: 层门
|
75
|
+
# 5: 特殊区域
|
76
|
+
# 7: 门店
|
77
|
+
# 8: 补位
|
78
|
+
# 10: 开放式门店
|
79
|
+
# 11: 品类区
|
80
|
+
# 12: 公共区
|
81
|
+
# @type ZoneType: Integer
|
82
|
+
# @param Config: 配置
|
83
|
+
# @type Config: :class:`Tencentcloud::Ump.v20200918.models.Config`
|
84
|
+
# @param Width: 宽
|
85
|
+
# @type Width: Integer
|
86
|
+
# @param Height: 高
|
87
|
+
# @type Height: Integer
|
88
|
+
|
89
|
+
attr_accessor :GroupCode, :MallId, :FloorId, :CameraId, :CameraIp, :CameraMac, :CameraType, :CameraFeature, :CameraState, :ZoneId, :ZoneType, :Config, :Width, :Height
|
90
|
+
|
91
|
+
def initialize(groupcode=nil, mallid=nil, floorid=nil, cameraid=nil, cameraip=nil, cameramac=nil, cameratype=nil, camerafeature=nil, camerastate=nil, zoneid=nil, zonetype=nil, config=nil, width=nil, height=nil)
|
92
|
+
@GroupCode = groupcode
|
93
|
+
@MallId = mallid
|
94
|
+
@FloorId = floorid
|
95
|
+
@CameraId = cameraid
|
96
|
+
@CameraIp = cameraip
|
97
|
+
@CameraMac = cameramac
|
98
|
+
@CameraType = cameratype
|
99
|
+
@CameraFeature = camerafeature
|
100
|
+
@CameraState = camerastate
|
101
|
+
@ZoneId = zoneid
|
102
|
+
@ZoneType = zonetype
|
103
|
+
@Config = config
|
104
|
+
@Width = width
|
105
|
+
@Height = height
|
106
|
+
end
|
107
|
+
|
108
|
+
def deserialize(params)
|
109
|
+
@GroupCode = params['GroupCode']
|
110
|
+
@MallId = params['MallId']
|
111
|
+
@FloorId = params['FloorId']
|
112
|
+
@CameraId = params['CameraId']
|
113
|
+
@CameraIp = params['CameraIp']
|
114
|
+
@CameraMac = params['CameraMac']
|
115
|
+
@CameraType = params['CameraType']
|
116
|
+
@CameraFeature = params['CameraFeature']
|
117
|
+
@CameraState = params['CameraState']
|
118
|
+
@ZoneId = params['ZoneId']
|
119
|
+
@ZoneType = params['ZoneType']
|
120
|
+
unless params['Config'].nil?
|
121
|
+
@Config = Config.new
|
122
|
+
@Config.deserialize(params['Config'])
|
123
|
+
end
|
124
|
+
@Width = params['Width']
|
125
|
+
@Height = params['Height']
|
126
|
+
end
|
127
|
+
end
|
128
|
+
|
129
|
+
# 用于场内上报当前相机的状态
|
130
|
+
class CameraState < TencentCloud::Common::AbstractModel
|
131
|
+
# @param CameraId: 相机ID
|
132
|
+
# @type CameraId: Integer
|
133
|
+
# @param State: 相机状态:
|
134
|
+
# 10: 初始化
|
135
|
+
# 11: 未知状态
|
136
|
+
# 12: 网络异常
|
137
|
+
# 13: 未授权
|
138
|
+
# 14: 相机App异常
|
139
|
+
# 15: 相机取流异常
|
140
|
+
# 16: 状态正常
|
141
|
+
# @type State: Integer
|
142
|
+
|
143
|
+
attr_accessor :CameraId, :State
|
144
|
+
|
145
|
+
def initialize(cameraid=nil, state=nil)
|
146
|
+
@CameraId = cameraid
|
147
|
+
@State = state
|
148
|
+
end
|
149
|
+
|
150
|
+
def deserialize(params)
|
151
|
+
@CameraId = params['CameraId']
|
152
|
+
@State = params['State']
|
153
|
+
end
|
154
|
+
end
|
155
|
+
|
156
|
+
# 摄像头包含简单的点位信息
|
157
|
+
class CameraZones < TencentCloud::Common::AbstractModel
|
158
|
+
# @param CameraId: 摄像头ID
|
159
|
+
# @type CameraId: Integer
|
160
|
+
# @param CameraName: 摄像头名称
|
161
|
+
# @type CameraName: String
|
162
|
+
# @param CameraFeature: 摄像头功能:
|
163
|
+
# 1: 人脸
|
164
|
+
# 2: 人体
|
165
|
+
# @type CameraFeature: Integer
|
166
|
+
# @param CameraIp: 摄像头IP
|
167
|
+
# @type CameraIp: String
|
168
|
+
# @param CameraState: 摄像头状态:
|
169
|
+
# 0: 异常 (不再使用)
|
170
|
+
# 1: 正常 (不再使用)
|
171
|
+
# 10: 初始化
|
172
|
+
# 11: 未知状态 (因服务内部错误产生)
|
173
|
+
# 12: 网络异常
|
174
|
+
# 13: 未授权
|
175
|
+
# 14: 相机App异常
|
176
|
+
# 15: 相机取流异常
|
177
|
+
# 16: 正常
|
178
|
+
# @type CameraState: Integer
|
179
|
+
# @param Zones: 点位列表
|
180
|
+
# @type Zones: Array
|
181
|
+
# @param Pixel: 像素:
|
182
|
+
# 130W(1280*960)
|
183
|
+
# 200W(1920*1080)
|
184
|
+
# 400W(2560*1440)
|
185
|
+
# @type Pixel: String
|
186
|
+
# @param RTSP: 相机Rtsp地址
|
187
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
188
|
+
# @type RTSP: String
|
189
|
+
|
190
|
+
attr_accessor :CameraId, :CameraName, :CameraFeature, :CameraIp, :CameraState, :Zones, :Pixel, :RTSP
|
191
|
+
|
192
|
+
def initialize(cameraid=nil, cameraname=nil, camerafeature=nil, cameraip=nil, camerastate=nil, zones=nil, pixel=nil, rtsp=nil)
|
193
|
+
@CameraId = cameraid
|
194
|
+
@CameraName = cameraname
|
195
|
+
@CameraFeature = camerafeature
|
196
|
+
@CameraIp = cameraip
|
197
|
+
@CameraState = camerastate
|
198
|
+
@Zones = zones
|
199
|
+
@Pixel = pixel
|
200
|
+
@RTSP = rtsp
|
201
|
+
end
|
202
|
+
|
203
|
+
def deserialize(params)
|
204
|
+
@CameraId = params['CameraId']
|
205
|
+
@CameraName = params['CameraName']
|
206
|
+
@CameraFeature = params['CameraFeature']
|
207
|
+
@CameraIp = params['CameraIp']
|
208
|
+
@CameraState = params['CameraState']
|
209
|
+
unless params['Zones'].nil?
|
210
|
+
@Zones = []
|
211
|
+
params['Zones'].each do |i|
|
212
|
+
bunkzone_tmp = BunkZone.new
|
213
|
+
bunkzone_tmp.deserialize(i)
|
214
|
+
@Zones << bunkzone_tmp
|
215
|
+
end
|
216
|
+
end
|
217
|
+
@Pixel = params['Pixel']
|
218
|
+
@RTSP = params['RTSP']
|
219
|
+
end
|
220
|
+
end
|
221
|
+
|
222
|
+
# 摄像头配置
|
223
|
+
class Config < TencentCloud::Common::AbstractModel
|
224
|
+
# @param CameraProducer: 摄像头厂商:
|
225
|
+
# H: 海康
|
226
|
+
# D: 大华
|
227
|
+
# Y: 英飞拓
|
228
|
+
# L: 联纵
|
229
|
+
# @type CameraProducer: String
|
230
|
+
# @param RTSP: rtsp 地址
|
231
|
+
# @type RTSP: String
|
232
|
+
# @param Fps: 摄像头帧率
|
233
|
+
# @type Fps: Integer
|
234
|
+
# @param DecodeFps: 解码帧率
|
235
|
+
# @type DecodeFps: Integer
|
236
|
+
# @param PassengerFlow: 是否做客流计算:
|
237
|
+
# 0: 否
|
238
|
+
# 1: 是
|
239
|
+
# @type PassengerFlow: Integer
|
240
|
+
# @param FaceExpose: 是否打开人脸曝光:
|
241
|
+
# 0: 关闭
|
242
|
+
# 1: 开启
|
243
|
+
# @type FaceExpose: Integer
|
244
|
+
# @param MallArea: 门线标注
|
245
|
+
# @type MallArea: Array
|
246
|
+
# @param ShopArea: 店门标注
|
247
|
+
# @type ShopArea: Array
|
248
|
+
# @param TrackAreas: 检测区标注
|
249
|
+
# @type TrackAreas: Array
|
250
|
+
# @param Zones: 点位列表(品类区)
|
251
|
+
# @type Zones: Array
|
252
|
+
|
253
|
+
attr_accessor :CameraProducer, :RTSP, :Fps, :DecodeFps, :PassengerFlow, :FaceExpose, :MallArea, :ShopArea, :TrackAreas, :Zones
|
254
|
+
|
255
|
+
def initialize(cameraproducer=nil, rtsp=nil, fps=nil, decodefps=nil, passengerflow=nil, faceexpose=nil, mallarea=nil, shoparea=nil, trackareas=nil, zones=nil)
|
256
|
+
@CameraProducer = cameraproducer
|
257
|
+
@RTSP = rtsp
|
258
|
+
@Fps = fps
|
259
|
+
@DecodeFps = decodefps
|
260
|
+
@PassengerFlow = passengerflow
|
261
|
+
@FaceExpose = faceexpose
|
262
|
+
@MallArea = mallarea
|
263
|
+
@ShopArea = shoparea
|
264
|
+
@TrackAreas = trackareas
|
265
|
+
@Zones = zones
|
266
|
+
end
|
267
|
+
|
268
|
+
def deserialize(params)
|
269
|
+
@CameraProducer = params['CameraProducer']
|
270
|
+
@RTSP = params['RTSP']
|
271
|
+
@Fps = params['Fps']
|
272
|
+
@DecodeFps = params['DecodeFps']
|
273
|
+
@PassengerFlow = params['PassengerFlow']
|
274
|
+
@FaceExpose = params['FaceExpose']
|
275
|
+
unless params['MallArea'].nil?
|
276
|
+
@MallArea = []
|
277
|
+
params['MallArea'].each do |i|
|
278
|
+
point_tmp = Point.new
|
279
|
+
point_tmp.deserialize(i)
|
280
|
+
@MallArea << point_tmp
|
281
|
+
end
|
282
|
+
end
|
283
|
+
unless params['ShopArea'].nil?
|
284
|
+
@ShopArea = []
|
285
|
+
params['ShopArea'].each do |i|
|
286
|
+
point_tmp = Point.new
|
287
|
+
point_tmp.deserialize(i)
|
288
|
+
@ShopArea << point_tmp
|
289
|
+
end
|
290
|
+
end
|
291
|
+
unless params['TrackAreas'].nil?
|
292
|
+
@TrackAreas = []
|
293
|
+
params['TrackAreas'].each do |i|
|
294
|
+
polygon_tmp = Polygon.new
|
295
|
+
polygon_tmp.deserialize(i)
|
296
|
+
@TrackAreas << polygon_tmp
|
297
|
+
end
|
298
|
+
end
|
299
|
+
unless params['Zones'].nil?
|
300
|
+
@Zones = []
|
301
|
+
params['Zones'].each do |i|
|
302
|
+
zonearea_tmp = ZoneArea.new
|
303
|
+
zonearea_tmp.deserialize(i)
|
304
|
+
@Zones << zonearea_tmp
|
305
|
+
end
|
306
|
+
end
|
307
|
+
end
|
308
|
+
end
|
309
|
+
|
310
|
+
# 告警信息
|
311
|
+
class CreateCameraAlertAlert < TencentCloud::Common::AbstractModel
|
312
|
+
# @param GroupCode: 集团编码
|
313
|
+
# @type GroupCode: String
|
314
|
+
# @param MallId: 广场ID
|
315
|
+
# @type MallId: Integer
|
316
|
+
# @param CameraId: 相机ID
|
317
|
+
# @type CameraId: Integer
|
318
|
+
# @param CaptureTime: 时间戳,ms,默认为告警请求到达时间
|
319
|
+
# @type CaptureTime: Integer
|
320
|
+
# @param Image: 图片base64编码
|
321
|
+
# @type Image: String
|
322
|
+
# @param MoveAlert: 移动告警
|
323
|
+
# @type MoveAlert: :class:`Tencentcloud::Ump.v20200918.models.CreateCameraAlertsMoveAlert`
|
324
|
+
# @param CoverAlert: 遮挡告警
|
325
|
+
# @type CoverAlert: :class:`Tencentcloud::Ump.v20200918.models.CreateCameraAlertsCoverAlert`
|
326
|
+
|
327
|
+
attr_accessor :GroupCode, :MallId, :CameraId, :CaptureTime, :Image, :MoveAlert, :CoverAlert
|
328
|
+
|
329
|
+
def initialize(groupcode=nil, mallid=nil, cameraid=nil, capturetime=nil, image=nil, movealert=nil, coveralert=nil)
|
330
|
+
@GroupCode = groupcode
|
331
|
+
@MallId = mallid
|
332
|
+
@CameraId = cameraid
|
333
|
+
@CaptureTime = capturetime
|
334
|
+
@Image = image
|
335
|
+
@MoveAlert = movealert
|
336
|
+
@CoverAlert = coveralert
|
337
|
+
end
|
338
|
+
|
339
|
+
def deserialize(params)
|
340
|
+
@GroupCode = params['GroupCode']
|
341
|
+
@MallId = params['MallId']
|
342
|
+
@CameraId = params['CameraId']
|
343
|
+
@CaptureTime = params['CaptureTime']
|
344
|
+
@Image = params['Image']
|
345
|
+
unless params['MoveAlert'].nil?
|
346
|
+
@MoveAlert = CreateCameraAlertsMoveAlert.new
|
347
|
+
@MoveAlert.deserialize(params['MoveAlert'])
|
348
|
+
end
|
349
|
+
unless params['CoverAlert'].nil?
|
350
|
+
@CoverAlert = CreateCameraAlertsCoverAlert.new
|
351
|
+
@CoverAlert.deserialize(params['CoverAlert'])
|
352
|
+
end
|
353
|
+
end
|
354
|
+
end
|
355
|
+
|
356
|
+
# 遮挡告警
|
357
|
+
class CreateCameraAlertsCoverAlert < TencentCloud::Common::AbstractModel
|
358
|
+
# @param Cover: 是否遮挡
|
359
|
+
# @type Cover: Boolean
|
360
|
+
# @param CoverConfidence: 是否移动置信度
|
361
|
+
# @type CoverConfidence: Float
|
362
|
+
|
363
|
+
attr_accessor :Cover, :CoverConfidence
|
364
|
+
|
365
|
+
def initialize(cover=nil, coverconfidence=nil)
|
366
|
+
@Cover = cover
|
367
|
+
@CoverConfidence = coverconfidence
|
368
|
+
end
|
369
|
+
|
370
|
+
def deserialize(params)
|
371
|
+
@Cover = params['Cover']
|
372
|
+
@CoverConfidence = params['CoverConfidence']
|
373
|
+
end
|
374
|
+
end
|
375
|
+
|
376
|
+
# 移动告警
|
377
|
+
class CreateCameraAlertsMoveAlert < TencentCloud::Common::AbstractModel
|
378
|
+
# @param Move: 是否移动
|
379
|
+
# @type Move: Boolean
|
380
|
+
# @param MoveConfidence: 是否移动置信度
|
381
|
+
# @type MoveConfidence: Float
|
382
|
+
|
383
|
+
attr_accessor :Move, :MoveConfidence
|
384
|
+
|
385
|
+
def initialize(move=nil, moveconfidence=nil)
|
386
|
+
@Move = move
|
387
|
+
@MoveConfidence = moveconfidence
|
388
|
+
end
|
389
|
+
|
390
|
+
def deserialize(params)
|
391
|
+
@Move = params['Move']
|
392
|
+
@MoveConfidence = params['MoveConfidence']
|
393
|
+
end
|
394
|
+
end
|
395
|
+
|
396
|
+
# CreateCameraAlerts请求参数结构体
|
397
|
+
class CreateCameraAlertsRequest < TencentCloud::Common::AbstractModel
|
398
|
+
# @param Alerts: 告警信息列表
|
399
|
+
# @type Alerts: Array
|
400
|
+
|
401
|
+
attr_accessor :Alerts
|
402
|
+
|
403
|
+
def initialize(alerts=nil)
|
404
|
+
@Alerts = alerts
|
405
|
+
end
|
406
|
+
|
407
|
+
def deserialize(params)
|
408
|
+
unless params['Alerts'].nil?
|
409
|
+
@Alerts = []
|
410
|
+
params['Alerts'].each do |i|
|
411
|
+
createcameraalertalert_tmp = CreateCameraAlertAlert.new
|
412
|
+
createcameraalertalert_tmp.deserialize(i)
|
413
|
+
@Alerts << createcameraalertalert_tmp
|
414
|
+
end
|
415
|
+
end
|
416
|
+
end
|
417
|
+
end
|
418
|
+
|
419
|
+
# CreateCameraAlerts返回参数结构体
|
420
|
+
class CreateCameraAlertsResponse < TencentCloud::Common::AbstractModel
|
421
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
422
|
+
# @type RequestId: String
|
423
|
+
|
424
|
+
attr_accessor :RequestId
|
425
|
+
|
426
|
+
def initialize(requestid=nil)
|
427
|
+
@RequestId = requestid
|
428
|
+
end
|
429
|
+
|
430
|
+
def deserialize(params)
|
431
|
+
@RequestId = params['RequestId']
|
432
|
+
end
|
433
|
+
end
|
434
|
+
|
435
|
+
# CreateCameraState请求参数结构体
|
436
|
+
class CreateCameraStateRequest < TencentCloud::Common::AbstractModel
|
437
|
+
# @param GroupCode: 集团编码
|
438
|
+
# @type GroupCode: String
|
439
|
+
# @param MallId: 广场ID
|
440
|
+
# @type MallId: Integer
|
441
|
+
# @param CameraStates: 场内所有相机的状态值
|
442
|
+
# @type CameraStates: Array
|
443
|
+
|
444
|
+
attr_accessor :GroupCode, :MallId, :CameraStates
|
445
|
+
|
446
|
+
def initialize(groupcode=nil, mallid=nil, camerastates=nil)
|
447
|
+
@GroupCode = groupcode
|
448
|
+
@MallId = mallid
|
449
|
+
@CameraStates = camerastates
|
450
|
+
end
|
451
|
+
|
452
|
+
def deserialize(params)
|
453
|
+
@GroupCode = params['GroupCode']
|
454
|
+
@MallId = params['MallId']
|
455
|
+
unless params['CameraStates'].nil?
|
456
|
+
@CameraStates = []
|
457
|
+
params['CameraStates'].each do |i|
|
458
|
+
camerastate_tmp = CameraState.new
|
459
|
+
camerastate_tmp.deserialize(i)
|
460
|
+
@CameraStates << camerastate_tmp
|
461
|
+
end
|
462
|
+
end
|
463
|
+
end
|
464
|
+
end
|
465
|
+
|
466
|
+
# CreateCameraState返回参数结构体
|
467
|
+
class CreateCameraStateResponse < TencentCloud::Common::AbstractModel
|
468
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
469
|
+
# @type RequestId: String
|
470
|
+
|
471
|
+
attr_accessor :RequestId
|
472
|
+
|
473
|
+
def initialize(requestid=nil)
|
474
|
+
@RequestId = requestid
|
475
|
+
end
|
476
|
+
|
477
|
+
def deserialize(params)
|
478
|
+
@RequestId = params['RequestId']
|
479
|
+
end
|
480
|
+
end
|
481
|
+
|
482
|
+
# CreateCapture请求参数结构体
|
483
|
+
class CreateCaptureRequest < TencentCloud::Common::AbstractModel
|
484
|
+
# @param Data: 原始抓拍报文
|
485
|
+
# @type Data: String
|
486
|
+
|
487
|
+
attr_accessor :Data
|
488
|
+
|
489
|
+
def initialize(data=nil)
|
490
|
+
@Data = data
|
491
|
+
end
|
492
|
+
|
493
|
+
def deserialize(params)
|
494
|
+
@Data = params['Data']
|
495
|
+
end
|
496
|
+
end
|
497
|
+
|
498
|
+
# CreateCapture返回参数结构体
|
499
|
+
class CreateCaptureResponse < TencentCloud::Common::AbstractModel
|
500
|
+
# @param RspData: 原始应答报文
|
501
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
502
|
+
# @type RspData: String
|
503
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
504
|
+
# @type RequestId: String
|
505
|
+
|
506
|
+
attr_accessor :RspData, :RequestId
|
507
|
+
|
508
|
+
def initialize(rspdata=nil, requestid=nil)
|
509
|
+
@RspData = rspdata
|
510
|
+
@RequestId = requestid
|
511
|
+
end
|
512
|
+
|
513
|
+
def deserialize(params)
|
514
|
+
@RspData = params['RspData']
|
515
|
+
@RequestId = params['RequestId']
|
516
|
+
end
|
517
|
+
end
|
518
|
+
|
519
|
+
# CreateMultiBizAlert请求参数结构体
|
520
|
+
class CreateMultiBizAlertRequest < TencentCloud::Common::AbstractModel
|
521
|
+
# @param GroupCode: 集团编码
|
522
|
+
# @type GroupCode: String
|
523
|
+
# @param MallId: 广场ID
|
524
|
+
# @type MallId: Integer
|
525
|
+
# @param ZoneId: 点位ID
|
526
|
+
# @type ZoneId: Integer
|
527
|
+
# @param CameraId: 摄像头ID
|
528
|
+
# @type CameraId: Integer
|
529
|
+
# @param CaptureTime: 时间戳,毫秒
|
530
|
+
# @type CaptureTime: Integer
|
531
|
+
# @param State: 状态:
|
532
|
+
# 1: 侵占
|
533
|
+
# 2: 消失
|
534
|
+
# 3: 即侵占又消失
|
535
|
+
# @type State: Integer
|
536
|
+
# @param Image: 图片base64字符串
|
537
|
+
# @type Image: String
|
538
|
+
# @param Warnings: 告警列表
|
539
|
+
# @type Warnings: Array
|
540
|
+
|
541
|
+
attr_accessor :GroupCode, :MallId, :ZoneId, :CameraId, :CaptureTime, :State, :Image, :Warnings
|
542
|
+
|
543
|
+
def initialize(groupcode=nil, mallid=nil, zoneid=nil, cameraid=nil, capturetime=nil, state=nil, image=nil, warnings=nil)
|
544
|
+
@GroupCode = groupcode
|
545
|
+
@MallId = mallid
|
546
|
+
@ZoneId = zoneid
|
547
|
+
@CameraId = cameraid
|
548
|
+
@CaptureTime = capturetime
|
549
|
+
@State = state
|
550
|
+
@Image = image
|
551
|
+
@Warnings = warnings
|
552
|
+
end
|
553
|
+
|
554
|
+
def deserialize(params)
|
555
|
+
@GroupCode = params['GroupCode']
|
556
|
+
@MallId = params['MallId']
|
557
|
+
@ZoneId = params['ZoneId']
|
558
|
+
@CameraId = params['CameraId']
|
559
|
+
@CaptureTime = params['CaptureTime']
|
560
|
+
@State = params['State']
|
561
|
+
@Image = params['Image']
|
562
|
+
unless params['Warnings'].nil?
|
563
|
+
@Warnings = []
|
564
|
+
params['Warnings'].each do |i|
|
565
|
+
multibizwarning_tmp = MultiBizWarning.new
|
566
|
+
multibizwarning_tmp.deserialize(i)
|
567
|
+
@Warnings << multibizwarning_tmp
|
568
|
+
end
|
569
|
+
end
|
570
|
+
end
|
571
|
+
end
|
572
|
+
|
573
|
+
# CreateMultiBizAlert返回参数结构体
|
574
|
+
class CreateMultiBizAlertResponse < TencentCloud::Common::AbstractModel
|
575
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
576
|
+
# @type RequestId: String
|
577
|
+
|
578
|
+
attr_accessor :RequestId
|
579
|
+
|
580
|
+
def initialize(requestid=nil)
|
581
|
+
@RequestId = requestid
|
582
|
+
end
|
583
|
+
|
584
|
+
def deserialize(params)
|
585
|
+
@RequestId = params['RequestId']
|
586
|
+
end
|
587
|
+
end
|
588
|
+
|
589
|
+
# CreateProgramState请求参数结构体
|
590
|
+
class CreateProgramStateRequest < TencentCloud::Common::AbstractModel
|
591
|
+
# @param GroupCode: 集团编码
|
592
|
+
# @type GroupCode: String
|
593
|
+
# @param ProgramStateItems: 进程监控信息列表
|
594
|
+
# @type ProgramStateItems: Array
|
595
|
+
# @param MallId: 商场ID
|
596
|
+
# @type MallId: Integer
|
597
|
+
|
598
|
+
attr_accessor :GroupCode, :ProgramStateItems, :MallId
|
599
|
+
|
600
|
+
def initialize(groupcode=nil, programstateitems=nil, mallid=nil)
|
601
|
+
@GroupCode = groupcode
|
602
|
+
@ProgramStateItems = programstateitems
|
603
|
+
@MallId = mallid
|
604
|
+
end
|
605
|
+
|
606
|
+
def deserialize(params)
|
607
|
+
@GroupCode = params['GroupCode']
|
608
|
+
unless params['ProgramStateItems'].nil?
|
609
|
+
@ProgramStateItems = []
|
610
|
+
params['ProgramStateItems'].each do |i|
|
611
|
+
programstateitem_tmp = ProgramStateItem.new
|
612
|
+
programstateitem_tmp.deserialize(i)
|
613
|
+
@ProgramStateItems << programstateitem_tmp
|
614
|
+
end
|
615
|
+
end
|
616
|
+
@MallId = params['MallId']
|
617
|
+
end
|
618
|
+
end
|
619
|
+
|
620
|
+
# CreateProgramState返回参数结构体
|
621
|
+
class CreateProgramStateResponse < TencentCloud::Common::AbstractModel
|
622
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
623
|
+
# @type RequestId: String
|
624
|
+
|
625
|
+
attr_accessor :RequestId
|
626
|
+
|
627
|
+
def initialize(requestid=nil)
|
628
|
+
@RequestId = requestid
|
629
|
+
end
|
630
|
+
|
631
|
+
def deserialize(params)
|
632
|
+
@RequestId = params['RequestId']
|
633
|
+
end
|
634
|
+
end
|
635
|
+
|
636
|
+
# CreateServerState请求参数结构体
|
637
|
+
class CreateServerStateRequest < TencentCloud::Common::AbstractModel
|
638
|
+
# @param GroupCode: 集团编码
|
639
|
+
# @type GroupCode: String
|
640
|
+
# @param ServerStateItems: 服务器监控信息列表
|
641
|
+
# @type ServerStateItems: Array
|
642
|
+
# @param MallId: 商场ID
|
643
|
+
# @type MallId: Integer
|
644
|
+
# @param ReportTime: 服务器监控信息上报时间戳,单位毫秒
|
645
|
+
# @type ReportTime: Integer
|
646
|
+
|
647
|
+
attr_accessor :GroupCode, :ServerStateItems, :MallId, :ReportTime
|
648
|
+
|
649
|
+
def initialize(groupcode=nil, serverstateitems=nil, mallid=nil, reporttime=nil)
|
650
|
+
@GroupCode = groupcode
|
651
|
+
@ServerStateItems = serverstateitems
|
652
|
+
@MallId = mallid
|
653
|
+
@ReportTime = reporttime
|
654
|
+
end
|
655
|
+
|
656
|
+
def deserialize(params)
|
657
|
+
@GroupCode = params['GroupCode']
|
658
|
+
unless params['ServerStateItems'].nil?
|
659
|
+
@ServerStateItems = []
|
660
|
+
params['ServerStateItems'].each do |i|
|
661
|
+
serverstateitem_tmp = ServerStateItem.new
|
662
|
+
serverstateitem_tmp.deserialize(i)
|
663
|
+
@ServerStateItems << serverstateitem_tmp
|
664
|
+
end
|
665
|
+
end
|
666
|
+
@MallId = params['MallId']
|
667
|
+
@ReportTime = params['ReportTime']
|
668
|
+
end
|
669
|
+
end
|
670
|
+
|
671
|
+
# CreateServerState返回参数结构体
|
672
|
+
class CreateServerStateResponse < TencentCloud::Common::AbstractModel
|
673
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
674
|
+
# @type RequestId: String
|
675
|
+
|
676
|
+
attr_accessor :RequestId
|
677
|
+
|
678
|
+
def initialize(requestid=nil)
|
679
|
+
@RequestId = requestid
|
680
|
+
end
|
681
|
+
|
682
|
+
def deserialize(params)
|
683
|
+
@RequestId = params['RequestId']
|
684
|
+
end
|
685
|
+
end
|
686
|
+
|
687
|
+
# DeleteMultiBizAlert请求参数结构体
|
688
|
+
class DeleteMultiBizAlertRequest < TencentCloud::Common::AbstractModel
|
689
|
+
# @param GroupCode: 集团编码
|
690
|
+
# @type GroupCode: String
|
691
|
+
# @param MallId: 广场ID
|
692
|
+
# @type MallId: Integer
|
693
|
+
# @param ZoneId: 点位ID
|
694
|
+
# @type ZoneId: Integer
|
695
|
+
# @param CameraId: 摄像头ID
|
696
|
+
# @type CameraId: Integer
|
697
|
+
# @param ActionType: 消警动作:
|
698
|
+
# 1: 误报
|
699
|
+
# 2: 正报合规
|
700
|
+
# 3: 正报不合规,整改完成
|
701
|
+
# @type ActionType: Integer
|
702
|
+
# @param Image: 图片base64字符串
|
703
|
+
# @type Image: String
|
704
|
+
|
705
|
+
attr_accessor :GroupCode, :MallId, :ZoneId, :CameraId, :ActionType, :Image
|
706
|
+
|
707
|
+
def initialize(groupcode=nil, mallid=nil, zoneid=nil, cameraid=nil, actiontype=nil, image=nil)
|
708
|
+
@GroupCode = groupcode
|
709
|
+
@MallId = mallid
|
710
|
+
@ZoneId = zoneid
|
711
|
+
@CameraId = cameraid
|
712
|
+
@ActionType = actiontype
|
713
|
+
@Image = image
|
714
|
+
end
|
715
|
+
|
716
|
+
def deserialize(params)
|
717
|
+
@GroupCode = params['GroupCode']
|
718
|
+
@MallId = params['MallId']
|
719
|
+
@ZoneId = params['ZoneId']
|
720
|
+
@CameraId = params['CameraId']
|
721
|
+
@ActionType = params['ActionType']
|
722
|
+
@Image = params['Image']
|
723
|
+
end
|
724
|
+
end
|
725
|
+
|
726
|
+
# DeleteMultiBizAlert返回参数结构体
|
727
|
+
class DeleteMultiBizAlertResponse < TencentCloud::Common::AbstractModel
|
728
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
729
|
+
# @type RequestId: String
|
730
|
+
|
731
|
+
attr_accessor :RequestId
|
732
|
+
|
733
|
+
def initialize(requestid=nil)
|
734
|
+
@RequestId = requestid
|
735
|
+
end
|
736
|
+
|
737
|
+
def deserialize(params)
|
738
|
+
@RequestId = params['RequestId']
|
739
|
+
end
|
740
|
+
end
|
741
|
+
|
742
|
+
# DeleteTask请求参数结构体
|
743
|
+
class DeleteTaskRequest < TencentCloud::Common::AbstractModel
|
744
|
+
# @param GroupCode: 集团编码
|
745
|
+
# @type GroupCode: String
|
746
|
+
# @param MallId: 广场ID
|
747
|
+
# @type MallId: Integer
|
748
|
+
# @param TaskId: 任务ID
|
749
|
+
# @type TaskId: Integer
|
750
|
+
|
751
|
+
attr_accessor :GroupCode, :MallId, :TaskId
|
752
|
+
|
753
|
+
def initialize(groupcode=nil, mallid=nil, taskid=nil)
|
754
|
+
@GroupCode = groupcode
|
755
|
+
@MallId = mallid
|
756
|
+
@TaskId = taskid
|
757
|
+
end
|
758
|
+
|
759
|
+
def deserialize(params)
|
760
|
+
@GroupCode = params['GroupCode']
|
761
|
+
@MallId = params['MallId']
|
762
|
+
@TaskId = params['TaskId']
|
763
|
+
end
|
764
|
+
end
|
765
|
+
|
766
|
+
# DeleteTask返回参数结构体
|
767
|
+
class DeleteTaskResponse < TencentCloud::Common::AbstractModel
|
768
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
769
|
+
# @type RequestId: String
|
770
|
+
|
771
|
+
attr_accessor :RequestId
|
772
|
+
|
773
|
+
def initialize(requestid=nil)
|
774
|
+
@RequestId = requestid
|
775
|
+
end
|
776
|
+
|
777
|
+
def deserialize(params)
|
778
|
+
@RequestId = params['RequestId']
|
779
|
+
end
|
780
|
+
end
|
781
|
+
|
782
|
+
# DescribeCameras请求参数结构体
|
783
|
+
class DescribeCamerasRequest < TencentCloud::Common::AbstractModel
|
784
|
+
# @param GroupCode: 集团编码
|
785
|
+
# @type GroupCode: String
|
786
|
+
# @param MallId: 广场ID
|
787
|
+
# @type MallId: Integer
|
788
|
+
|
789
|
+
attr_accessor :GroupCode, :MallId
|
790
|
+
|
791
|
+
def initialize(groupcode=nil, mallid=nil)
|
792
|
+
@GroupCode = groupcode
|
793
|
+
@MallId = mallid
|
794
|
+
end
|
795
|
+
|
796
|
+
def deserialize(params)
|
797
|
+
@GroupCode = params['GroupCode']
|
798
|
+
@MallId = params['MallId']
|
799
|
+
end
|
800
|
+
end
|
801
|
+
|
802
|
+
# DescribeCameras返回参数结构体
|
803
|
+
class DescribeCamerasResponse < TencentCloud::Common::AbstractModel
|
804
|
+
# @param Cameras: 摄像头列表
|
805
|
+
# @type Cameras: Array
|
806
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
807
|
+
# @type RequestId: String
|
808
|
+
|
809
|
+
attr_accessor :Cameras, :RequestId
|
810
|
+
|
811
|
+
def initialize(cameras=nil, requestid=nil)
|
812
|
+
@Cameras = cameras
|
813
|
+
@RequestId = requestid
|
814
|
+
end
|
815
|
+
|
816
|
+
def deserialize(params)
|
817
|
+
unless params['Cameras'].nil?
|
818
|
+
@Cameras = []
|
819
|
+
params['Cameras'].each do |i|
|
820
|
+
camerazones_tmp = CameraZones.new
|
821
|
+
camerazones_tmp.deserialize(i)
|
822
|
+
@Cameras << camerazones_tmp
|
823
|
+
end
|
824
|
+
end
|
825
|
+
@RequestId = params['RequestId']
|
826
|
+
end
|
827
|
+
end
|
828
|
+
|
829
|
+
# DescribeConfig请求参数结构体
|
830
|
+
class DescribeConfigRequest < TencentCloud::Common::AbstractModel
|
831
|
+
# @param SessionId: 会话ID
|
832
|
+
# @type SessionId: String
|
833
|
+
# @param CameraSign: 摄像头签名
|
834
|
+
# @type CameraSign: String
|
835
|
+
# @param CameraAppId: 摄像头app id
|
836
|
+
# @type CameraAppId: String
|
837
|
+
# @param CameraTimestamp: 摄像头时间戳,毫秒
|
838
|
+
# @type CameraTimestamp: Integer
|
839
|
+
# @param ServerMac: MAC地址,字母大写
|
840
|
+
# @type ServerMac: String
|
841
|
+
# @param GroupCode: 集团编码
|
842
|
+
# @type GroupCode: String
|
843
|
+
# @param MallId: 广场ID
|
844
|
+
# @type MallId: Integer
|
845
|
+
|
846
|
+
attr_accessor :SessionId, :CameraSign, :CameraAppId, :CameraTimestamp, :ServerMac, :GroupCode, :MallId
|
847
|
+
|
848
|
+
def initialize(sessionid=nil, camerasign=nil, cameraappid=nil, cameratimestamp=nil, servermac=nil, groupcode=nil, mallid=nil)
|
849
|
+
@SessionId = sessionid
|
850
|
+
@CameraSign = camerasign
|
851
|
+
@CameraAppId = cameraappid
|
852
|
+
@CameraTimestamp = cameratimestamp
|
853
|
+
@ServerMac = servermac
|
854
|
+
@GroupCode = groupcode
|
855
|
+
@MallId = mallid
|
856
|
+
end
|
857
|
+
|
858
|
+
def deserialize(params)
|
859
|
+
@SessionId = params['SessionId']
|
860
|
+
@CameraSign = params['CameraSign']
|
861
|
+
@CameraAppId = params['CameraAppId']
|
862
|
+
@CameraTimestamp = params['CameraTimestamp']
|
863
|
+
@ServerMac = params['ServerMac']
|
864
|
+
@GroupCode = params['GroupCode']
|
865
|
+
@MallId = params['MallId']
|
866
|
+
end
|
867
|
+
end
|
868
|
+
|
869
|
+
# DescribeConfig返回参数结构体
|
870
|
+
class DescribeConfigResponse < TencentCloud::Common::AbstractModel
|
871
|
+
# @param SessionId: 会话ID
|
872
|
+
# @type SessionId: String
|
873
|
+
# @param Version: 配置版本号
|
874
|
+
# @type Version: Integer
|
875
|
+
# @param Cameras: 摄像头列表
|
876
|
+
# @type Cameras: Array
|
877
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
878
|
+
# @type RequestId: String
|
879
|
+
|
880
|
+
attr_accessor :SessionId, :Version, :Cameras, :RequestId
|
881
|
+
|
882
|
+
def initialize(sessionid=nil, version=nil, cameras=nil, requestid=nil)
|
883
|
+
@SessionId = sessionid
|
884
|
+
@Version = version
|
885
|
+
@Cameras = cameras
|
886
|
+
@RequestId = requestid
|
887
|
+
end
|
888
|
+
|
889
|
+
def deserialize(params)
|
890
|
+
@SessionId = params['SessionId']
|
891
|
+
@Version = params['Version']
|
892
|
+
unless params['Cameras'].nil?
|
893
|
+
@Cameras = []
|
894
|
+
params['Cameras'].each do |i|
|
895
|
+
cameraconfig_tmp = CameraConfig.new
|
896
|
+
cameraconfig_tmp.deserialize(i)
|
897
|
+
@Cameras << cameraconfig_tmp
|
898
|
+
end
|
899
|
+
end
|
900
|
+
@RequestId = params['RequestId']
|
901
|
+
end
|
902
|
+
end
|
903
|
+
|
904
|
+
# DescribeImage请求参数结构体
|
905
|
+
class DescribeImageRequest < TencentCloud::Common::AbstractModel
|
906
|
+
# @param GroupCode: 集团编码
|
907
|
+
# @type GroupCode: String
|
908
|
+
# @param MallId: 广场ID
|
909
|
+
# @type MallId: Integer
|
910
|
+
# @param CameraId: 摄像头ID
|
911
|
+
# @type CameraId: Integer
|
912
|
+
|
913
|
+
attr_accessor :GroupCode, :MallId, :CameraId
|
914
|
+
|
915
|
+
def initialize(groupcode=nil, mallid=nil, cameraid=nil)
|
916
|
+
@GroupCode = groupcode
|
917
|
+
@MallId = mallid
|
918
|
+
@CameraId = cameraid
|
919
|
+
end
|
920
|
+
|
921
|
+
def deserialize(params)
|
922
|
+
@GroupCode = params['GroupCode']
|
923
|
+
@MallId = params['MallId']
|
924
|
+
@CameraId = params['CameraId']
|
925
|
+
end
|
926
|
+
end
|
927
|
+
|
928
|
+
# DescribeImage返回参数结构体
|
929
|
+
class DescribeImageResponse < TencentCloud::Common::AbstractModel
|
930
|
+
# @param ImageUrl: cos 临时 url,异步上传图片,client需要轮询
|
931
|
+
# @type ImageUrl: String
|
932
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
933
|
+
# @type RequestId: String
|
934
|
+
|
935
|
+
attr_accessor :ImageUrl, :RequestId
|
936
|
+
|
937
|
+
def initialize(imageurl=nil, requestid=nil)
|
938
|
+
@ImageUrl = imageurl
|
939
|
+
@RequestId = requestid
|
940
|
+
end
|
941
|
+
|
942
|
+
def deserialize(params)
|
943
|
+
@ImageUrl = params['ImageUrl']
|
944
|
+
@RequestId = params['RequestId']
|
945
|
+
end
|
946
|
+
end
|
947
|
+
|
948
|
+
# DescribeMultiBizBaseImage请求参数结构体
|
949
|
+
class DescribeMultiBizBaseImageRequest < TencentCloud::Common::AbstractModel
|
950
|
+
# @param GroupCode: 集团编码
|
951
|
+
# @type GroupCode: String
|
952
|
+
# @param MallId: 广场ID
|
953
|
+
# @type MallId: Integer
|
954
|
+
# @param CameraId: 摄像头ID
|
955
|
+
# @type CameraId: Integer
|
956
|
+
# @param ZoneId: 点位ID
|
957
|
+
# @type ZoneId: Integer
|
958
|
+
|
959
|
+
attr_accessor :GroupCode, :MallId, :CameraId, :ZoneId
|
960
|
+
|
961
|
+
def initialize(groupcode=nil, mallid=nil, cameraid=nil, zoneid=nil)
|
962
|
+
@GroupCode = groupcode
|
963
|
+
@MallId = mallid
|
964
|
+
@CameraId = cameraid
|
965
|
+
@ZoneId = zoneid
|
966
|
+
end
|
967
|
+
|
968
|
+
def deserialize(params)
|
969
|
+
@GroupCode = params['GroupCode']
|
970
|
+
@MallId = params['MallId']
|
971
|
+
@CameraId = params['CameraId']
|
972
|
+
@ZoneId = params['ZoneId']
|
973
|
+
end
|
974
|
+
end
|
975
|
+
|
976
|
+
# DescribeMultiBizBaseImage返回参数结构体
|
977
|
+
class DescribeMultiBizBaseImageResponse < TencentCloud::Common::AbstractModel
|
978
|
+
# @param ImageUrl: cos 临时 url
|
979
|
+
# @type ImageUrl: String
|
980
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
981
|
+
# @type RequestId: String
|
982
|
+
|
983
|
+
attr_accessor :ImageUrl, :RequestId
|
984
|
+
|
985
|
+
def initialize(imageurl=nil, requestid=nil)
|
986
|
+
@ImageUrl = imageurl
|
987
|
+
@RequestId = requestid
|
988
|
+
end
|
989
|
+
|
990
|
+
def deserialize(params)
|
991
|
+
@ImageUrl = params['ImageUrl']
|
992
|
+
@RequestId = params['RequestId']
|
993
|
+
end
|
994
|
+
end
|
995
|
+
|
996
|
+
# DescribeTasks请求参数结构体
|
997
|
+
class DescribeTasksRequest < TencentCloud::Common::AbstractModel
|
998
|
+
# @param GroupCode: 集团编码
|
999
|
+
# @type GroupCode: String
|
1000
|
+
# @param MallId: 广场ID
|
1001
|
+
# @type MallId: Integer
|
1002
|
+
# @param TaskType: 任务类型:
|
1003
|
+
# 1: 底图拉取
|
1004
|
+
# @type TaskType: Integer
|
1005
|
+
|
1006
|
+
attr_accessor :GroupCode, :MallId, :TaskType
|
1007
|
+
|
1008
|
+
def initialize(groupcode=nil, mallid=nil, tasktype=nil)
|
1009
|
+
@GroupCode = groupcode
|
1010
|
+
@MallId = mallid
|
1011
|
+
@TaskType = tasktype
|
1012
|
+
end
|
1013
|
+
|
1014
|
+
def deserialize(params)
|
1015
|
+
@GroupCode = params['GroupCode']
|
1016
|
+
@MallId = params['MallId']
|
1017
|
+
@TaskType = params['TaskType']
|
1018
|
+
end
|
1019
|
+
end
|
1020
|
+
|
1021
|
+
# DescribeTasks返回参数结构体
|
1022
|
+
class DescribeTasksResponse < TencentCloud::Common::AbstractModel
|
1023
|
+
# @param Tasks: 任务列表
|
1024
|
+
# @type Tasks: Array
|
1025
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1026
|
+
# @type RequestId: String
|
1027
|
+
|
1028
|
+
attr_accessor :Tasks, :RequestId
|
1029
|
+
|
1030
|
+
def initialize(tasks=nil, requestid=nil)
|
1031
|
+
@Tasks = tasks
|
1032
|
+
@RequestId = requestid
|
1033
|
+
end
|
1034
|
+
|
1035
|
+
def deserialize(params)
|
1036
|
+
unless params['Tasks'].nil?
|
1037
|
+
@Tasks = []
|
1038
|
+
params['Tasks'].each do |i|
|
1039
|
+
task_tmp = Task.new
|
1040
|
+
task_tmp.deserialize(i)
|
1041
|
+
@Tasks << task_tmp
|
1042
|
+
end
|
1043
|
+
end
|
1044
|
+
@RequestId = params['RequestId']
|
1045
|
+
end
|
1046
|
+
end
|
1047
|
+
|
1048
|
+
# DescribeZones请求参数结构体
|
1049
|
+
class DescribeZonesRequest < TencentCloud::Common::AbstractModel
|
1050
|
+
# @param GroupCode: 集团编码
|
1051
|
+
# @type GroupCode: String
|
1052
|
+
# @param MallId: 广场ID
|
1053
|
+
# @type MallId: Integer
|
1054
|
+
|
1055
|
+
attr_accessor :GroupCode, :MallId
|
1056
|
+
|
1057
|
+
def initialize(groupcode=nil, mallid=nil)
|
1058
|
+
@GroupCode = groupcode
|
1059
|
+
@MallId = mallid
|
1060
|
+
end
|
1061
|
+
|
1062
|
+
def deserialize(params)
|
1063
|
+
@GroupCode = params['GroupCode']
|
1064
|
+
@MallId = params['MallId']
|
1065
|
+
end
|
1066
|
+
end
|
1067
|
+
|
1068
|
+
# DescribeZones返回参数结构体
|
1069
|
+
class DescribeZonesResponse < TencentCloud::Common::AbstractModel
|
1070
|
+
# @param Zones: 点位列表
|
1071
|
+
# @type Zones: Array
|
1072
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1073
|
+
# @type RequestId: String
|
1074
|
+
|
1075
|
+
attr_accessor :Zones, :RequestId
|
1076
|
+
|
1077
|
+
def initialize(zones=nil, requestid=nil)
|
1078
|
+
@Zones = zones
|
1079
|
+
@RequestId = requestid
|
1080
|
+
end
|
1081
|
+
|
1082
|
+
def deserialize(params)
|
1083
|
+
unless params['Zones'].nil?
|
1084
|
+
@Zones = []
|
1085
|
+
params['Zones'].each do |i|
|
1086
|
+
zoneconfig_tmp = ZoneConfig.new
|
1087
|
+
zoneconfig_tmp.deserialize(i)
|
1088
|
+
@Zones << zoneconfig_tmp
|
1089
|
+
end
|
1090
|
+
end
|
1091
|
+
@RequestId = params['RequestId']
|
1092
|
+
end
|
1093
|
+
end
|
1094
|
+
|
1095
|
+
# 硬盘监控信息
|
1096
|
+
class DiskInfo < TencentCloud::Common::AbstractModel
|
1097
|
+
# @param DiskName: 硬盘名字
|
1098
|
+
# @type DiskName: String
|
1099
|
+
# @param Usage: 硬盘使用率
|
1100
|
+
# @type Usage: Float
|
1101
|
+
|
1102
|
+
attr_accessor :DiskName, :Usage
|
1103
|
+
|
1104
|
+
def initialize(diskname=nil, usage=nil)
|
1105
|
+
@DiskName = diskname
|
1106
|
+
@Usage = usage
|
1107
|
+
end
|
1108
|
+
|
1109
|
+
def deserialize(params)
|
1110
|
+
@DiskName = params['DiskName']
|
1111
|
+
@Usage = params['Usage']
|
1112
|
+
end
|
1113
|
+
end
|
1114
|
+
|
1115
|
+
# ModifyMultiBizConfig请求参数结构体
|
1116
|
+
class ModifyMultiBizConfigRequest < TencentCloud::Common::AbstractModel
|
1117
|
+
# @param GroupCode: 集团编码
|
1118
|
+
# @type GroupCode: String
|
1119
|
+
# @param MallId: 广场ID
|
1120
|
+
# @type MallId: Integer
|
1121
|
+
# @param ZoneId: 点位ID
|
1122
|
+
# @type ZoneId: Integer
|
1123
|
+
# @param CameraId: 摄像头ID
|
1124
|
+
# @type CameraId: Integer
|
1125
|
+
# @param MonitoringAreas: 监控区域
|
1126
|
+
# @type MonitoringAreas: Array
|
1127
|
+
|
1128
|
+
attr_accessor :GroupCode, :MallId, :ZoneId, :CameraId, :MonitoringAreas
|
1129
|
+
|
1130
|
+
def initialize(groupcode=nil, mallid=nil, zoneid=nil, cameraid=nil, monitoringareas=nil)
|
1131
|
+
@GroupCode = groupcode
|
1132
|
+
@MallId = mallid
|
1133
|
+
@ZoneId = zoneid
|
1134
|
+
@CameraId = cameraid
|
1135
|
+
@MonitoringAreas = monitoringareas
|
1136
|
+
end
|
1137
|
+
|
1138
|
+
def deserialize(params)
|
1139
|
+
@GroupCode = params['GroupCode']
|
1140
|
+
@MallId = params['MallId']
|
1141
|
+
@ZoneId = params['ZoneId']
|
1142
|
+
@CameraId = params['CameraId']
|
1143
|
+
unless params['MonitoringAreas'].nil?
|
1144
|
+
@MonitoringAreas = []
|
1145
|
+
params['MonitoringAreas'].each do |i|
|
1146
|
+
polygon_tmp = Polygon.new
|
1147
|
+
polygon_tmp.deserialize(i)
|
1148
|
+
@MonitoringAreas << polygon_tmp
|
1149
|
+
end
|
1150
|
+
end
|
1151
|
+
end
|
1152
|
+
end
|
1153
|
+
|
1154
|
+
# ModifyMultiBizConfig返回参数结构体
|
1155
|
+
class ModifyMultiBizConfigResponse < TencentCloud::Common::AbstractModel
|
1156
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1157
|
+
# @type RequestId: String
|
1158
|
+
|
1159
|
+
attr_accessor :RequestId
|
1160
|
+
|
1161
|
+
def initialize(requestid=nil)
|
1162
|
+
@RequestId = requestid
|
1163
|
+
end
|
1164
|
+
|
1165
|
+
def deserialize(params)
|
1166
|
+
@RequestId = params['RequestId']
|
1167
|
+
end
|
1168
|
+
end
|
1169
|
+
|
1170
|
+
# 多经点位告警
|
1171
|
+
class MultiBizWarning < TencentCloud::Common::AbstractModel
|
1172
|
+
# @param Id: 编号
|
1173
|
+
# @type Id: Integer
|
1174
|
+
# @param MonitoringArea: 监控区域
|
1175
|
+
# @type MonitoringArea: Array
|
1176
|
+
# @param WarningInfos: 告警列表
|
1177
|
+
# @type WarningInfos: Array
|
1178
|
+
|
1179
|
+
attr_accessor :Id, :MonitoringArea, :WarningInfos
|
1180
|
+
|
1181
|
+
def initialize(id=nil, monitoringarea=nil, warninginfos=nil)
|
1182
|
+
@Id = id
|
1183
|
+
@MonitoringArea = monitoringarea
|
1184
|
+
@WarningInfos = warninginfos
|
1185
|
+
end
|
1186
|
+
|
1187
|
+
def deserialize(params)
|
1188
|
+
@Id = params['Id']
|
1189
|
+
unless params['MonitoringArea'].nil?
|
1190
|
+
@MonitoringArea = []
|
1191
|
+
params['MonitoringArea'].each do |i|
|
1192
|
+
point_tmp = Point.new
|
1193
|
+
point_tmp.deserialize(i)
|
1194
|
+
@MonitoringArea << point_tmp
|
1195
|
+
end
|
1196
|
+
end
|
1197
|
+
unless params['WarningInfos'].nil?
|
1198
|
+
@WarningInfos = []
|
1199
|
+
params['WarningInfos'].each do |i|
|
1200
|
+
multibizwarninginfo_tmp = MultiBizWarningInfo.new
|
1201
|
+
multibizwarninginfo_tmp.deserialize(i)
|
1202
|
+
@WarningInfos << multibizwarninginfo_tmp
|
1203
|
+
end
|
1204
|
+
end
|
1205
|
+
end
|
1206
|
+
end
|
1207
|
+
|
1208
|
+
# 多经点位告警信息
|
1209
|
+
class MultiBizWarningInfo < TencentCloud::Common::AbstractModel
|
1210
|
+
# @param WarningType: 告警类型:
|
1211
|
+
# 0: 无变化
|
1212
|
+
# 1: 侵占
|
1213
|
+
# 2: 消失
|
1214
|
+
# @type WarningType: Integer
|
1215
|
+
# @param WarningAreaSize: 告警侵占或消失面积
|
1216
|
+
# @type WarningAreaSize: Float
|
1217
|
+
# @param WarningLocation: 告警侵占或消失坐标
|
1218
|
+
# @type WarningLocation: :class:`Tencentcloud::Ump.v20200918.models.Point`
|
1219
|
+
# @param WarningAreaContour: 告警侵占或消失轮廓
|
1220
|
+
# @type WarningAreaContour: Array
|
1221
|
+
|
1222
|
+
attr_accessor :WarningType, :WarningAreaSize, :WarningLocation, :WarningAreaContour
|
1223
|
+
|
1224
|
+
def initialize(warningtype=nil, warningareasize=nil, warninglocation=nil, warningareacontour=nil)
|
1225
|
+
@WarningType = warningtype
|
1226
|
+
@WarningAreaSize = warningareasize
|
1227
|
+
@WarningLocation = warninglocation
|
1228
|
+
@WarningAreaContour = warningareacontour
|
1229
|
+
end
|
1230
|
+
|
1231
|
+
def deserialize(params)
|
1232
|
+
@WarningType = params['WarningType']
|
1233
|
+
@WarningAreaSize = params['WarningAreaSize']
|
1234
|
+
unless params['WarningLocation'].nil?
|
1235
|
+
@WarningLocation = Point.new
|
1236
|
+
@WarningLocation.deserialize(params['WarningLocation'])
|
1237
|
+
end
|
1238
|
+
unless params['WarningAreaContour'].nil?
|
1239
|
+
@WarningAreaContour = []
|
1240
|
+
params['WarningAreaContour'].each do |i|
|
1241
|
+
point_tmp = Point.new
|
1242
|
+
point_tmp.deserialize(i)
|
1243
|
+
@WarningAreaContour << point_tmp
|
1244
|
+
end
|
1245
|
+
end
|
1246
|
+
end
|
1247
|
+
end
|
1248
|
+
|
1249
|
+
# 点
|
1250
|
+
class Point < TencentCloud::Common::AbstractModel
|
1251
|
+
# @param X: X坐标
|
1252
|
+
# @type X: Integer
|
1253
|
+
# @param Y: Y坐标
|
1254
|
+
# @type Y: Integer
|
1255
|
+
|
1256
|
+
attr_accessor :X, :Y
|
1257
|
+
|
1258
|
+
def initialize(x=nil, y=nil)
|
1259
|
+
@X = x
|
1260
|
+
@Y = y
|
1261
|
+
end
|
1262
|
+
|
1263
|
+
def deserialize(params)
|
1264
|
+
@X = params['X']
|
1265
|
+
@Y = params['Y']
|
1266
|
+
end
|
1267
|
+
end
|
1268
|
+
|
1269
|
+
# 多边形
|
1270
|
+
class Polygon < TencentCloud::Common::AbstractModel
|
1271
|
+
# @param Points: 标注列表
|
1272
|
+
# @type Points: Array
|
1273
|
+
|
1274
|
+
attr_accessor :Points
|
1275
|
+
|
1276
|
+
def initialize(points=nil)
|
1277
|
+
@Points = points
|
1278
|
+
end
|
1279
|
+
|
1280
|
+
def deserialize(params)
|
1281
|
+
unless params['Points'].nil?
|
1282
|
+
@Points = []
|
1283
|
+
params['Points'].each do |i|
|
1284
|
+
point_tmp = Point.new
|
1285
|
+
point_tmp.deserialize(i)
|
1286
|
+
@Points << point_tmp
|
1287
|
+
end
|
1288
|
+
end
|
1289
|
+
end
|
1290
|
+
end
|
1291
|
+
|
1292
|
+
# 进程状态监控项
|
1293
|
+
class ProgramStateItem < TencentCloud::Common::AbstractModel
|
1294
|
+
# @param ServerIp: 服务器IP
|
1295
|
+
# @type ServerIp: String
|
1296
|
+
# @param ProgramName: 进程名字
|
1297
|
+
# @type ProgramName: String
|
1298
|
+
# @param OnlineCount: 在线个数
|
1299
|
+
# @type OnlineCount: Integer
|
1300
|
+
# @param OfflineCount: 离线个数
|
1301
|
+
# @type OfflineCount: Integer
|
1302
|
+
# @param State: 上报状态:
|
1303
|
+
# 1: 正常上报
|
1304
|
+
# 2: 异常上报
|
1305
|
+
# 注:此处异常上报是指本次上报由于场内服务内部原因导致上报数据不可信等。此时离线个数重置为1,在线个数重置为0
|
1306
|
+
# @type State: Integer
|
1307
|
+
|
1308
|
+
attr_accessor :ServerIp, :ProgramName, :OnlineCount, :OfflineCount, :State
|
1309
|
+
|
1310
|
+
def initialize(serverip=nil, programname=nil, onlinecount=nil, offlinecount=nil, state=nil)
|
1311
|
+
@ServerIp = serverip
|
1312
|
+
@ProgramName = programname
|
1313
|
+
@OnlineCount = onlinecount
|
1314
|
+
@OfflineCount = offlinecount
|
1315
|
+
@State = state
|
1316
|
+
end
|
1317
|
+
|
1318
|
+
def deserialize(params)
|
1319
|
+
@ServerIp = params['ServerIp']
|
1320
|
+
@ProgramName = params['ProgramName']
|
1321
|
+
@OnlineCount = params['OnlineCount']
|
1322
|
+
@OfflineCount = params['OfflineCount']
|
1323
|
+
@State = params['State']
|
1324
|
+
end
|
1325
|
+
end
|
1326
|
+
|
1327
|
+
# ReportServiceRegister请求参数结构体
|
1328
|
+
class ReportServiceRegisterRequest < TencentCloud::Common::AbstractModel
|
1329
|
+
# @param GroupCode: 集团编码
|
1330
|
+
# @type GroupCode: String
|
1331
|
+
# @param MallId: 广场ID
|
1332
|
+
# @type MallId: Integer
|
1333
|
+
# @param ServiceRegisterInfos: 服务上报当前的服务能力信息
|
1334
|
+
# @type ServiceRegisterInfos: Array
|
1335
|
+
# @param ServerIp: 服务内网Ip
|
1336
|
+
# @type ServerIp: String
|
1337
|
+
# @param ServerNodeId: 上报服务所在服务器的唯一ID
|
1338
|
+
# @type ServerNodeId: String
|
1339
|
+
# @param ReportTime: 上报时间戳, 单位毫秒
|
1340
|
+
# @type ReportTime: Integer
|
1341
|
+
|
1342
|
+
attr_accessor :GroupCode, :MallId, :ServiceRegisterInfos, :ServerIp, :ServerNodeId, :ReportTime
|
1343
|
+
|
1344
|
+
def initialize(groupcode=nil, mallid=nil, serviceregisterinfos=nil, serverip=nil, servernodeid=nil, reporttime=nil)
|
1345
|
+
@GroupCode = groupcode
|
1346
|
+
@MallId = mallid
|
1347
|
+
@ServiceRegisterInfos = serviceregisterinfos
|
1348
|
+
@ServerIp = serverip
|
1349
|
+
@ServerNodeId = servernodeid
|
1350
|
+
@ReportTime = reporttime
|
1351
|
+
end
|
1352
|
+
|
1353
|
+
def deserialize(params)
|
1354
|
+
@GroupCode = params['GroupCode']
|
1355
|
+
@MallId = params['MallId']
|
1356
|
+
unless params['ServiceRegisterInfos'].nil?
|
1357
|
+
@ServiceRegisterInfos = []
|
1358
|
+
params['ServiceRegisterInfos'].each do |i|
|
1359
|
+
serviceregisterinfo_tmp = ServiceRegisterInfo.new
|
1360
|
+
serviceregisterinfo_tmp.deserialize(i)
|
1361
|
+
@ServiceRegisterInfos << serviceregisterinfo_tmp
|
1362
|
+
end
|
1363
|
+
end
|
1364
|
+
@ServerIp = params['ServerIp']
|
1365
|
+
@ServerNodeId = params['ServerNodeId']
|
1366
|
+
@ReportTime = params['ReportTime']
|
1367
|
+
end
|
1368
|
+
end
|
1369
|
+
|
1370
|
+
# ReportServiceRegister返回参数结构体
|
1371
|
+
class ReportServiceRegisterResponse < TencentCloud::Common::AbstractModel
|
1372
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1373
|
+
# @type RequestId: String
|
1374
|
+
|
1375
|
+
attr_accessor :RequestId
|
1376
|
+
|
1377
|
+
def initialize(requestid=nil)
|
1378
|
+
@RequestId = requestid
|
1379
|
+
end
|
1380
|
+
|
1381
|
+
def deserialize(params)
|
1382
|
+
@RequestId = params['RequestId']
|
1383
|
+
end
|
1384
|
+
end
|
1385
|
+
|
1386
|
+
# SearchImage请求参数结构体
|
1387
|
+
class SearchImageRequest < TencentCloud::Common::AbstractModel
|
1388
|
+
# @param GroupCode: 集团编码
|
1389
|
+
# @type GroupCode: String
|
1390
|
+
# @param MallId: 广场ID
|
1391
|
+
# @type MallId: Integer
|
1392
|
+
# @param Image: 图片base64字符串
|
1393
|
+
# @type Image: String
|
1394
|
+
# @param ImageTime: 时间戳,毫秒
|
1395
|
+
# @type ImageTime: Integer
|
1396
|
+
|
1397
|
+
attr_accessor :GroupCode, :MallId, :Image, :ImageTime
|
1398
|
+
|
1399
|
+
def initialize(groupcode=nil, mallid=nil, image=nil, imagetime=nil)
|
1400
|
+
@GroupCode = groupcode
|
1401
|
+
@MallId = mallid
|
1402
|
+
@Image = image
|
1403
|
+
@ImageTime = imagetime
|
1404
|
+
end
|
1405
|
+
|
1406
|
+
def deserialize(params)
|
1407
|
+
@GroupCode = params['GroupCode']
|
1408
|
+
@MallId = params['MallId']
|
1409
|
+
@Image = params['Image']
|
1410
|
+
@ImageTime = params['ImageTime']
|
1411
|
+
end
|
1412
|
+
end
|
1413
|
+
|
1414
|
+
# SearchImage返回参数结构体
|
1415
|
+
class SearchImageResponse < TencentCloud::Common::AbstractModel
|
1416
|
+
# @param FaceId: face id
|
1417
|
+
# @type FaceId: String
|
1418
|
+
# @param Results: 搜索结果列表
|
1419
|
+
# @type Results: Array
|
1420
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1421
|
+
# @type RequestId: String
|
1422
|
+
|
1423
|
+
attr_accessor :FaceId, :Results, :RequestId
|
1424
|
+
|
1425
|
+
def initialize(faceid=nil, results=nil, requestid=nil)
|
1426
|
+
@FaceId = faceid
|
1427
|
+
@Results = results
|
1428
|
+
@RequestId = requestid
|
1429
|
+
end
|
1430
|
+
|
1431
|
+
def deserialize(params)
|
1432
|
+
@FaceId = params['FaceId']
|
1433
|
+
unless params['Results'].nil?
|
1434
|
+
@Results = []
|
1435
|
+
params['Results'].each do |i|
|
1436
|
+
searchresult_tmp = SearchResult.new
|
1437
|
+
searchresult_tmp.deserialize(i)
|
1438
|
+
@Results << searchresult_tmp
|
1439
|
+
end
|
1440
|
+
end
|
1441
|
+
@RequestId = params['RequestId']
|
1442
|
+
end
|
1443
|
+
end
|
1444
|
+
|
1445
|
+
# 以图搜图检索结果
|
1446
|
+
class SearchResult < TencentCloud::Common::AbstractModel
|
1447
|
+
# @param Image: 图片base64数据
|
1448
|
+
# @type Image: String
|
1449
|
+
# @param PersonId: 身份ID
|
1450
|
+
# @type PersonId: String
|
1451
|
+
# @param Similarity: 相似度
|
1452
|
+
# @type Similarity: Float
|
1453
|
+
|
1454
|
+
attr_accessor :Image, :PersonId, :Similarity
|
1455
|
+
|
1456
|
+
def initialize(image=nil, personid=nil, similarity=nil)
|
1457
|
+
@Image = image
|
1458
|
+
@PersonId = personid
|
1459
|
+
@Similarity = similarity
|
1460
|
+
end
|
1461
|
+
|
1462
|
+
def deserialize(params)
|
1463
|
+
@Image = params['Image']
|
1464
|
+
@PersonId = params['PersonId']
|
1465
|
+
@Similarity = params['Similarity']
|
1466
|
+
end
|
1467
|
+
end
|
1468
|
+
|
1469
|
+
# 服务器监控状态上报项
|
1470
|
+
class ServerStateItem < TencentCloud::Common::AbstractModel
|
1471
|
+
# @param ServerState: 服务器状态
|
1472
|
+
# 1: 在线
|
1473
|
+
# 2: 离线
|
1474
|
+
# 3: 重启
|
1475
|
+
# @type ServerState: Integer
|
1476
|
+
# @param ServerIp: 服务器IP
|
1477
|
+
# @type ServerIp: String
|
1478
|
+
# @param DiskInfos: 硬盘监控信息列表
|
1479
|
+
# @type DiskInfos: Array
|
1480
|
+
|
1481
|
+
attr_accessor :ServerState, :ServerIp, :DiskInfos
|
1482
|
+
|
1483
|
+
def initialize(serverstate=nil, serverip=nil, diskinfos=nil)
|
1484
|
+
@ServerState = serverstate
|
1485
|
+
@ServerIp = serverip
|
1486
|
+
@DiskInfos = diskinfos
|
1487
|
+
end
|
1488
|
+
|
1489
|
+
def deserialize(params)
|
1490
|
+
@ServerState = params['ServerState']
|
1491
|
+
@ServerIp = params['ServerIp']
|
1492
|
+
unless params['DiskInfos'].nil?
|
1493
|
+
@DiskInfos = []
|
1494
|
+
params['DiskInfos'].each do |i|
|
1495
|
+
diskinfo_tmp = DiskInfo.new
|
1496
|
+
diskinfo_tmp.deserialize(i)
|
1497
|
+
@DiskInfos << diskinfo_tmp
|
1498
|
+
end
|
1499
|
+
end
|
1500
|
+
end
|
1501
|
+
end
|
1502
|
+
|
1503
|
+
# 用于服务注册时表示当前服务的具体信息
|
1504
|
+
class ServiceRegisterInfo < TencentCloud::Common::AbstractModel
|
1505
|
+
# @param CgiUrl: 当前服务的回调地址
|
1506
|
+
# @type CgiUrl: String
|
1507
|
+
# @param ServiceType: 当前服务类型:
|
1508
|
+
# 1: 多经服务
|
1509
|
+
# 2: 相机误报警确认
|
1510
|
+
# 3: 底图更新
|
1511
|
+
# @type ServiceType: Integer
|
1512
|
+
|
1513
|
+
attr_accessor :CgiUrl, :ServiceType
|
1514
|
+
|
1515
|
+
def initialize(cgiurl=nil, servicetype=nil)
|
1516
|
+
@CgiUrl = cgiurl
|
1517
|
+
@ServiceType = servicetype
|
1518
|
+
end
|
1519
|
+
|
1520
|
+
def deserialize(params)
|
1521
|
+
@CgiUrl = params['CgiUrl']
|
1522
|
+
@ServiceType = params['ServiceType']
|
1523
|
+
end
|
1524
|
+
end
|
1525
|
+
|
1526
|
+
# 任务信息
|
1527
|
+
class Task < TencentCloud::Common::AbstractModel
|
1528
|
+
# @param TaskId: 任务ID
|
1529
|
+
# @type TaskId: Integer
|
1530
|
+
# @param GroupCode: 集团编码
|
1531
|
+
# @type GroupCode: String
|
1532
|
+
# @param MallId: 广场ID
|
1533
|
+
# @type MallId: Integer
|
1534
|
+
# @param TaskContent: 任务内容
|
1535
|
+
# @type TaskContent: :class:`Tencentcloud::Ump.v20200918.models.TaskContent`
|
1536
|
+
# @param TaskType: 任务类型:
|
1537
|
+
# 1: 底图拉取
|
1538
|
+
# @type TaskType: Integer
|
1539
|
+
|
1540
|
+
attr_accessor :TaskId, :GroupCode, :MallId, :TaskContent, :TaskType
|
1541
|
+
|
1542
|
+
def initialize(taskid=nil, groupcode=nil, mallid=nil, taskcontent=nil, tasktype=nil)
|
1543
|
+
@TaskId = taskid
|
1544
|
+
@GroupCode = groupcode
|
1545
|
+
@MallId = mallid
|
1546
|
+
@TaskContent = taskcontent
|
1547
|
+
@TaskType = tasktype
|
1548
|
+
end
|
1549
|
+
|
1550
|
+
def deserialize(params)
|
1551
|
+
@TaskId = params['TaskId']
|
1552
|
+
@GroupCode = params['GroupCode']
|
1553
|
+
@MallId = params['MallId']
|
1554
|
+
unless params['TaskContent'].nil?
|
1555
|
+
@TaskContent = TaskContent.new
|
1556
|
+
@TaskContent.deserialize(params['TaskContent'])
|
1557
|
+
end
|
1558
|
+
@TaskType = params['TaskType']
|
1559
|
+
end
|
1560
|
+
end
|
1561
|
+
|
1562
|
+
# 任务内容
|
1563
|
+
class TaskContent < TencentCloud::Common::AbstractModel
|
1564
|
+
# @param CameraId: 摄像头ID
|
1565
|
+
# @type CameraId: Integer
|
1566
|
+
# @param RTSP: rtsp 地址
|
1567
|
+
# @type RTSP: String
|
1568
|
+
# @param Url: 图片上传地址
|
1569
|
+
# @type Url: String
|
1570
|
+
|
1571
|
+
attr_accessor :CameraId, :RTSP, :Url
|
1572
|
+
|
1573
|
+
def initialize(cameraid=nil, rtsp=nil, url=nil)
|
1574
|
+
@CameraId = cameraid
|
1575
|
+
@RTSP = rtsp
|
1576
|
+
@Url = url
|
1577
|
+
end
|
1578
|
+
|
1579
|
+
def deserialize(params)
|
1580
|
+
@CameraId = params['CameraId']
|
1581
|
+
@RTSP = params['RTSP']
|
1582
|
+
@Url = params['Url']
|
1583
|
+
end
|
1584
|
+
end
|
1585
|
+
|
1586
|
+
# 点位包含店门标注
|
1587
|
+
class ZoneArea < TencentCloud::Common::AbstractModel
|
1588
|
+
# @param ZoneId: 点位ID
|
1589
|
+
# @type ZoneId: Integer
|
1590
|
+
# @param ShopArea: 店门标注
|
1591
|
+
# @type ShopArea: Array
|
1592
|
+
|
1593
|
+
attr_accessor :ZoneId, :ShopArea
|
1594
|
+
|
1595
|
+
def initialize(zoneid=nil, shoparea=nil)
|
1596
|
+
@ZoneId = zoneid
|
1597
|
+
@ShopArea = shoparea
|
1598
|
+
end
|
1599
|
+
|
1600
|
+
def deserialize(params)
|
1601
|
+
@ZoneId = params['ZoneId']
|
1602
|
+
unless params['ShopArea'].nil?
|
1603
|
+
@ShopArea = []
|
1604
|
+
params['ShopArea'].each do |i|
|
1605
|
+
point_tmp = Point.new
|
1606
|
+
point_tmp.deserialize(i)
|
1607
|
+
@ShopArea << point_tmp
|
1608
|
+
end
|
1609
|
+
end
|
1610
|
+
end
|
1611
|
+
end
|
1612
|
+
|
1613
|
+
# 点位包含绑定、调试信息
|
1614
|
+
class ZoneConfig < TencentCloud::Common::AbstractModel
|
1615
|
+
# @param ZoneId: 点位ID
|
1616
|
+
# @type ZoneId: Integer
|
1617
|
+
# @param ZoneName: 点位名称
|
1618
|
+
# @type ZoneName: String
|
1619
|
+
# @param ZoneType: 点位类型:
|
1620
|
+
# 1: 场门
|
1621
|
+
# 3: 层门
|
1622
|
+
# 5: 特殊区域
|
1623
|
+
# 7: 门店
|
1624
|
+
# 8: 补位
|
1625
|
+
# 10: 开放式门店
|
1626
|
+
# 11: 品类区
|
1627
|
+
# 12: 公共区
|
1628
|
+
# @type ZoneType: Integer
|
1629
|
+
# @param BunkCodes: 铺位编码
|
1630
|
+
# @type BunkCodes: String
|
1631
|
+
# @param FloorName: 楼层名称
|
1632
|
+
# @type FloorName: String
|
1633
|
+
# @param FloorId: 楼层ID
|
1634
|
+
# @type FloorId: Integer
|
1635
|
+
# @param BindNum: 绑定数
|
1636
|
+
# @type BindNum: Integer
|
1637
|
+
# @param DebugNum: 调试数
|
1638
|
+
# @type DebugNum: Integer
|
1639
|
+
# @param State: 下发状态:
|
1640
|
+
# 1: 不可下发
|
1641
|
+
# 2: 可下发
|
1642
|
+
# 3: 已下发
|
1643
|
+
# @type State: Integer
|
1644
|
+
|
1645
|
+
attr_accessor :ZoneId, :ZoneName, :ZoneType, :BunkCodes, :FloorName, :FloorId, :BindNum, :DebugNum, :State
|
1646
|
+
|
1647
|
+
def initialize(zoneid=nil, zonename=nil, zonetype=nil, bunkcodes=nil, floorname=nil, floorid=nil, bindnum=nil, debugnum=nil, state=nil)
|
1648
|
+
@ZoneId = zoneid
|
1649
|
+
@ZoneName = zonename
|
1650
|
+
@ZoneType = zonetype
|
1651
|
+
@BunkCodes = bunkcodes
|
1652
|
+
@FloorName = floorname
|
1653
|
+
@FloorId = floorid
|
1654
|
+
@BindNum = bindnum
|
1655
|
+
@DebugNum = debugnum
|
1656
|
+
@State = state
|
1657
|
+
end
|
1658
|
+
|
1659
|
+
def deserialize(params)
|
1660
|
+
@ZoneId = params['ZoneId']
|
1661
|
+
@ZoneName = params['ZoneName']
|
1662
|
+
@ZoneType = params['ZoneType']
|
1663
|
+
@BunkCodes = params['BunkCodes']
|
1664
|
+
@FloorName = params['FloorName']
|
1665
|
+
@FloorId = params['FloorId']
|
1666
|
+
@BindNum = params['BindNum']
|
1667
|
+
@DebugNum = params['DebugNum']
|
1668
|
+
@State = params['State']
|
1669
|
+
end
|
1670
|
+
end
|
1671
|
+
|
1672
|
+
end
|
1673
|
+
end
|
1674
|
+
end
|
1675
|
+
|