|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
namespace AlibabaCloud\Idrsservice\V20200630; |
|
4
|
|
|
|
|
5
|
|
|
use AlibabaCloud\Client\Resolver\ApiResolver; |
|
6
|
|
|
|
|
7
|
|
|
/** |
|
8
|
|
|
* @method CheckServiceLinkedRole checkServiceLinkedRole(array $options = []) |
|
9
|
|
|
* @method CreateApp createApp(array $options = []) |
|
10
|
|
|
* @method CreateDepartment createDepartment(array $options = []) |
|
11
|
|
|
* @method CreateLive createLive(array $options = []) |
|
12
|
|
|
* @method CreateLiveDetection createLiveDetection(array $options = []) |
|
13
|
|
|
* @method CreateRule createRule(array $options = []) |
|
14
|
|
|
* @method CreateStatisticsRecord createStatisticsRecord(array $options = []) |
|
15
|
|
|
* @method CreateStatisticsTask createStatisticsTask(array $options = []) |
|
16
|
|
|
* @method CreateTaskGroup createTaskGroup(array $options = []) |
|
17
|
|
|
* @method CreateUserDepartments createUserDepartments(array $options = []) |
|
18
|
|
|
* @method DeleteApp deleteApp(array $options = []) |
|
19
|
|
|
* @method DeleteDepartment deleteDepartment(array $options = []) |
|
20
|
|
|
* @method DeleteRule deleteRule(array $options = []) |
|
21
|
|
|
* @method DeleteUser deleteUser(array $options = []) |
|
22
|
|
|
* @method DeleteUserDepartments deleteUserDepartments(array $options = []) |
|
23
|
|
|
* @method ExitLive exitLive(array $options = []) |
|
24
|
|
|
* @method GetApp getApp(array $options = []) |
|
25
|
|
|
* @method GetDepartment getDepartment(array $options = []) |
|
26
|
|
|
* @method GetDetectEvaluation getDetectEvaluation(array $options = []) |
|
27
|
|
|
* @method GetDetection getDetection(array $options = []) |
|
28
|
|
|
* @method GetModelSignedUrl getModelSignedUrl(array $options = []) |
|
29
|
|
|
* @method GetPreSignedUrl getPreSignedUrl(array $options = []) |
|
30
|
|
|
* @method GetRule getRule(array $options = []) |
|
31
|
|
|
* @method GetServiceConfiguration getServiceConfiguration(array $options = []) |
|
32
|
|
|
* @method GetSignedUrl getSignedUrl(array $options = []) |
|
33
|
|
|
* @method GetSlrConfiguration getSlrConfiguration(array $options = []) |
|
34
|
|
|
* @method GetStatistics getStatistics(array $options = []) |
|
35
|
|
|
* @method GetTask getTask(array $options = []) |
|
36
|
|
|
* @method GetTaskGroup getTaskGroup(array $options = []) |
|
37
|
|
|
* @method GetUser getUser(array $options = []) |
|
38
|
|
|
* @method InitializeServiceLinkedRole initializeServiceLinkedRole(array $options = []) |
|
39
|
|
|
* @method JoinLive joinLive(array $options = []) |
|
40
|
|
|
* @method ListApps listApps(array $options = []) |
|
41
|
|
|
* @method ListDepartments listDepartments(array $options = []) |
|
42
|
|
|
* @method ListDetections listDetections(array $options = []) |
|
43
|
|
|
* @method ListFiles listFiles(array $options = []) |
|
44
|
|
|
* @method ListLives listLives(array $options = []) |
|
45
|
|
|
* @method ListRoles listRoles(array $options = []) |
|
46
|
|
|
* @method ListRules listRules(array $options = []) |
|
47
|
|
|
* @method ListStatisticsTask listStatisticsTask(array $options = []) |
|
48
|
|
|
* @method ListTaskGroups listTaskGroups(array $options = []) |
|
49
|
|
|
* @method ListTaskItems listTaskItems(array $options = []) |
|
50
|
|
|
* @method ListTasks listTasks(array $options = []) |
|
51
|
|
|
* @method ListUsers listUsers(array $options = []) |
|
52
|
|
|
* @method UpdateApp updateApp(array $options = []) |
|
53
|
|
|
* @method UpdateDepartment updateDepartment(array $options = []) |
|
54
|
|
|
* @method UpdateLive updateLive(array $options = []) |
|
55
|
|
|
* @method UpdateRule updateRule(array $options = []) |
|
56
|
|
|
* @method UpdateServiceConfiguration updateServiceConfiguration(array $options = []) |
|
57
|
|
|
* @method UpdateSlrConfiguration updateSlrConfiguration(array $options = []) |
|
58
|
|
|
* @method UpdateUser updateUser(array $options = []) |
|
59
|
|
|
*/ |
|
60
|
|
|
class IdrsserviceApiResolver extends ApiResolver |
|
61
|
|
|
{ |
|
62
|
|
|
} |
|
63
|
|
|
|
|
64
|
|
|
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc |
|
65
|
|
|
{ |
|
66
|
|
|
/** @var string */ |
|
67
|
|
|
public $product = 'idrsservice'; |
|
68
|
|
|
|
|
69
|
|
|
/** @var string */ |
|
70
|
|
|
public $version = '2020-06-30'; |
|
71
|
|
|
|
|
72
|
|
|
/** @var string */ |
|
73
|
|
|
public $method = 'POST'; |
|
74
|
|
|
|
|
75
|
|
|
/** @var string */ |
|
76
|
|
|
public $serviceCode = 'idrsservice'; |
|
77
|
|
|
} |
|
78
|
|
|
|
|
79
|
|
|
/** |
|
80
|
|
|
* @method string getRoleName() |
|
81
|
|
|
* @method $this withRoleName($value) |
|
82
|
|
|
*/ |
|
83
|
|
|
class CheckServiceLinkedRole extends Rpc |
|
84
|
|
|
{ |
|
85
|
|
|
} |
|
86
|
|
|
|
|
87
|
|
|
/** |
|
88
|
|
|
* @method string getClientToken() |
|
89
|
|
|
* @method $this withClientToken($value) |
|
90
|
|
|
* @method string getDepartmentId() |
|
91
|
|
|
* @method $this withDepartmentId($value) |
|
92
|
|
|
* @method string getPackageName() |
|
93
|
|
|
* @method $this withPackageName($value) |
|
94
|
|
|
* @method string getName() |
|
95
|
|
|
* @method $this withName($value) |
|
96
|
|
|
*/ |
|
97
|
|
|
class CreateApp extends Rpc |
|
98
|
|
|
{ |
|
99
|
|
|
} |
|
100
|
|
|
|
|
101
|
|
|
/** |
|
102
|
|
|
* @method string getClientToken() |
|
103
|
|
|
* @method $this withClientToken($value) |
|
104
|
|
|
* @method string getDescription() |
|
105
|
|
|
* @method $this withDescription($value) |
|
106
|
|
|
* @method string getLabel() |
|
107
|
|
|
* @method $this withLabel($value) |
|
108
|
|
|
* @method string getName() |
|
109
|
|
|
* @method $this withName($value) |
|
110
|
|
|
*/ |
|
111
|
|
|
class CreateDepartment extends Rpc |
|
112
|
|
|
{ |
|
113
|
|
|
} |
|
114
|
|
|
|
|
115
|
|
|
/** |
|
116
|
|
|
* @method string getClientToken() |
|
117
|
|
|
* @method $this withClientToken($value) |
|
118
|
|
|
* @method string getUserId() |
|
119
|
|
|
* @method $this withUserId($value) |
|
120
|
|
|
* @method string getRtcCode() |
|
121
|
|
|
* @method $this withRtcCode($value) |
|
122
|
|
|
* @method string getAppId() |
|
123
|
|
|
* @method $this withAppId($value) |
|
124
|
|
|
* @method string getName() |
|
125
|
|
|
* @method $this withName($value) |
|
126
|
|
|
*/ |
|
127
|
|
|
class CreateLive extends Rpc |
|
128
|
|
|
{ |
|
129
|
|
|
} |
|
130
|
|
|
|
|
131
|
|
|
/** |
|
132
|
|
|
* @method string getClientToken() |
|
133
|
|
|
* @method $this withClientToken($value) |
|
134
|
|
|
* @method string getLiveId() |
|
135
|
|
|
* @method $this withLiveId($value) |
|
136
|
|
|
* @method string getUserId() |
|
137
|
|
|
* @method $this withUserId($value) |
|
138
|
|
|
* @method string getMetaUrl() |
|
139
|
|
|
* @method $this withMetaUrl($value) |
|
140
|
|
|
* @method string getRuleId() |
|
141
|
|
|
* @method $this withRuleId($value) |
|
142
|
|
|
*/ |
|
143
|
|
|
class CreateLiveDetection extends Rpc |
|
144
|
|
|
{ |
|
145
|
|
|
} |
|
146
|
|
|
|
|
147
|
|
|
/** |
|
148
|
|
|
* @method string getClientToken() |
|
149
|
|
|
* @method $this withClientToken($value) |
|
150
|
|
|
* @method string getContent() |
|
151
|
|
|
* @method $this withContent($value) |
|
152
|
|
|
* @method string getName() |
|
153
|
|
|
* @method $this withName($value) |
|
154
|
|
|
*/ |
|
155
|
|
|
class CreateRule extends Rpc |
|
156
|
|
|
{ |
|
157
|
|
|
} |
|
158
|
|
|
|
|
159
|
|
|
/** |
|
160
|
|
|
* @method string getBeginAt() |
|
161
|
|
|
* @method $this withBeginAt($value) |
|
162
|
|
|
* @method string getClientToken() |
|
163
|
|
|
* @method $this withClientToken($value) |
|
164
|
|
|
* @method string getEndAt() |
|
165
|
|
|
* @method $this withEndAt($value) |
|
166
|
|
|
* @method string getDeviceId() |
|
167
|
|
|
* @method $this withDeviceId($value) |
|
168
|
|
|
* @method string getDeviceType() |
|
169
|
|
|
* @method $this withDeviceType($value) |
|
170
|
|
|
* @method string getAppId() |
|
171
|
|
|
* @method $this withAppId($value) |
|
172
|
|
|
*/ |
|
173
|
|
|
class CreateStatisticsRecord extends Rpc |
|
174
|
|
|
{ |
|
175
|
|
|
} |
|
176
|
|
|
|
|
177
|
|
|
/** |
|
178
|
|
|
* @method string getClientToken() |
|
179
|
|
|
* @method $this withClientToken($value) |
|
180
|
|
|
* @method array getDepartmentId() |
|
181
|
|
|
* @method string getDateTo() |
|
182
|
|
|
* @method $this withDateTo($value) |
|
183
|
|
|
* @method string getDateFrom() |
|
184
|
|
|
* @method $this withDateFrom($value) |
|
185
|
|
|
*/ |
|
186
|
|
|
class CreateStatisticsTask extends Rpc |
|
187
|
|
|
{ |
|
188
|
|
|
|
|
189
|
|
|
/** |
|
190
|
|
|
* @param array $departmentId |
|
191
|
|
|
* |
|
192
|
|
|
* @return $this |
|
193
|
|
|
*/ |
|
194
|
|
|
public function withDepartmentId(array $departmentId) |
|
195
|
|
|
{ |
|
196
|
|
|
$this->data['DepartmentId'] = $departmentId; |
|
197
|
|
|
foreach ($departmentId as $i => $iValue) { |
|
198
|
|
|
$this->options['query']['DepartmentId.' . ($i + 1)] = $iValue; |
|
199
|
|
|
} |
|
200
|
|
|
|
|
201
|
|
|
return $this; |
|
202
|
|
|
} |
|
203
|
|
|
} |
|
204
|
|
|
|
|
205
|
|
|
/** |
|
206
|
|
|
* @method string getClientToken() |
|
207
|
|
|
* @method $this withClientToken($value) |
|
208
|
|
|
* @method string getExpireAt() |
|
209
|
|
|
* @method $this withExpireAt($value) |
|
210
|
|
|
* @method array getDay() |
|
211
|
|
|
* @method string getRunnableTimeTo() |
|
212
|
|
|
* @method $this withRunnableTimeTo($value) |
|
213
|
|
|
* @method string getTriggerPeriod() |
|
214
|
|
|
* @method $this withTriggerPeriod($value) |
|
215
|
|
|
* @method string getGroupName() |
|
216
|
|
|
* @method $this withGroupName($value) |
|
217
|
|
|
* @method array getVideoUrl() |
|
218
|
|
|
* @method string getAppId() |
|
219
|
|
|
* @method $this withAppId($value) |
|
220
|
|
|
* @method string getRunnableTimeFrom() |
|
221
|
|
|
* @method $this withRunnableTimeFrom($value) |
|
222
|
|
|
* @method string getRuleId() |
|
223
|
|
|
* @method $this withRuleId($value) |
|
224
|
|
|
*/ |
|
225
|
|
|
class CreateTaskGroup extends Rpc |
|
226
|
|
|
{ |
|
227
|
|
|
|
|
228
|
|
|
/** |
|
229
|
|
|
* @param array $day |
|
230
|
|
|
* |
|
231
|
|
|
* @return $this |
|
232
|
|
|
*/ |
|
233
|
|
|
public function withDay(array $day) |
|
234
|
|
|
{ |
|
235
|
|
|
$this->data['Day'] = $day; |
|
236
|
|
|
foreach ($day as $i => $iValue) { |
|
237
|
|
|
$this->options['query']['Day.' . ($i + 1)] = $iValue; |
|
238
|
|
|
} |
|
239
|
|
|
|
|
240
|
|
|
return $this; |
|
241
|
|
|
} |
|
242
|
|
|
|
|
243
|
|
|
/** |
|
244
|
|
|
* @param array $videoUrl |
|
245
|
|
|
* |
|
246
|
|
|
* @return $this |
|
247
|
|
|
*/ |
|
248
|
|
|
public function withVideoUrl(array $videoUrl) |
|
249
|
|
|
{ |
|
250
|
|
|
$this->data['VideoUrl'] = $videoUrl; |
|
251
|
|
|
foreach ($videoUrl as $i => $iValue) { |
|
252
|
|
|
$this->options['query']['VideoUrl.' . ($i + 1)] = $iValue; |
|
253
|
|
|
} |
|
254
|
|
|
|
|
255
|
|
|
return $this; |
|
256
|
|
|
} |
|
257
|
|
|
} |
|
258
|
|
|
|
|
259
|
|
|
/** |
|
260
|
|
|
* @method array getDepartmentId() |
|
261
|
|
|
* @method array getUserId() |
|
262
|
|
|
*/ |
|
263
|
|
|
class CreateUserDepartments extends Rpc |
|
264
|
|
|
{ |
|
265
|
|
|
|
|
266
|
|
|
/** |
|
267
|
|
|
* @param array $departmentId |
|
268
|
|
|
* |
|
269
|
|
|
* @return $this |
|
270
|
|
|
*/ |
|
271
|
|
|
public function withDepartmentId(array $departmentId) |
|
272
|
|
|
{ |
|
273
|
|
|
$this->data['DepartmentId'] = $departmentId; |
|
274
|
|
|
foreach ($departmentId as $i => $iValue) { |
|
275
|
|
|
$this->options['query']['DepartmentId.' . ($i + 1)] = $iValue; |
|
276
|
|
|
} |
|
277
|
|
|
|
|
278
|
|
|
return $this; |
|
279
|
|
|
} |
|
280
|
|
|
|
|
281
|
|
|
/** |
|
282
|
|
|
* @param array $userId |
|
283
|
|
|
* |
|
284
|
|
|
* @return $this |
|
285
|
|
|
*/ |
|
286
|
|
|
public function withUserId(array $userId) |
|
287
|
|
|
{ |
|
288
|
|
|
$this->data['UserId'] = $userId; |
|
289
|
|
|
foreach ($userId as $i => $iValue) { |
|
290
|
|
|
$this->options['query']['UserId.' . ($i + 1)] = $iValue; |
|
291
|
|
|
} |
|
292
|
|
|
|
|
293
|
|
|
return $this; |
|
294
|
|
|
} |
|
295
|
|
|
} |
|
296
|
|
|
|
|
297
|
|
|
/** |
|
298
|
|
|
* @method string getId() |
|
299
|
|
|
* @method $this withId($value) |
|
300
|
|
|
*/ |
|
301
|
|
|
class DeleteApp extends Rpc |
|
302
|
|
|
{ |
|
303
|
|
|
} |
|
304
|
|
|
|
|
305
|
|
|
/** |
|
306
|
|
|
* @method string getId() |
|
307
|
|
|
* @method $this withId($value) |
|
308
|
|
|
*/ |
|
309
|
|
|
class DeleteDepartment extends Rpc |
|
310
|
|
|
{ |
|
311
|
|
|
} |
|
312
|
|
|
|
|
313
|
|
|
/** |
|
314
|
|
|
* @method string getId() |
|
315
|
|
|
* @method $this withId($value) |
|
316
|
|
|
*/ |
|
317
|
|
|
class DeleteRule extends Rpc |
|
318
|
|
|
{ |
|
319
|
|
|
} |
|
320
|
|
|
|
|
321
|
|
|
/** |
|
322
|
|
|
* @method string getId() |
|
323
|
|
|
* @method $this withId($value) |
|
324
|
|
|
*/ |
|
325
|
|
|
class DeleteUser extends Rpc |
|
326
|
|
|
{ |
|
327
|
|
|
} |
|
328
|
|
|
|
|
329
|
|
|
/** |
|
330
|
|
|
* @method array getDepartmentId() |
|
331
|
|
|
* @method array getUserId() |
|
332
|
|
|
*/ |
|
333
|
|
|
class DeleteUserDepartments extends Rpc |
|
334
|
|
|
{ |
|
335
|
|
|
|
|
336
|
|
|
/** |
|
337
|
|
|
* @param array $departmentId |
|
338
|
|
|
* |
|
339
|
|
|
* @return $this |
|
340
|
|
|
*/ |
|
341
|
|
|
public function withDepartmentId(array $departmentId) |
|
342
|
|
|
{ |
|
343
|
|
|
$this->data['DepartmentId'] = $departmentId; |
|
344
|
|
|
foreach ($departmentId as $i => $iValue) { |
|
345
|
|
|
$this->options['query']['DepartmentId.' . ($i + 1)] = $iValue; |
|
346
|
|
|
} |
|
347
|
|
|
|
|
348
|
|
|
return $this; |
|
349
|
|
|
} |
|
350
|
|
|
|
|
351
|
|
|
/** |
|
352
|
|
|
* @param array $userId |
|
353
|
|
|
* |
|
354
|
|
|
* @return $this |
|
355
|
|
|
*/ |
|
356
|
|
|
public function withUserId(array $userId) |
|
357
|
|
|
{ |
|
358
|
|
|
$this->data['UserId'] = $userId; |
|
359
|
|
|
foreach ($userId as $i => $iValue) { |
|
360
|
|
|
$this->options['form_params']['UserId.' . ($i + 1)] = $iValue; |
|
361
|
|
|
} |
|
362
|
|
|
|
|
363
|
|
|
return $this; |
|
364
|
|
|
} |
|
365
|
|
|
} |
|
366
|
|
|
|
|
367
|
|
|
/** |
|
368
|
|
|
* @method string getChannel() |
|
369
|
|
|
* @method $this withChannel($value) |
|
370
|
|
|
* @method string getUserId() |
|
371
|
|
|
* @method $this withUserId($value) |
|
372
|
|
|
* @method string getRtcCode() |
|
373
|
|
|
* @method $this withRtcCode($value) |
|
374
|
|
|
*/ |
|
375
|
|
|
class ExitLive extends Rpc |
|
376
|
|
|
{ |
|
377
|
|
|
} |
|
378
|
|
|
|
|
379
|
|
|
/** |
|
380
|
|
|
* @method string getPackageName() |
|
381
|
|
|
* @method $this withPackageName($value) |
|
382
|
|
|
* @method string getDeviceId() |
|
383
|
|
|
* @method $this withDeviceId($value) |
|
384
|
|
|
* @method string getId() |
|
385
|
|
|
* @method $this withId($value) |
|
386
|
|
|
*/ |
|
387
|
|
|
class GetApp extends Rpc |
|
388
|
|
|
{ |
|
389
|
|
|
} |
|
390
|
|
|
|
|
391
|
|
|
/** |
|
392
|
|
|
* @method string getId() |
|
393
|
|
|
* @method $this withId($value) |
|
394
|
|
|
*/ |
|
395
|
|
|
class GetDepartment extends Rpc |
|
396
|
|
|
{ |
|
397
|
|
|
} |
|
398
|
|
|
|
|
399
|
|
|
/** |
|
400
|
|
|
* @method string getEndTime() |
|
401
|
|
|
* @method $this withEndTime($value) |
|
402
|
|
|
* @method string getStartTime() |
|
403
|
|
|
* @method $this withStartTime($value) |
|
404
|
|
|
*/ |
|
405
|
|
|
class GetDetectEvaluation extends Rpc |
|
406
|
|
|
{ |
|
407
|
|
|
} |
|
408
|
|
|
|
|
409
|
|
|
/** |
|
410
|
|
|
* @method string getId() |
|
411
|
|
|
* @method $this withId($value) |
|
412
|
|
|
*/ |
|
413
|
|
|
class GetDetection extends Rpc |
|
414
|
|
|
{ |
|
415
|
|
|
} |
|
416
|
|
|
|
|
417
|
|
|
/** |
|
418
|
|
|
* @method array getModelPath() |
|
419
|
|
|
*/ |
|
420
|
|
|
class GetModelSignedUrl extends Rpc |
|
421
|
|
|
{ |
|
422
|
|
|
|
|
423
|
|
|
/** |
|
424
|
|
|
* @param array $modelPath |
|
425
|
|
|
* |
|
426
|
|
|
* @return $this |
|
427
|
|
|
*/ |
|
428
|
|
|
public function withModelPath(array $modelPath) |
|
429
|
|
|
{ |
|
430
|
|
|
$this->data['ModelPath'] = $modelPath; |
|
431
|
|
|
foreach ($modelPath as $i => $iValue) { |
|
432
|
|
|
$this->options['form_params']['ModelPath.' . ($i + 1)] = $iValue; |
|
433
|
|
|
} |
|
434
|
|
|
|
|
435
|
|
|
return $this; |
|
436
|
|
|
} |
|
437
|
|
|
} |
|
438
|
|
|
|
|
439
|
|
|
/** |
|
440
|
|
|
* @method string getPrefix() |
|
441
|
|
|
*/ |
|
442
|
|
|
class GetPreSignedUrl extends Rpc |
|
443
|
|
|
{ |
|
444
|
|
|
|
|
445
|
|
|
/** |
|
446
|
|
|
* @param string $value |
|
447
|
|
|
* |
|
448
|
|
|
* @return $this |
|
449
|
|
|
*/ |
|
450
|
|
|
public function withPrefix($value) |
|
451
|
|
|
{ |
|
452
|
|
|
$this->data['Prefix'] = $value; |
|
453
|
|
|
$this->options['form_params']['Prefix'] = $value; |
|
454
|
|
|
|
|
455
|
|
|
return $this; |
|
456
|
|
|
} |
|
457
|
|
|
} |
|
458
|
|
|
|
|
459
|
|
|
/** |
|
460
|
|
|
* @method string getId() |
|
461
|
|
|
* @method $this withId($value) |
|
462
|
|
|
*/ |
|
463
|
|
|
class GetRule extends Rpc |
|
464
|
|
|
{ |
|
465
|
|
|
} |
|
466
|
|
|
|
|
467
|
|
|
/** |
|
468
|
|
|
* @method string getUserId() |
|
469
|
|
|
* @method $this withUserId($value) |
|
470
|
|
|
*/ |
|
471
|
|
|
class GetServiceConfiguration extends Rpc |
|
472
|
|
|
{ |
|
473
|
|
|
} |
|
474
|
|
|
|
|
475
|
|
|
/** |
|
476
|
|
|
* @method string getFileUrl() |
|
477
|
|
|
*/ |
|
478
|
|
|
class GetSignedUrl extends Rpc |
|
479
|
|
|
{ |
|
480
|
|
|
|
|
481
|
|
|
/** |
|
482
|
|
|
* @param string $value |
|
483
|
|
|
* |
|
484
|
|
|
* @return $this |
|
485
|
|
|
*/ |
|
486
|
|
|
public function withFileUrl($value) |
|
487
|
|
|
{ |
|
488
|
|
|
$this->data['FileUrl'] = $value; |
|
489
|
|
|
$this->options['form_params']['FileUrl'] = $value; |
|
490
|
|
|
|
|
491
|
|
|
return $this; |
|
492
|
|
|
} |
|
493
|
|
|
} |
|
494
|
|
|
|
|
495
|
|
|
/** |
|
496
|
|
|
* @method string getUserId() |
|
497
|
|
|
* @method $this withUserId($value) |
|
498
|
|
|
*/ |
|
499
|
|
|
class GetSlrConfiguration extends Rpc |
|
500
|
|
|
{ |
|
501
|
|
|
} |
|
502
|
|
|
|
|
503
|
|
|
/** |
|
504
|
|
|
* @method array getDepartmentId() |
|
505
|
|
|
* @method string getDateTo() |
|
506
|
|
|
* @method $this withDateTo($value) |
|
507
|
|
|
* @method string getDateFrom() |
|
508
|
|
|
* @method $this withDateFrom($value) |
|
509
|
|
|
*/ |
|
510
|
|
|
class GetStatistics extends Rpc |
|
511
|
|
|
{ |
|
512
|
|
|
|
|
513
|
|
|
/** |
|
514
|
|
|
* @param array $departmentId |
|
515
|
|
|
* |
|
516
|
|
|
* @return $this |
|
517
|
|
|
*/ |
|
518
|
|
|
public function withDepartmentId(array $departmentId) |
|
519
|
|
|
{ |
|
520
|
|
|
$this->data['DepartmentId'] = $departmentId; |
|
521
|
|
|
foreach ($departmentId as $i => $iValue) { |
|
522
|
|
|
$this->options['query']['DepartmentId.' . ($i + 1)] = $iValue; |
|
523
|
|
|
} |
|
524
|
|
|
|
|
525
|
|
|
return $this; |
|
526
|
|
|
} |
|
527
|
|
|
} |
|
528
|
|
|
|
|
529
|
|
|
/** |
|
530
|
|
|
* @method string getTaskId() |
|
531
|
|
|
* @method $this withTaskId($value) |
|
532
|
|
|
*/ |
|
533
|
|
|
class GetTask extends Rpc |
|
534
|
|
|
{ |
|
535
|
|
|
} |
|
536
|
|
|
|
|
537
|
|
|
/** |
|
538
|
|
|
* @method string getId() |
|
539
|
|
|
* @method $this withId($value) |
|
540
|
|
|
*/ |
|
541
|
|
|
class GetTaskGroup extends Rpc |
|
542
|
|
|
{ |
|
543
|
|
|
} |
|
544
|
|
|
|
|
545
|
|
|
/** |
|
546
|
|
|
* @method string getId() |
|
547
|
|
|
* @method $this withId($value) |
|
548
|
|
|
*/ |
|
549
|
|
|
class GetUser extends Rpc |
|
550
|
|
|
{ |
|
551
|
|
|
} |
|
552
|
|
|
|
|
553
|
|
|
/** |
|
554
|
|
|
* @method string getRoleName() |
|
555
|
|
|
* @method $this withRoleName($value) |
|
556
|
|
|
*/ |
|
557
|
|
|
class InitializeServiceLinkedRole extends Rpc |
|
558
|
|
|
{ |
|
559
|
|
|
} |
|
560
|
|
|
|
|
561
|
|
|
/** |
|
562
|
|
|
* @method string getChannel() |
|
563
|
|
|
* @method $this withChannel($value) |
|
564
|
|
|
* @method string getUserId() |
|
565
|
|
|
* @method $this withUserId($value) |
|
566
|
|
|
* @method string getRtcCode() |
|
567
|
|
|
* @method $this withRtcCode($value) |
|
568
|
|
|
*/ |
|
569
|
|
|
class JoinLive extends Rpc |
|
570
|
|
|
{ |
|
571
|
|
|
} |
|
572
|
|
|
|
|
573
|
|
|
/** |
|
574
|
|
|
* @method string getPageSize() |
|
575
|
|
|
* @method $this withPageSize($value) |
|
576
|
|
|
* @method string getPageIndex() |
|
577
|
|
|
* @method $this withPageIndex($value) |
|
578
|
|
|
*/ |
|
579
|
|
|
class ListApps extends Rpc |
|
580
|
|
|
{ |
|
581
|
|
|
} |
|
582
|
|
|
|
|
583
|
|
|
/** |
|
584
|
|
|
* @method string getUserId() |
|
585
|
|
|
* @method $this withUserId($value) |
|
586
|
|
|
* @method string getName() |
|
587
|
|
|
* @method $this withName($value) |
|
588
|
|
|
* @method string getPageSize() |
|
589
|
|
|
* @method $this withPageSize($value) |
|
590
|
|
|
* @method string getPageIndex() |
|
591
|
|
|
* @method $this withPageIndex($value) |
|
592
|
|
|
*/ |
|
593
|
|
|
class ListDepartments extends Rpc |
|
594
|
|
|
{ |
|
595
|
|
|
} |
|
596
|
|
|
|
|
597
|
|
|
/** |
|
598
|
|
|
* @method string getCreateDateTo() |
|
599
|
|
|
* @method $this withCreateDateTo($value) |
|
600
|
|
|
* @method string getDepartmentId() |
|
601
|
|
|
* @method $this withDepartmentId($value) |
|
602
|
|
|
* @method string getRecordingType() |
|
603
|
|
|
* @method $this withRecordingType($value) |
|
604
|
|
|
* @method string getCreateDateFrom() |
|
605
|
|
|
* @method $this withCreateDateFrom($value) |
|
606
|
|
|
* @method string getPageSize() |
|
607
|
|
|
* @method $this withPageSize($value) |
|
608
|
|
|
* @method string getPageIndex() |
|
609
|
|
|
* @method $this withPageIndex($value) |
|
610
|
|
|
* @method string getRuleId() |
|
611
|
|
|
* @method $this withRuleId($value) |
|
612
|
|
|
*/ |
|
613
|
|
|
class ListDetections extends Rpc |
|
614
|
|
|
{ |
|
615
|
|
|
} |
|
616
|
|
|
|
|
617
|
|
|
/** |
|
618
|
|
|
* @method string getPrefix() |
|
619
|
|
|
* @method string getLimit() |
|
620
|
|
|
*/ |
|
621
|
|
|
class ListFiles extends Rpc |
|
622
|
|
|
{ |
|
623
|
|
|
|
|
624
|
|
|
/** |
|
625
|
|
|
* @param string $value |
|
626
|
|
|
* |
|
627
|
|
|
* @return $this |
|
628
|
|
|
*/ |
|
629
|
|
|
public function withPrefix($value) |
|
630
|
|
|
{ |
|
631
|
|
|
$this->data['Prefix'] = $value; |
|
632
|
|
|
$this->options['form_params']['Prefix'] = $value; |
|
633
|
|
|
|
|
634
|
|
|
return $this; |
|
635
|
|
|
} |
|
636
|
|
|
|
|
637
|
|
|
/** |
|
638
|
|
|
* @param string $value |
|
639
|
|
|
* |
|
640
|
|
|
* @return $this |
|
641
|
|
|
*/ |
|
642
|
|
|
public function withLimit($value) |
|
643
|
|
|
{ |
|
644
|
|
|
$this->data['Limit'] = $value; |
|
645
|
|
|
$this->options['form_params']['Limit'] = $value; |
|
646
|
|
|
|
|
647
|
|
|
return $this; |
|
648
|
|
|
} |
|
649
|
|
|
} |
|
650
|
|
|
|
|
651
|
|
|
/** |
|
652
|
|
|
* @method string getPageSize() |
|
653
|
|
|
* @method $this withPageSize($value) |
|
654
|
|
|
* @method string getPageIndex() |
|
655
|
|
|
* @method $this withPageIndex($value) |
|
656
|
|
|
*/ |
|
657
|
|
|
class ListLives extends Rpc |
|
658
|
|
|
{ |
|
659
|
|
|
} |
|
660
|
|
|
|
|
661
|
|
|
class ListRoles extends Rpc |
|
662
|
|
|
{ |
|
663
|
|
|
} |
|
664
|
|
|
|
|
665
|
|
|
/** |
|
666
|
|
|
* @method string getPageSize() |
|
667
|
|
|
* @method $this withPageSize($value) |
|
668
|
|
|
* @method string getPageIndex() |
|
669
|
|
|
* @method $this withPageIndex($value) |
|
670
|
|
|
*/ |
|
671
|
|
|
class ListRules extends Rpc |
|
672
|
|
|
{ |
|
673
|
|
|
} |
|
674
|
|
|
|
|
675
|
|
|
/** |
|
676
|
|
|
* @method string getPageSize() |
|
677
|
|
|
* @method $this withPageSize($value) |
|
678
|
|
|
* @method string getPageIndex() |
|
679
|
|
|
* @method $this withPageIndex($value) |
|
680
|
|
|
*/ |
|
681
|
|
|
class ListStatisticsTask extends Rpc |
|
682
|
|
|
{ |
|
683
|
|
|
} |
|
684
|
|
|
|
|
685
|
|
|
/** |
|
686
|
|
|
* @method string getPageSize() |
|
687
|
|
|
* @method $this withPageSize($value) |
|
688
|
|
|
* @method string getPageIndex() |
|
689
|
|
|
* @method $this withPageIndex($value) |
|
690
|
|
|
* @method string getStatus() |
|
691
|
|
|
* @method $this withStatus($value) |
|
692
|
|
|
*/ |
|
693
|
|
|
class ListTaskGroups extends Rpc |
|
694
|
|
|
{ |
|
695
|
|
|
} |
|
696
|
|
|
|
|
697
|
|
|
/** |
|
698
|
|
|
* @method string getTaskId() |
|
699
|
|
|
* @method $this withTaskId($value) |
|
700
|
|
|
*/ |
|
701
|
|
|
class ListTaskItems extends Rpc |
|
702
|
|
|
{ |
|
703
|
|
|
} |
|
704
|
|
|
|
|
705
|
|
|
/** |
|
706
|
|
|
* @method string getPageSize() |
|
707
|
|
|
* @method $this withPageSize($value) |
|
708
|
|
|
* @method string getTaskGroupId() |
|
709
|
|
|
* @method $this withTaskGroupId($value) |
|
710
|
|
|
* @method string getPageIndex() |
|
711
|
|
|
* @method $this withPageIndex($value) |
|
712
|
|
|
*/ |
|
713
|
|
|
class ListTasks extends Rpc |
|
714
|
|
|
{ |
|
715
|
|
|
} |
|
716
|
|
|
|
|
717
|
|
|
/** |
|
718
|
|
|
* @method string getDepartmentId() |
|
719
|
|
|
* @method $this withDepartmentId($value) |
|
720
|
|
|
* @method string getPageSize() |
|
721
|
|
|
* @method $this withPageSize($value) |
|
722
|
|
|
* @method string getPageIndex() |
|
723
|
|
|
* @method $this withPageIndex($value) |
|
724
|
|
|
* @method string getUsername() |
|
725
|
|
|
* @method $this withUsername($value) |
|
726
|
|
|
*/ |
|
727
|
|
|
class ListUsers extends Rpc |
|
728
|
|
|
{ |
|
729
|
|
|
} |
|
730
|
|
|
|
|
731
|
|
|
/** |
|
732
|
|
|
* @method string getDepartmentId() |
|
733
|
|
|
* @method $this withDepartmentId($value) |
|
734
|
|
|
* @method string getPackageName() |
|
735
|
|
|
* @method $this withPackageName($value) |
|
736
|
|
|
* @method string getName() |
|
737
|
|
|
* @method $this withName($value) |
|
738
|
|
|
* @method string getDisabled() |
|
739
|
|
|
* @method $this withDisabled($value) |
|
740
|
|
|
* @method string getId() |
|
741
|
|
|
* @method $this withId($value) |
|
742
|
|
|
*/ |
|
743
|
|
|
class UpdateApp extends Rpc |
|
744
|
|
|
{ |
|
745
|
|
|
} |
|
746
|
|
|
|
|
747
|
|
|
/** |
|
748
|
|
|
* @method string getDescription() |
|
749
|
|
|
* @method string getLabel() |
|
750
|
|
|
* @method string getName() |
|
751
|
|
|
* @method string getId() |
|
752
|
|
|
* @method $this withId($value) |
|
753
|
|
|
*/ |
|
754
|
|
|
class UpdateDepartment extends Rpc |
|
755
|
|
|
{ |
|
756
|
|
|
|
|
757
|
|
|
/** |
|
758
|
|
|
* @param string $value |
|
759
|
|
|
* |
|
760
|
|
|
* @return $this |
|
761
|
|
|
*/ |
|
762
|
|
|
public function withDescription($value) |
|
763
|
|
|
{ |
|
764
|
|
|
$this->data['Description'] = $value; |
|
765
|
|
|
$this->options['form_params']['Description'] = $value; |
|
766
|
|
|
|
|
767
|
|
|
return $this; |
|
768
|
|
|
} |
|
769
|
|
|
|
|
770
|
|
|
/** |
|
771
|
|
|
* @param string $value |
|
772
|
|
|
* |
|
773
|
|
|
* @return $this |
|
774
|
|
|
*/ |
|
775
|
|
|
public function withLabel($value) |
|
776
|
|
|
{ |
|
777
|
|
|
$this->data['Label'] = $value; |
|
778
|
|
|
$this->options['form_params']['Label'] = $value; |
|
779
|
|
|
|
|
780
|
|
|
return $this; |
|
781
|
|
|
} |
|
782
|
|
|
|
|
783
|
|
|
/** |
|
784
|
|
|
* @param string $value |
|
785
|
|
|
* |
|
786
|
|
|
* @return $this |
|
787
|
|
|
*/ |
|
788
|
|
|
public function withName($value) |
|
789
|
|
|
{ |
|
790
|
|
|
$this->data['Name'] = $value; |
|
791
|
|
|
$this->options['form_params']['Name'] = $value; |
|
792
|
|
|
|
|
793
|
|
|
return $this; |
|
794
|
|
|
} |
|
795
|
|
|
} |
|
796
|
|
|
|
|
797
|
|
|
/** |
|
798
|
|
|
* @method string getLiveId() |
|
799
|
|
|
* @method $this withLiveId($value) |
|
800
|
|
|
* @method string getUserId() |
|
801
|
|
|
* @method $this withUserId($value) |
|
802
|
|
|
* @method string getStatus() |
|
803
|
|
|
* @method $this withStatus($value) |
|
804
|
|
|
*/ |
|
805
|
|
|
class UpdateLive extends Rpc |
|
806
|
|
|
{ |
|
807
|
|
|
} |
|
808
|
|
|
|
|
809
|
|
|
/** |
|
810
|
|
|
* @method string getContent() |
|
811
|
|
|
* @method $this withContent($value) |
|
812
|
|
|
* @method string getName() |
|
813
|
|
|
* @method $this withName($value) |
|
814
|
|
|
* @method string getId() |
|
815
|
|
|
* @method $this withId($value) |
|
816
|
|
|
*/ |
|
817
|
|
|
class UpdateRule extends Rpc |
|
818
|
|
|
{ |
|
819
|
|
|
} |
|
820
|
|
|
|
|
821
|
|
|
/** |
|
822
|
|
|
* @method string getLiveRecordMaxClient() |
|
823
|
|
|
* @method $this withLiveRecordMaxClient($value) |
|
824
|
|
|
* @method string getLiveRecordVideoResolution() |
|
825
|
|
|
* @method $this withLiveRecordVideoResolution($value) |
|
826
|
|
|
* @method string getTaskItemQueueSize() |
|
827
|
|
|
* @method $this withTaskItemQueueSize($value) |
|
828
|
|
|
* @method string getLiveRecordLayout() |
|
829
|
|
|
* @method $this withLiveRecordLayout($value) |
|
830
|
|
|
* @method string getClientQueueSize() |
|
831
|
|
|
* @method $this withClientQueueSize($value) |
|
832
|
|
|
* @method string getLiveRecordTaskProfile() |
|
833
|
|
|
* @method $this withLiveRecordTaskProfile($value) |
|
834
|
|
|
* @method string getLiveRecordAll() |
|
835
|
|
|
* @method $this withLiveRecordAll($value) |
|
836
|
|
|
* @method string getLiveRecordEveryOne() |
|
837
|
|
|
* @method $this withLiveRecordEveryOne($value) |
|
838
|
|
|
*/ |
|
839
|
|
|
class UpdateServiceConfiguration extends Rpc |
|
840
|
|
|
{ |
|
841
|
|
|
} |
|
842
|
|
|
|
|
843
|
|
|
/** |
|
844
|
|
|
* @method string getMqInstanceId() |
|
845
|
|
|
* @method $this withMqInstanceId($value) |
|
846
|
|
|
* @method string getMqGroupId() |
|
847
|
|
|
* @method $this withMqGroupId($value) |
|
848
|
|
|
* @method array getMqEvent() |
|
849
|
|
|
* @method string getMqEndpoint() |
|
850
|
|
|
* @method $this withMqEndpoint($value) |
|
851
|
|
|
* @method string getMqTopic() |
|
852
|
|
|
* @method $this withMqTopic($value) |
|
853
|
|
|
* @method string getMqSubscribe() |
|
854
|
|
|
* @method $this withMqSubscribe($value) |
|
855
|
|
|
*/ |
|
856
|
|
|
class UpdateSlrConfiguration extends Rpc |
|
857
|
|
|
{ |
|
858
|
|
|
|
|
859
|
|
|
/** |
|
860
|
|
|
* @param array $mqEvent |
|
861
|
|
|
* |
|
862
|
|
|
* @return $this |
|
863
|
|
|
*/ |
|
864
|
|
|
public function withMqEvent(array $mqEvent) |
|
865
|
|
|
{ |
|
866
|
|
|
$this->data['MqEvent'] = $mqEvent; |
|
867
|
|
|
foreach ($mqEvent as $i => $iValue) { |
|
868
|
|
|
$this->options['query']['MqEvent.' . ($i + 1)] = $iValue; |
|
869
|
|
|
} |
|
870
|
|
|
|
|
871
|
|
|
return $this; |
|
872
|
|
|
} |
|
873
|
|
|
} |
|
874
|
|
|
|
|
875
|
|
|
/** |
|
876
|
|
|
* @method string getRole() |
|
877
|
|
|
* @method $this withRole($value) |
|
878
|
|
|
* @method string getPhoneNumber() |
|
879
|
|
|
* @method $this withPhoneNumber($value) |
|
880
|
|
|
* @method string getName() |
|
881
|
|
|
* @method $this withName($value) |
|
882
|
|
|
* @method string getId() |
|
883
|
|
|
* @method $this withId($value) |
|
884
|
|
|
* @method string getEmail() |
|
885
|
|
|
* @method $this withEmail($value) |
|
886
|
|
|
*/ |
|
887
|
|
|
class UpdateUser extends Rpc |
|
888
|
|
|
{ |
|
889
|
|
|
} |
|
890
|
|
|
|