GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Test Failed
Push — master ( e3688f...0b418e )
by
unknown
05:55
created

ReportDeviceCapacity::withAudioFormat()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 6
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
namespace AlibabaCloud\Vcs\V20200515;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AddDataSource addDataSource(array $options = [])
9
 * @method AddDevice addDevice(array $options = [])
10
 * @method AddMonitor addMonitor(array $options = [])
11
 * @method CreateCorp createCorp(array $options = [])
12
 * @method CreateVideoComposeTask createVideoComposeTask(array $options = [])
13
 * @method CreateVideoSummaryTask createVideoSummaryTask(array $options = [])
14
 * @method DeleteDataSource deleteDataSource(array $options = [])
15
 * @method DeleteDevice deleteDevice(array $options = [])
16
 * @method DeleteRecords deleteRecords(array $options = [])
17
 * @method DeleteVideoSummaryTask deleteVideoSummaryTask(array $options = [])
18
 * @method GetBodyOptions getBodyOptions(array $options = [])
19
 * @method GetDeviceConfig getDeviceConfig(array $options = [])
20
 * @method GetDeviceLiveUrl getDeviceLiveUrl(array $options = [])
21
 * @method GetDeviceVideoUrl getDeviceVideoUrl(array $options = [])
22
 * @method GetFaceOptions getFaceOptions(array $options = [])
23
 * @method GetInventory getInventory(array $options = [])
24
 * @method GetMonitorResult getMonitorResult(array $options = [])
25
 * @method GetPersonDetail getPersonDetail(array $options = [])
26
 * @method GetVideoComposeResult getVideoComposeResult(array $options = [])
27
 * @method GetVideoSummaryTaskResult getVideoSummaryTaskResult(array $options = [])
28
 * @method InvokeMotorModel invokeMotorModel(array $options = [])
29
 * @method ListBodyAlgorithmResults listBodyAlgorithmResults(array $options = [])
30
 * @method ListCorps listCorps(array $options = [])
31
 * @method ListDevices listDevices(array $options = [])
32
 * @method ListEventAlgorithmResults listEventAlgorithmResults(array $options = [])
33
 * @method ListFaceAlgorithmResults listFaceAlgorithmResults(array $options = [])
34
 * @method ListMetrics listMetrics(array $options = [])
35
 * @method ListMotorAlgorithmResults listMotorAlgorithmResults(array $options = [])
36
 * @method ListPersons listPersons(array $options = [])
37
 * @method RecognizeFaceQuality recognizeFaceQuality(array $options = [])
38
 * @method RecognizeImage recognizeImage(array $options = [])
39
 * @method RegisterDevice registerDevice(array $options = [])
40
 * @method ReportDeviceCapacity reportDeviceCapacity(array $options = [])
41
 * @method SaveVideoSummaryTaskVideo saveVideoSummaryTaskVideo(array $options = [])
42
 * @method SearchBody searchBody(array $options = [])
43
 * @method SearchFace searchFace(array $options = [])
44
 * @method StopMonitor stopMonitor(array $options = [])
45
 * @method SyncDeviceTime syncDeviceTime(array $options = [])
46
 * @method UpdateCorp updateCorp(array $options = [])
47
 * @method UpdateDevice updateDevice(array $options = [])
48
 * @method UpdateMonitor updateMonitor(array $options = [])
49
 * @method UploadFile uploadFile(array $options = [])
50
 */
51
class VcsApiResolver extends ApiResolver
52
{
53
}
54
55
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
56
{
57
    /** @var string */
58
    public $product = 'Vcs';
59
60
    /** @var string */
61
    public $version = '2020-05-15';
62
63
    /** @var string */
64
    public $method = 'POST';
65
66
    /** @var string */
67
    public $serviceCode = 'vcs';
68
}
69
70
/**
71
 * @method string getDataSourceType()
72
 * @method string getCorpId()
73
 * @method string getDescription()
74
 * @method string getDataSourceName()
75
 * @method string getFileRetentionDays()
76
 */
77
class AddDataSource extends Rpc
78
{
79
80
    /**
81
     * @param string $value
82
     *
83
     * @return $this
84
     */
85
    public function withDataSourceType($value)
86
    {
87
        $this->data['DataSourceType'] = $value;
88
        $this->options['form_params']['DataSourceType'] = $value;
89
90
        return $this;
91
    }
92
93
    /**
94
     * @param string $value
95
     *
96
     * @return $this
97
     */
98
    public function withCorpId($value)
99
    {
100
        $this->data['CorpId'] = $value;
101
        $this->options['form_params']['CorpId'] = $value;
102
103
        return $this;
104
    }
105
106
    /**
107
     * @param string $value
108
     *
109
     * @return $this
110
     */
111
    public function withDescription($value)
112
    {
113
        $this->data['Description'] = $value;
114
        $this->options['form_params']['Description'] = $value;
115
116
        return $this;
117
    }
118
119
    /**
120
     * @param string $value
121
     *
122
     * @return $this
123
     */
124
    public function withDataSourceName($value)
125
    {
126
        $this->data['DataSourceName'] = $value;
127
        $this->options['form_params']['DataSourceName'] = $value;
128
129
        return $this;
130
    }
131
132
    /**
133
     * @param string $value
134
     *
135
     * @return $this
136
     */
137
    public function withFileRetentionDays($value)
138
    {
139
        $this->data['FileRetentionDays'] = $value;
140
        $this->options['form_params']['FileRetentionDays'] = $value;
141
142
        return $this;
143
    }
144
}
145
146
/**
147
 * @method string getDeviceSite()
148
 * @method string getCorpId()
149
 * @method string getGbId()
150
 * @method string getBitRate()
151
 * @method string getDeviceDirection()
152
 * @method string getDeviceAddress()
153
 * @method string getDeviceType()
154
 * @method string getDeviceResolution()
155
 * @method string getVendor()
156
 * @method string getDeviceName()
157
 */
158
class AddDevice extends Rpc
159
{
160
161
    /**
162
     * @param string $value
163
     *
164
     * @return $this
165
     */
166
    public function withDeviceSite($value)
167
    {
168
        $this->data['DeviceSite'] = $value;
169
        $this->options['form_params']['DeviceSite'] = $value;
170
171
        return $this;
172
    }
173
174
    /**
175
     * @param string $value
176
     *
177
     * @return $this
178
     */
179
    public function withCorpId($value)
180
    {
181
        $this->data['CorpId'] = $value;
182
        $this->options['form_params']['CorpId'] = $value;
183
184
        return $this;
185
    }
186
187
    /**
188
     * @param string $value
189
     *
190
     * @return $this
191
     */
192
    public function withGbId($value)
193
    {
194
        $this->data['GbId'] = $value;
195
        $this->options['form_params']['GbId'] = $value;
196
197
        return $this;
198
    }
199
200
    /**
201
     * @param string $value
202
     *
203
     * @return $this
204
     */
205
    public function withBitRate($value)
206
    {
207
        $this->data['BitRate'] = $value;
208
        $this->options['form_params']['BitRate'] = $value;
209
210
        return $this;
211
    }
212
213
    /**
214
     * @param string $value
215
     *
216
     * @return $this
217
     */
218
    public function withDeviceDirection($value)
219
    {
220
        $this->data['DeviceDirection'] = $value;
221
        $this->options['form_params']['DeviceDirection'] = $value;
222
223
        return $this;
224
    }
225
226
    /**
227
     * @param string $value
228
     *
229
     * @return $this
230
     */
231
    public function withDeviceAddress($value)
232
    {
233
        $this->data['DeviceAddress'] = $value;
234
        $this->options['form_params']['DeviceAddress'] = $value;
235
236
        return $this;
237
    }
238
239
    /**
240
     * @param string $value
241
     *
242
     * @return $this
243
     */
244
    public function withDeviceType($value)
245
    {
246
        $this->data['DeviceType'] = $value;
247
        $this->options['form_params']['DeviceType'] = $value;
248
249
        return $this;
250
    }
251
252
    /**
253
     * @param string $value
254
     *
255
     * @return $this
256
     */
257
    public function withDeviceResolution($value)
258
    {
259
        $this->data['DeviceResolution'] = $value;
260
        $this->options['form_params']['DeviceResolution'] = $value;
261
262
        return $this;
263
    }
264
265
    /**
266
     * @param string $value
267
     *
268
     * @return $this
269
     */
270
    public function withVendor($value)
271
    {
272
        $this->data['Vendor'] = $value;
273
        $this->options['form_params']['Vendor'] = $value;
274
275
        return $this;
276
    }
277
278
    /**
279
     * @param string $value
280
     *
281
     * @return $this
282
     */
283
    public function withDeviceName($value)
284
    {
285
        $this->data['DeviceName'] = $value;
286
        $this->options['form_params']['DeviceName'] = $value;
287
288
        return $this;
289
    }
290
}
291
292
/**
293
 * @method string getMonitorType()
294
 * @method string getCorpId()
295
 * @method string getDescription()
296
 * @method string getBatchIndicator()
297
 * @method string getAlgorithmVendor()
298
 */
299
class AddMonitor extends Rpc
300
{
301
302
    /**
303
     * @param string $value
304
     *
305
     * @return $this
306
     */
307
    public function withMonitorType($value)
308
    {
309
        $this->data['MonitorType'] = $value;
310
        $this->options['form_params']['MonitorType'] = $value;
311
312
        return $this;
313
    }
314
315
    /**
316
     * @param string $value
317
     *
318
     * @return $this
319
     */
320
    public function withCorpId($value)
321
    {
322
        $this->data['CorpId'] = $value;
323
        $this->options['form_params']['CorpId'] = $value;
324
325
        return $this;
326
    }
327
328
    /**
329
     * @param string $value
330
     *
331
     * @return $this
332
     */
333
    public function withDescription($value)
334
    {
335
        $this->data['Description'] = $value;
336
        $this->options['form_params']['Description'] = $value;
337
338
        return $this;
339
    }
340
341
    /**
342
     * @param string $value
343
     *
344
     * @return $this
345
     */
346
    public function withBatchIndicator($value)
347
    {
348
        $this->data['BatchIndicator'] = $value;
349
        $this->options['form_params']['BatchIndicator'] = $value;
350
351
        return $this;
352
    }
353
354
    /**
355
     * @param string $value
356
     *
357
     * @return $this
358
     */
359
    public function withAlgorithmVendor($value)
360
    {
361
        $this->data['AlgorithmVendor'] = $value;
362
        $this->options['form_params']['AlgorithmVendor'] = $value;
363
364
        return $this;
365
    }
366
}
367
368
/**
369
 * @method string getAlgorithmType()
370
 * @method string getParentCorpId()
371
 * @method string getDescription()
372
 * @method string getAppName()
373
 * @method string getCorpName()
374
 */
375
class CreateCorp extends Rpc
376
{
377
378
    /**
379
     * @param string $value
380
     *
381
     * @return $this
382
     */
383
    public function withAlgorithmType($value)
384
    {
385
        $this->data['AlgorithmType'] = $value;
386
        $this->options['form_params']['AlgorithmType'] = $value;
387
388
        return $this;
389
    }
390
391
    /**
392
     * @param string $value
393
     *
394
     * @return $this
395
     */
396
    public function withParentCorpId($value)
397
    {
398
        $this->data['ParentCorpId'] = $value;
399
        $this->options['form_params']['ParentCorpId'] = $value;
400
401
        return $this;
402
    }
403
404
    /**
405
     * @param string $value
406
     *
407
     * @return $this
408
     */
409
    public function withDescription($value)
410
    {
411
        $this->data['Description'] = $value;
412
        $this->options['form_params']['Description'] = $value;
413
414
        return $this;
415
    }
416
417
    /**
418
     * @param string $value
419
     *
420
     * @return $this
421
     */
422
    public function withAppName($value)
423
    {
424
        $this->data['AppName'] = $value;
425
        $this->options['form_params']['AppName'] = $value;
426
427
        return $this;
428
    }
429
430
    /**
431
     * @param string $value
432
     *
433
     * @return $this
434
     */
435
    public function withCorpName($value)
436
    {
437
        $this->data['CorpName'] = $value;
438
        $this->options['form_params']['CorpName'] = $value;
439
440
        return $this;
441
    }
442
}
443
444
/**
445
 * @method string getCorpId()
446
 * @method string getDomainName()
447
 * @method string getVideoFrameRate()
448
 * @method string getImageFileNames()
449
 * @method string getAudioFileName()
450
 * @method string getBucketName()
451
 * @method string getImageParameters()
452
 * @method string getVideoFormat()
453
 */
454
class CreateVideoComposeTask extends Rpc
455
{
456
457
    /**
458
     * @param string $value
459
     *
460
     * @return $this
461
     */
462
    public function withCorpId($value)
463
    {
464
        $this->data['CorpId'] = $value;
465
        $this->options['form_params']['CorpId'] = $value;
466
467
        return $this;
468
    }
469
470
    /**
471
     * @param string $value
472
     *
473
     * @return $this
474
     */
475
    public function withDomainName($value)
476
    {
477
        $this->data['DomainName'] = $value;
478
        $this->options['form_params']['DomainName'] = $value;
479
480
        return $this;
481
    }
482
483
    /**
484
     * @param string $value
485
     *
486
     * @return $this
487
     */
488
    public function withVideoFrameRate($value)
489
    {
490
        $this->data['VideoFrameRate'] = $value;
491
        $this->options['form_params']['VideoFrameRate'] = $value;
492
493
        return $this;
494
    }
495
496
    /**
497
     * @param string $value
498
     *
499
     * @return $this
500
     */
501
    public function withImageFileNames($value)
502
    {
503
        $this->data['ImageFileNames'] = $value;
504
        $this->options['form_params']['ImageFileNames'] = $value;
505
506
        return $this;
507
    }
508
509
    /**
510
     * @param string $value
511
     *
512
     * @return $this
513
     */
514
    public function withAudioFileName($value)
515
    {
516
        $this->data['AudioFileName'] = $value;
517
        $this->options['form_params']['AudioFileName'] = $value;
518
519
        return $this;
520
    }
521
522
    /**
523
     * @param string $value
524
     *
525
     * @return $this
526
     */
527
    public function withBucketName($value)
528
    {
529
        $this->data['BucketName'] = $value;
530
        $this->options['form_params']['BucketName'] = $value;
531
532
        return $this;
533
    }
534
535
    /**
536
     * @param string $value
537
     *
538
     * @return $this
539
     */
540
    public function withImageParameters($value)
541
    {
542
        $this->data['ImageParameters'] = $value;
543
        $this->options['form_params']['ImageParameters'] = $value;
544
545
        return $this;
546
    }
547
548
    /**
549
     * @param string $value
550
     *
551
     * @return $this
552
     */
553
    public function withVideoFormat($value)
554
    {
555
        $this->data['VideoFormat'] = $value;
556
        $this->options['form_params']['VideoFormat'] = $value;
557
558
        return $this;
559
    }
560
}
561
562
/**
563
 * @method string getCorpId()
564
 * @method string getLiveVideoSummary()
565
 * @method string getStartTimeStamp()
566
 * @method string getDeviceId()
567
 * @method string getEndTimeStamp()
568
 * @method string getOptionList()
569
 */
570
class CreateVideoSummaryTask extends Rpc
571
{
572
573
    /**
574
     * @param string $value
575
     *
576
     * @return $this
577
     */
578
    public function withCorpId($value)
579
    {
580
        $this->data['CorpId'] = $value;
581
        $this->options['form_params']['CorpId'] = $value;
582
583
        return $this;
584
    }
585
586
    /**
587
     * @param string $value
588
     *
589
     * @return $this
590
     */
591
    public function withLiveVideoSummary($value)
592
    {
593
        $this->data['LiveVideoSummary'] = $value;
594
        $this->options['form_params']['LiveVideoSummary'] = $value;
595
596
        return $this;
597
    }
598
599
    /**
600
     * @param string $value
601
     *
602
     * @return $this
603
     */
604
    public function withStartTimeStamp($value)
605
    {
606
        $this->data['StartTimeStamp'] = $value;
607
        $this->options['form_params']['StartTimeStamp'] = $value;
608
609
        return $this;
610
    }
611
612
    /**
613
     * @param string $value
614
     *
615
     * @return $this
616
     */
617
    public function withDeviceId($value)
618
    {
619
        $this->data['DeviceId'] = $value;
620
        $this->options['form_params']['DeviceId'] = $value;
621
622
        return $this;
623
    }
624
625
    /**
626
     * @param string $value
627
     *
628
     * @return $this
629
     */
630
    public function withEndTimeStamp($value)
631
    {
632
        $this->data['EndTimeStamp'] = $value;
633
        $this->options['form_params']['EndTimeStamp'] = $value;
634
635
        return $this;
636
    }
637
638
    /**
639
     * @param string $value
640
     *
641
     * @return $this
642
     */
643
    public function withOptionList($value)
644
    {
645
        $this->data['OptionList'] = $value;
646
        $this->options['form_params']['OptionList'] = $value;
647
648
        return $this;
649
    }
650
}
651
652
/**
653
 * @method string getCorpId()
654
 * @method string getDataSourceId()
655
 */
656
class DeleteDataSource extends Rpc
657
{
658
659
    /**
660
     * @param string $value
661
     *
662
     * @return $this
663
     */
664
    public function withCorpId($value)
665
    {
666
        $this->data['CorpId'] = $value;
667
        $this->options['form_params']['CorpId'] = $value;
668
669
        return $this;
670
    }
671
672
    /**
673
     * @param string $value
674
     *
675
     * @return $this
676
     */
677
    public function withDataSourceId($value)
678
    {
679
        $this->data['DataSourceId'] = $value;
680
        $this->options['form_params']['DataSourceId'] = $value;
681
682
        return $this;
683
    }
684
}
685
686
/**
687
 * @method string getCorpId()
688
 * @method string getGbId()
689
 */
690
class DeleteDevice extends Rpc
691
{
692
693
    /**
694
     * @param string $value
695
     *
696
     * @return $this
697
     */
698
    public function withCorpId($value)
699
    {
700
        $this->data['CorpId'] = $value;
701
        $this->options['form_params']['CorpId'] = $value;
702
703
        return $this;
704
    }
705
706
    /**
707
     * @param string $value
708
     *
709
     * @return $this
710
     */
711
    public function withGbId($value)
712
    {
713
        $this->data['GbId'] = $value;
714
        $this->options['form_params']['GbId'] = $value;
715
716
        return $this;
717
    }
718
}
719
720
/**
721
 * @method string getAlgorithmType()
722
 * @method string getCorpId()
723
 * @method string getAttributeName()
724
 * @method string getOperatorType()
725
 * @method string getValue()
726
 */
727
class DeleteRecords extends Rpc
728
{
729
730
    /**
731
     * @param string $value
732
     *
733
     * @return $this
734
     */
735
    public function withAlgorithmType($value)
736
    {
737
        $this->data['AlgorithmType'] = $value;
738
        $this->options['form_params']['AlgorithmType'] = $value;
739
740
        return $this;
741
    }
742
743
    /**
744
     * @param string $value
745
     *
746
     * @return $this
747
     */
748
    public function withCorpId($value)
749
    {
750
        $this->data['CorpId'] = $value;
751
        $this->options['form_params']['CorpId'] = $value;
752
753
        return $this;
754
    }
755
756
    /**
757
     * @param string $value
758
     *
759
     * @return $this
760
     */
761
    public function withAttributeName($value)
762
    {
763
        $this->data['AttributeName'] = $value;
764
        $this->options['form_params']['AttributeName'] = $value;
765
766
        return $this;
767
    }
768
769
    /**
770
     * @param string $value
771
     *
772
     * @return $this
773
     */
774
    public function withOperatorType($value)
775
    {
776
        $this->data['OperatorType'] = $value;
777
        $this->options['form_params']['OperatorType'] = $value;
778
779
        return $this;
780
    }
781
782
    /**
783
     * @param string $value
784
     *
785
     * @return $this
786
     */
787
    public function withValue($value)
788
    {
789
        $this->data['Value'] = $value;
790
        $this->options['form_params']['Value'] = $value;
791
792
        return $this;
793
    }
794
}
795
796
/**
797
 * @method string getCorpId()
798
 * @method string getTaskId()
799
 */
800
class DeleteVideoSummaryTask extends Rpc
801
{
802
803
    /**
804
     * @param string $value
805
     *
806
     * @return $this
807
     */
808
    public function withCorpId($value)
809
    {
810
        $this->data['CorpId'] = $value;
811
        $this->options['form_params']['CorpId'] = $value;
812
813
        return $this;
814
    }
815
816
    /**
817
     * @param string $value
818
     *
819
     * @return $this
820
     */
821
    public function withTaskId($value)
822
    {
823
        $this->data['TaskId'] = $value;
824
        $this->options['form_params']['TaskId'] = $value;
825
826
        return $this;
827
    }
828
}
829
830
/**
831
 * @method string getCorpId()
832
 */
833
class GetBodyOptions extends Rpc
834
{
835
836
    /**
837
     * @param string $value
838
     *
839
     * @return $this
840
     */
841
    public function withCorpId($value)
842
    {
843
        $this->data['CorpId'] = $value;
844
        $this->options['form_params']['CorpId'] = $value;
845
846
        return $this;
847
    }
848
}
849
850
/**
851
 * @method string getDeviceTimeStamp()
852
 * @method string getDeviceSn()
853
 */
854
class GetDeviceConfig extends Rpc
855
{
856
857
    /**
858
     * @param string $value
859
     *
860
     * @return $this
861
     */
862
    public function withDeviceTimeStamp($value)
863
    {
864
        $this->data['DeviceTimeStamp'] = $value;
865
        $this->options['form_params']['DeviceTimeStamp'] = $value;
866
867
        return $this;
868
    }
869
870
    /**
871
     * @param string $value
872
     *
873
     * @return $this
874
     */
875
    public function withDeviceSn($value)
876
    {
877
        $this->data['DeviceSn'] = $value;
878
        $this->options['form_params']['DeviceSn'] = $value;
879
880
        return $this;
881
    }
882
}
883
884
/**
885
 * @method string getCorpId()
886
 * @method string getGbId()
887
 */
888
class GetDeviceLiveUrl extends Rpc
889
{
890
891
    /**
892
     * @param string $value
893
     *
894
     * @return $this
895
     */
896
    public function withCorpId($value)
897
    {
898
        $this->data['CorpId'] = $value;
899
        $this->options['form_params']['CorpId'] = $value;
900
901
        return $this;
902
    }
903
904
    /**
905
     * @param string $value
906
     *
907
     * @return $this
908
     */
909
    public function withGbId($value)
910
    {
911
        $this->data['GbId'] = $value;
912
        $this->options['form_params']['GbId'] = $value;
913
914
        return $this;
915
    }
916
}
917
918
/**
919
 * @method string getCorpId()
920
 * @method string getGbId()
921
 * @method string getEndTime()
922
 * @method string getStartTime()
923
 */
924
class GetDeviceVideoUrl extends Rpc
925
{
926
927
    /**
928
     * @param string $value
929
     *
930
     * @return $this
931
     */
932
    public function withCorpId($value)
933
    {
934
        $this->data['CorpId'] = $value;
935
        $this->options['form_params']['CorpId'] = $value;
936
937
        return $this;
938
    }
939
940
    /**
941
     * @param string $value
942
     *
943
     * @return $this
944
     */
945
    public function withGbId($value)
946
    {
947
        $this->data['GbId'] = $value;
948
        $this->options['form_params']['GbId'] = $value;
949
950
        return $this;
951
    }
952
953
    /**
954
     * @param string $value
955
     *
956
     * @return $this
957
     */
958
    public function withEndTime($value)
959
    {
960
        $this->data['EndTime'] = $value;
961
        $this->options['form_params']['EndTime'] = $value;
962
963
        return $this;
964
    }
965
966
    /**
967
     * @param string $value
968
     *
969
     * @return $this
970
     */
971
    public function withStartTime($value)
972
    {
973
        $this->data['StartTime'] = $value;
974
        $this->options['form_params']['StartTime'] = $value;
975
976
        return $this;
977
    }
978
}
979
980
/**
981
 * @method string getCorpId()
982
 */
983
class GetFaceOptions extends Rpc
984
{
985
986
    /**
987
     * @param string $value
988
     *
989
     * @return $this
990
     */
991
    public function withCorpId($value)
992
    {
993
        $this->data['CorpId'] = $value;
994
        $this->options['form_params']['CorpId'] = $value;
995
996
        return $this;
997
    }
998
}
999
1000
/**
1001
 * @method string getCommodityCode()
1002
 */
1003
class GetInventory extends Rpc
1004
{
1005
1006
    /**
1007
     * @param string $value
1008
     *
1009
     * @return $this
1010
     */
1011
    public function withCommodityCode($value)
1012
    {
1013
        $this->data['CommodityCode'] = $value;
1014
        $this->options['form_params']['CommodityCode'] = $value;
1015
1016
        return $this;
1017
    }
1018
}
1019
1020
/**
1021
 * @method string getCorpId()
1022
 * @method string getEndTime()
1023
 * @method string getStartTime()
1024
 * @method string getAlgorithmVendor()
1025
 * @method string getMinRecordId()
1026
 * @method string getTaskId()
1027
 */
1028
class GetMonitorResult extends Rpc
1029
{
1030
1031
    /**
1032
     * @param string $value
1033
     *
1034
     * @return $this
1035
     */
1036
    public function withCorpId($value)
1037
    {
1038
        $this->data['CorpId'] = $value;
1039
        $this->options['form_params']['CorpId'] = $value;
1040
1041
        return $this;
1042
    }
1043
1044
    /**
1045
     * @param string $value
1046
     *
1047
     * @return $this
1048
     */
1049
    public function withEndTime($value)
1050
    {
1051
        $this->data['EndTime'] = $value;
1052
        $this->options['form_params']['EndTime'] = $value;
1053
1054
        return $this;
1055
    }
1056
1057
    /**
1058
     * @param string $value
1059
     *
1060
     * @return $this
1061
     */
1062
    public function withStartTime($value)
1063
    {
1064
        $this->data['StartTime'] = $value;
1065
        $this->options['form_params']['StartTime'] = $value;
1066
1067
        return $this;
1068
    }
1069
1070
    /**
1071
     * @param string $value
1072
     *
1073
     * @return $this
1074
     */
1075
    public function withAlgorithmVendor($value)
1076
    {
1077
        $this->data['AlgorithmVendor'] = $value;
1078
        $this->options['form_params']['AlgorithmVendor'] = $value;
1079
1080
        return $this;
1081
    }
1082
1083
    /**
1084
     * @param string $value
1085
     *
1086
     * @return $this
1087
     */
1088
    public function withMinRecordId($value)
1089
    {
1090
        $this->data['MinRecordId'] = $value;
1091
        $this->options['form_params']['MinRecordId'] = $value;
1092
1093
        return $this;
1094
    }
1095
1096
    /**
1097
     * @param string $value
1098
     *
1099
     * @return $this
1100
     */
1101
    public function withTaskId($value)
1102
    {
1103
        $this->data['TaskId'] = $value;
1104
        $this->options['form_params']['TaskId'] = $value;
1105
1106
        return $this;
1107
    }
1108
}
1109
1110
/**
1111
 * @method string getAlgorithmType()
1112
 * @method string getCorpId()
1113
 * @method string getPersonID()
1114
 */
1115
class GetPersonDetail extends Rpc
1116
{
1117
1118
    /**
1119
     * @param string $value
1120
     *
1121
     * @return $this
1122
     */
1123
    public function withAlgorithmType($value)
1124
    {
1125
        $this->data['AlgorithmType'] = $value;
1126
        $this->options['form_params']['AlgorithmType'] = $value;
1127
1128
        return $this;
1129
    }
1130
1131
    /**
1132
     * @param string $value
1133
     *
1134
     * @return $this
1135
     */
1136
    public function withCorpId($value)
1137
    {
1138
        $this->data['CorpId'] = $value;
1139
        $this->options['form_params']['CorpId'] = $value;
1140
1141
        return $this;
1142
    }
1143
1144
    /**
1145
     * @param string $value
1146
     *
1147
     * @return $this
1148
     */
1149
    public function withPersonID($value)
1150
    {
1151
        $this->data['PersonID'] = $value;
1152
        $this->options['form_params']['PersonID'] = $value;
1153
1154
        return $this;
1155
    }
1156
}
1157
1158
/**
1159
 * @method string getCorpId()
1160
 * @method string getTaskRequestId()
1161
 */
1162
class GetVideoComposeResult extends Rpc
1163
{
1164
1165
    /**
1166
     * @param string $value
1167
     *
1168
     * @return $this
1169
     */
1170
    public function withCorpId($value)
1171
    {
1172
        $this->data['CorpId'] = $value;
1173
        $this->options['form_params']['CorpId'] = $value;
1174
1175
        return $this;
1176
    }
1177
1178
    /**
1179
     * @param string $value
1180
     *
1181
     * @return $this
1182
     */
1183
    public function withTaskRequestId($value)
1184
    {
1185
        $this->data['TaskRequestId'] = $value;
1186
        $this->options['form_params']['TaskRequestId'] = $value;
1187
1188
        return $this;
1189
    }
1190
}
1191
1192
/**
1193
 * @method string getCorpId()
1194
 * @method string getTaskId()
1195
 */
1196
class GetVideoSummaryTaskResult extends Rpc
1197
{
1198
1199
    /**
1200
     * @param string $value
1201
     *
1202
     * @return $this
1203
     */
1204
    public function withCorpId($value)
1205
    {
1206
        $this->data['CorpId'] = $value;
1207
        $this->options['form_params']['CorpId'] = $value;
1208
1209
        return $this;
1210
    }
1211
1212
    /**
1213
     * @param string $value
1214
     *
1215
     * @return $this
1216
     */
1217
    public function withTaskId($value)
1218
    {
1219
        $this->data['TaskId'] = $value;
1220
        $this->options['form_params']['TaskId'] = $value;
1221
1222
        return $this;
1223
    }
1224
}
1225
1226
/**
1227
 * @method string getPicPath()
1228
 * @method string getCorpId()
1229
 * @method string getPicId()
1230
 */
1231
class InvokeMotorModel extends Rpc
1232
{
1233
1234
    /**
1235
     * @param string $value
1236
     *
1237
     * @return $this
1238
     */
1239
    public function withPicPath($value)
1240
    {
1241
        $this->data['PicPath'] = $value;
1242
        $this->options['form_params']['PicPath'] = $value;
1243
1244
        return $this;
1245
    }
1246
1247
    /**
1248
     * @param string $value
1249
     *
1250
     * @return $this
1251
     */
1252
    public function withCorpId($value)
1253
    {
1254
        $this->data['CorpId'] = $value;
1255
        $this->options['form_params']['CorpId'] = $value;
1256
1257
        return $this;
1258
    }
1259
1260
    /**
1261
     * @param string $value
1262
     *
1263
     * @return $this
1264
     */
1265
    public function withPicId($value)
1266
    {
1267
        $this->data['PicId'] = $value;
1268
        $this->options['form_params']['PicId'] = $value;
1269
1270
        return $this;
1271
    }
1272
}
1273
1274
/**
1275
 * @method string getAlgorithmType()
1276
 * @method string getCorpId()
1277
 * @method string getCapStyle()
1278
 * @method string getEndTime()
1279
 * @method string getStartTime()
1280
 * @method string getPageNumber()
1281
 * @method string getDataSourceId()
1282
 * @method string getPageSize()
1283
 */
1284
class ListBodyAlgorithmResults extends Rpc
1285
{
1286
1287
    /**
1288
     * @param string $value
1289
     *
1290
     * @return $this
1291
     */
1292
    public function withAlgorithmType($value)
1293
    {
1294
        $this->data['AlgorithmType'] = $value;
1295
        $this->options['form_params']['AlgorithmType'] = $value;
1296
1297
        return $this;
1298
    }
1299
1300
    /**
1301
     * @param string $value
1302
     *
1303
     * @return $this
1304
     */
1305
    public function withCorpId($value)
1306
    {
1307
        $this->data['CorpId'] = $value;
1308
        $this->options['form_params']['CorpId'] = $value;
1309
1310
        return $this;
1311
    }
1312
1313
    /**
1314
     * @param string $value
1315
     *
1316
     * @return $this
1317
     */
1318
    public function withCapStyle($value)
1319
    {
1320
        $this->data['CapStyle'] = $value;
1321
        $this->options['form_params']['CapStyle'] = $value;
1322
1323
        return $this;
1324
    }
1325
1326
    /**
1327
     * @param string $value
1328
     *
1329
     * @return $this
1330
     */
1331
    public function withEndTime($value)
1332
    {
1333
        $this->data['EndTime'] = $value;
1334
        $this->options['form_params']['EndTime'] = $value;
1335
1336
        return $this;
1337
    }
1338
1339
    /**
1340
     * @param string $value
1341
     *
1342
     * @return $this
1343
     */
1344
    public function withStartTime($value)
1345
    {
1346
        $this->data['StartTime'] = $value;
1347
        $this->options['form_params']['StartTime'] = $value;
1348
1349
        return $this;
1350
    }
1351
1352
    /**
1353
     * @param string $value
1354
     *
1355
     * @return $this
1356
     */
1357
    public function withPageNumber($value)
1358
    {
1359
        $this->data['PageNumber'] = $value;
1360
        $this->options['form_params']['PageNumber'] = $value;
1361
1362
        return $this;
1363
    }
1364
1365
    /**
1366
     * @param string $value
1367
     *
1368
     * @return $this
1369
     */
1370
    public function withDataSourceId($value)
1371
    {
1372
        $this->data['DataSourceId'] = $value;
1373
        $this->options['form_params']['DataSourceId'] = $value;
1374
1375
        return $this;
1376
    }
1377
1378
    /**
1379
     * @param string $value
1380
     *
1381
     * @return $this
1382
     */
1383
    public function withPageSize($value)
1384
    {
1385
        $this->data['PageSize'] = $value;
1386
        $this->options['form_params']['PageSize'] = $value;
1387
1388
        return $this;
1389
    }
1390
}
1391
1392
/**
1393
 * @method string getPageNumber()
1394
 * @method string getPageSize()
1395
 */
1396
class ListCorps extends Rpc
1397
{
1398
1399
    /**
1400
     * @param string $value
1401
     *
1402
     * @return $this
1403
     */
1404
    public function withPageNumber($value)
1405
    {
1406
        $this->data['PageNumber'] = $value;
1407
        $this->options['form_params']['PageNumber'] = $value;
1408
1409
        return $this;
1410
    }
1411
1412
    /**
1413
     * @param string $value
1414
     *
1415
     * @return $this
1416
     */
1417
    public function withPageSize($value)
1418
    {
1419
        $this->data['PageSize'] = $value;
1420
        $this->options['form_params']['PageSize'] = $value;
1421
1422
        return $this;
1423
    }
1424
}
1425
1426
/**
1427
 * @method string getCorpId()
1428
 * @method string getGbId()
1429
 * @method string getPageNumber()
1430
 * @method string getPageSize()
1431
 * @method string getDeviceName()
1432
 */
1433
class ListDevices extends Rpc
1434
{
1435
1436
    /**
1437
     * @param string $value
1438
     *
1439
     * @return $this
1440
     */
1441
    public function withCorpId($value)
1442
    {
1443
        $this->data['CorpId'] = $value;
1444
        $this->options['form_params']['CorpId'] = $value;
1445
1446
        return $this;
1447
    }
1448
1449
    /**
1450
     * @param string $value
1451
     *
1452
     * @return $this
1453
     */
1454
    public function withGbId($value)
1455
    {
1456
        $this->data['GbId'] = $value;
1457
        $this->options['form_params']['GbId'] = $value;
1458
1459
        return $this;
1460
    }
1461
1462
    /**
1463
     * @param string $value
1464
     *
1465
     * @return $this
1466
     */
1467
    public function withPageNumber($value)
1468
    {
1469
        $this->data['PageNumber'] = $value;
1470
        $this->options['form_params']['PageNumber'] = $value;
1471
1472
        return $this;
1473
    }
1474
1475
    /**
1476
     * @param string $value
1477
     *
1478
     * @return $this
1479
     */
1480
    public function withPageSize($value)
1481
    {
1482
        $this->data['PageSize'] = $value;
1483
        $this->options['form_params']['PageSize'] = $value;
1484
1485
        return $this;
1486
    }
1487
1488
    /**
1489
     * @param string $value
1490
     *
1491
     * @return $this
1492
     */
1493
    public function withDeviceName($value)
1494
    {
1495
        $this->data['DeviceName'] = $value;
1496
        $this->options['form_params']['DeviceName'] = $value;
1497
1498
        return $this;
1499
    }
1500
}
1501
1502
/**
1503
 * @method string getCorpId()
1504
 * @method string getEndTime()
1505
 * @method string getStartTime()
1506
 * @method string getPageNumber()
1507
 * @method string getDataSourceId()
1508
 * @method string getPageSize()
1509
 * @method string getEventType()
1510
 */
1511
class ListEventAlgorithmResults extends Rpc
1512
{
1513
1514
    /**
1515
     * @param string $value
1516
     *
1517
     * @return $this
1518
     */
1519
    public function withCorpId($value)
1520
    {
1521
        $this->data['CorpId'] = $value;
1522
        $this->options['form_params']['CorpId'] = $value;
1523
1524
        return $this;
1525
    }
1526
1527
    /**
1528
     * @param string $value
1529
     *
1530
     * @return $this
1531
     */
1532
    public function withEndTime($value)
1533
    {
1534
        $this->data['EndTime'] = $value;
1535
        $this->options['form_params']['EndTime'] = $value;
1536
1537
        return $this;
1538
    }
1539
1540
    /**
1541
     * @param string $value
1542
     *
1543
     * @return $this
1544
     */
1545
    public function withStartTime($value)
1546
    {
1547
        $this->data['StartTime'] = $value;
1548
        $this->options['form_params']['StartTime'] = $value;
1549
1550
        return $this;
1551
    }
1552
1553
    /**
1554
     * @param string $value
1555
     *
1556
     * @return $this
1557
     */
1558
    public function withPageNumber($value)
1559
    {
1560
        $this->data['PageNumber'] = $value;
1561
        $this->options['form_params']['PageNumber'] = $value;
1562
1563
        return $this;
1564
    }
1565
1566
    /**
1567
     * @param string $value
1568
     *
1569
     * @return $this
1570
     */
1571
    public function withDataSourceId($value)
1572
    {
1573
        $this->data['DataSourceId'] = $value;
1574
        $this->options['form_params']['DataSourceId'] = $value;
1575
1576
        return $this;
1577
    }
1578
1579
    /**
1580
     * @param string $value
1581
     *
1582
     * @return $this
1583
     */
1584
    public function withPageSize($value)
1585
    {
1586
        $this->data['PageSize'] = $value;
1587
        $this->options['form_params']['PageSize'] = $value;
1588
1589
        return $this;
1590
    }
1591
1592
    /**
1593
     * @param string $value
1594
     *
1595
     * @return $this
1596
     */
1597
    public function withEventType($value)
1598
    {
1599
        $this->data['EventType'] = $value;
1600
        $this->options['form_params']['EventType'] = $value;
1601
1602
        return $this;
1603
    }
1604
}
1605
1606
/**
1607
 * @method string getAlgorithmType()
1608
 * @method string getCorpId()
1609
 * @method string getEndTime()
1610
 * @method string getStartTime()
1611
 * @method string getPageNumber()
1612
 * @method string getDataSourceId()
1613
 * @method string getPageSize()
1614
 */
1615
class ListFaceAlgorithmResults extends Rpc
1616
{
1617
1618
    /**
1619
     * @param string $value
1620
     *
1621
     * @return $this
1622
     */
1623
    public function withAlgorithmType($value)
1624
    {
1625
        $this->data['AlgorithmType'] = $value;
1626
        $this->options['form_params']['AlgorithmType'] = $value;
1627
1628
        return $this;
1629
    }
1630
1631
    /**
1632
     * @param string $value
1633
     *
1634
     * @return $this
1635
     */
1636
    public function withCorpId($value)
1637
    {
1638
        $this->data['CorpId'] = $value;
1639
        $this->options['form_params']['CorpId'] = $value;
1640
1641
        return $this;
1642
    }
1643
1644
    /**
1645
     * @param string $value
1646
     *
1647
     * @return $this
1648
     */
1649
    public function withEndTime($value)
1650
    {
1651
        $this->data['EndTime'] = $value;
1652
        $this->options['form_params']['EndTime'] = $value;
1653
1654
        return $this;
1655
    }
1656
1657
    /**
1658
     * @param string $value
1659
     *
1660
     * @return $this
1661
     */
1662
    public function withStartTime($value)
1663
    {
1664
        $this->data['StartTime'] = $value;
1665
        $this->options['form_params']['StartTime'] = $value;
1666
1667
        return $this;
1668
    }
1669
1670
    /**
1671
     * @param string $value
1672
     *
1673
     * @return $this
1674
     */
1675
    public function withPageNumber($value)
1676
    {
1677
        $this->data['PageNumber'] = $value;
1678
        $this->options['form_params']['PageNumber'] = $value;
1679
1680
        return $this;
1681
    }
1682
1683
    /**
1684
     * @param string $value
1685
     *
1686
     * @return $this
1687
     */
1688
    public function withDataSourceId($value)
1689
    {
1690
        $this->data['DataSourceId'] = $value;
1691
        $this->options['form_params']['DataSourceId'] = $value;
1692
1693
        return $this;
1694
    }
1695
1696
    /**
1697
     * @param string $value
1698
     *
1699
     * @return $this
1700
     */
1701
    public function withPageSize($value)
1702
    {
1703
        $this->data['PageSize'] = $value;
1704
        $this->options['form_params']['PageSize'] = $value;
1705
1706
        return $this;
1707
    }
1708
}
1709
1710
/**
1711
 * @method string getCorpId()
1712
 * @method string getEndTime()
1713
 * @method string getStartTime()
1714
 * @method string getPageNumber()
1715
 * @method string getTagCode()
1716
 * @method string getPageSize()
1717
 * @method string getAggregateType()
1718
 */
1719
class ListMetrics extends Rpc
1720
{
1721
1722
    /**
1723
     * @param string $value
1724
     *
1725
     * @return $this
1726
     */
1727
    public function withCorpId($value)
1728
    {
1729
        $this->data['CorpId'] = $value;
1730
        $this->options['form_params']['CorpId'] = $value;
1731
1732
        return $this;
1733
    }
1734
1735
    /**
1736
     * @param string $value
1737
     *
1738
     * @return $this
1739
     */
1740
    public function withEndTime($value)
1741
    {
1742
        $this->data['EndTime'] = $value;
1743
        $this->options['form_params']['EndTime'] = $value;
1744
1745
        return $this;
1746
    }
1747
1748
    /**
1749
     * @param string $value
1750
     *
1751
     * @return $this
1752
     */
1753
    public function withStartTime($value)
1754
    {
1755
        $this->data['StartTime'] = $value;
1756
        $this->options['form_params']['StartTime'] = $value;
1757
1758
        return $this;
1759
    }
1760
1761
    /**
1762
     * @param string $value
1763
     *
1764
     * @return $this
1765
     */
1766
    public function withPageNumber($value)
1767
    {
1768
        $this->data['PageNumber'] = $value;
1769
        $this->options['form_params']['PageNumber'] = $value;
1770
1771
        return $this;
1772
    }
1773
1774
    /**
1775
     * @param string $value
1776
     *
1777
     * @return $this
1778
     */
1779
    public function withTagCode($value)
1780
    {
1781
        $this->data['TagCode'] = $value;
1782
        $this->options['form_params']['TagCode'] = $value;
1783
1784
        return $this;
1785
    }
1786
1787
    /**
1788
     * @param string $value
1789
     *
1790
     * @return $this
1791
     */
1792
    public function withPageSize($value)
1793
    {
1794
        $this->data['PageSize'] = $value;
1795
        $this->options['form_params']['PageSize'] = $value;
1796
1797
        return $this;
1798
    }
1799
1800
    /**
1801
     * @param string $value
1802
     *
1803
     * @return $this
1804
     */
1805
    public function withAggregateType($value)
1806
    {
1807
        $this->data['AggregateType'] = $value;
1808
        $this->options['form_params']['AggregateType'] = $value;
1809
1810
        return $this;
1811
    }
1812
}
1813
1814
/**
1815
 * @method string getAlgorithmType()
1816
 * @method string getCorpId()
1817
 * @method string getEndTime()
1818
 * @method string getStartTime()
1819
 * @method string getPageNumber()
1820
 * @method string getPlateNumber()
1821
 * @method string getDataSourceId()
1822
 * @method string getPageSize()
1823
 */
1824
class ListMotorAlgorithmResults extends Rpc
1825
{
1826
1827
    /**
1828
     * @param string $value
1829
     *
1830
     * @return $this
1831
     */
1832
    public function withAlgorithmType($value)
1833
    {
1834
        $this->data['AlgorithmType'] = $value;
1835
        $this->options['form_params']['AlgorithmType'] = $value;
1836
1837
        return $this;
1838
    }
1839
1840
    /**
1841
     * @param string $value
1842
     *
1843
     * @return $this
1844
     */
1845
    public function withCorpId($value)
1846
    {
1847
        $this->data['CorpId'] = $value;
1848
        $this->options['form_params']['CorpId'] = $value;
1849
1850
        return $this;
1851
    }
1852
1853
    /**
1854
     * @param string $value
1855
     *
1856
     * @return $this
1857
     */
1858
    public function withEndTime($value)
1859
    {
1860
        $this->data['EndTime'] = $value;
1861
        $this->options['form_params']['EndTime'] = $value;
1862
1863
        return $this;
1864
    }
1865
1866
    /**
1867
     * @param string $value
1868
     *
1869
     * @return $this
1870
     */
1871
    public function withStartTime($value)
1872
    {
1873
        $this->data['StartTime'] = $value;
1874
        $this->options['form_params']['StartTime'] = $value;
1875
1876
        return $this;
1877
    }
1878
1879
    /**
1880
     * @param string $value
1881
     *
1882
     * @return $this
1883
     */
1884
    public function withPageNumber($value)
1885
    {
1886
        $this->data['PageNumber'] = $value;
1887
        $this->options['form_params']['PageNumber'] = $value;
1888
1889
        return $this;
1890
    }
1891
1892
    /**
1893
     * @param string $value
1894
     *
1895
     * @return $this
1896
     */
1897
    public function withPlateNumber($value)
1898
    {
1899
        $this->data['PlateNumber'] = $value;
1900
        $this->options['form_params']['PlateNumber'] = $value;
1901
1902
        return $this;
1903
    }
1904
1905
    /**
1906
     * @param string $value
1907
     *
1908
     * @return $this
1909
     */
1910
    public function withDataSourceId($value)
1911
    {
1912
        $this->data['DataSourceId'] = $value;
1913
        $this->options['form_params']['DataSourceId'] = $value;
1914
1915
        return $this;
1916
    }
1917
1918
    /**
1919
     * @param string $value
1920
     *
1921
     * @return $this
1922
     */
1923
    public function withPageSize($value)
1924
    {
1925
        $this->data['PageSize'] = $value;
1926
        $this->options['form_params']['PageSize'] = $value;
1927
1928
        return $this;
1929
    }
1930
}
1931
1932
/**
1933
 * @method string getAlgorithmType()
1934
 * @method string getCorpId()
1935
 * @method string getEndTime()
1936
 * @method string getStartTime()
1937
 * @method string getPageNo()
1938
 * @method string getPageSize()
1939
 */
1940
class ListPersons extends Rpc
1941
{
1942
1943
    /**
1944
     * @param string $value
1945
     *
1946
     * @return $this
1947
     */
1948
    public function withAlgorithmType($value)
1949
    {
1950
        $this->data['AlgorithmType'] = $value;
1951
        $this->options['form_params']['AlgorithmType'] = $value;
1952
1953
        return $this;
1954
    }
1955
1956
    /**
1957
     * @param string $value
1958
     *
1959
     * @return $this
1960
     */
1961
    public function withCorpId($value)
1962
    {
1963
        $this->data['CorpId'] = $value;
1964
        $this->options['form_params']['CorpId'] = $value;
1965
1966
        return $this;
1967
    }
1968
1969
    /**
1970
     * @param string $value
1971
     *
1972
     * @return $this
1973
     */
1974
    public function withEndTime($value)
1975
    {
1976
        $this->data['EndTime'] = $value;
1977
        $this->options['form_params']['EndTime'] = $value;
1978
1979
        return $this;
1980
    }
1981
1982
    /**
1983
     * @param string $value
1984
     *
1985
     * @return $this
1986
     */
1987
    public function withStartTime($value)
1988
    {
1989
        $this->data['StartTime'] = $value;
1990
        $this->options['form_params']['StartTime'] = $value;
1991
1992
        return $this;
1993
    }
1994
1995
    /**
1996
     * @param string $value
1997
     *
1998
     * @return $this
1999
     */
2000
    public function withPageNo($value)
2001
    {
2002
        $this->data['PageNo'] = $value;
2003
        $this->options['form_params']['PageNo'] = $value;
2004
2005
        return $this;
2006
    }
2007
2008
    /**
2009
     * @param string $value
2010
     *
2011
     * @return $this
2012
     */
2013
    public function withPageSize($value)
2014
    {
2015
        $this->data['PageSize'] = $value;
2016
        $this->options['form_params']['PageSize'] = $value;
2017
2018
        return $this;
2019
    }
2020
}
2021
2022
/**
2023
 * @method string getCorpId()
2024
 * @method string getPicUrl()
2025
 * @method string getPicContent()
2026
 * @method string getPicFormat()
2027
 */
2028
class RecognizeFaceQuality extends Rpc
2029
{
2030
2031
    /**
2032
     * @param string $value
2033
     *
2034
     * @return $this
2035
     */
2036
    public function withCorpId($value)
2037
    {
2038
        $this->data['CorpId'] = $value;
2039
        $this->options['form_params']['CorpId'] = $value;
2040
2041
        return $this;
2042
    }
2043
2044
    /**
2045
     * @param string $value
2046
     *
2047
     * @return $this
2048
     */
2049
    public function withPicUrl($value)
2050
    {
2051
        $this->data['PicUrl'] = $value;
2052
        $this->options['form_params']['PicUrl'] = $value;
2053
2054
        return $this;
2055
    }
2056
2057
    /**
2058
     * @param string $value
2059
     *
2060
     * @return $this
2061
     */
2062
    public function withPicContent($value)
2063
    {
2064
        $this->data['PicContent'] = $value;
2065
        $this->options['form_params']['PicContent'] = $value;
2066
2067
        return $this;
2068
    }
2069
2070
    /**
2071
     * @param string $value
2072
     *
2073
     * @return $this
2074
     */
2075
    public function withPicFormat($value)
2076
    {
2077
        $this->data['PicFormat'] = $value;
2078
        $this->options['form_params']['PicFormat'] = $value;
2079
2080
        return $this;
2081
    }
2082
}
2083
2084
/**
2085
 * @method string getCorpId()
2086
 * @method string getPicUrl()
2087
 * @method string getPicContent()
2088
 * @method string getPicFormat()
2089
 */
2090
class RecognizeImage extends Rpc
2091
{
2092
2093
    /**
2094
     * @param string $value
2095
     *
2096
     * @return $this
2097
     */
2098
    public function withCorpId($value)
2099
    {
2100
        $this->data['CorpId'] = $value;
2101
        $this->options['form_params']['CorpId'] = $value;
2102
2103
        return $this;
2104
    }
2105
2106
    /**
2107
     * @param string $value
2108
     *
2109
     * @return $this
2110
     */
2111
    public function withPicUrl($value)
2112
    {
2113
        $this->data['PicUrl'] = $value;
2114
        $this->options['form_params']['PicUrl'] = $value;
2115
2116
        return $this;
2117
    }
2118
2119
    /**
2120
     * @param string $value
2121
     *
2122
     * @return $this
2123
     */
2124
    public function withPicContent($value)
2125
    {
2126
        $this->data['PicContent'] = $value;
2127
        $this->options['form_params']['PicContent'] = $value;
2128
2129
        return $this;
2130
    }
2131
2132
    /**
2133
     * @param string $value
2134
     *
2135
     * @return $this
2136
     */
2137
    public function withPicFormat($value)
2138
    {
2139
        $this->data['PicFormat'] = $value;
2140
        $this->options['form_params']['PicFormat'] = $value;
2141
2142
        return $this;
2143
    }
2144
}
2145
2146
/**
2147
 * @method string getDeviceTimeStamp()
2148
 * @method string getDeviceId()
2149
 * @method string getServerId()
2150
 * @method string getDeviceSerialNumber()
2151
 */
2152
class RegisterDevice extends Rpc
2153
{
2154
2155
    /**
2156
     * @param string $value
2157
     *
2158
     * @return $this
2159
     */
2160
    public function withDeviceTimeStamp($value)
2161
    {
2162
        $this->data['DeviceTimeStamp'] = $value;
2163
        $this->options['form_params']['DeviceTimeStamp'] = $value;
2164
2165
        return $this;
2166
    }
2167
2168
    /**
2169
     * @param string $value
2170
     *
2171
     * @return $this
2172
     */
2173
    public function withDeviceId($value)
2174
    {
2175
        $this->data['DeviceId'] = $value;
2176
        $this->options['form_params']['DeviceId'] = $value;
2177
2178
        return $this;
2179
    }
2180
2181
    /**
2182
     * @param string $value
2183
     *
2184
     * @return $this
2185
     */
2186
    public function withServerId($value)
2187
    {
2188
        $this->data['ServerId'] = $value;
2189
        $this->options['form_params']['ServerId'] = $value;
2190
2191
        return $this;
2192
    }
2193
2194
    /**
2195
     * @param string $value
2196
     *
2197
     * @return $this
2198
     */
2199
    public function withDeviceSerialNumber($value)
2200
    {
2201
        $this->data['DeviceSerialNumber'] = $value;
2202
        $this->options['form_params']['DeviceSerialNumber'] = $value;
2203
2204
        return $this;
2205
    }
2206
}
2207
2208
/**
2209
 * @method array getStreamCapacities()
2210
 * @method string getLatitude()
2211
 * @method string getPresetNum()
2212
 * @method string getDeviceSn()
2213
 * @method string getAudioFormat()
2214
 * @method string getPTZCapacity()
2215
 * @method string getLongitude()
2216
 */
2217
class ReportDeviceCapacity extends Rpc
2218
{
2219
2220
    /**
2221
     * @param array $streamCapacities
2222
     *
2223
     * @return $this
2224
     */
2225
	public function withStreamCapacities(array $streamCapacities)
2226
	{
2227
	    $this->data['StreamCapacities'] = $streamCapacities;
2228
		foreach ($streamCapacities as $depth1 => $depth1Value) {
2229
			if(isset($depth1Value['BitrateRange'])){
2230
				$this->options['form_params']['StreamCapacities.' . ($depth1 + 1) . '.BitrateRange'] = $depth1Value['BitrateRange'];
2231
			}
2232
			if(isset($depth1Value['MaxStream'])){
2233
				$this->options['form_params']['StreamCapacities.' . ($depth1 + 1) . '.MaxStream'] = $depth1Value['MaxStream'];
2234
			}
2235
			if(isset($depth1Value['EncodeFormat'])){
2236
				$this->options['form_params']['StreamCapacities.' . ($depth1 + 1) . '.EncodeFormat'] = $depth1Value['EncodeFormat'];
2237
			}
2238
			if(isset($depth1Value['MaxFrameRate'])){
2239
				$this->options['form_params']['StreamCapacities.' . ($depth1 + 1) . '.MaxFrameRate'] = $depth1Value['MaxFrameRate'];
2240
			}
2241
			if(isset($depth1Value['Resolution'])){
2242
				$this->options['form_params']['StreamCapacities.' . ($depth1 + 1) . '.Resolution'] = $depth1Value['Resolution'];
2243
			}
2244
		}
2245
2246
		return $this;
2247
    }
2248
2249
    /**
2250
     * @param string $value
2251
     *
2252
     * @return $this
2253
     */
2254
    public function withLatitude($value)
2255
    {
2256
        $this->data['Latitude'] = $value;
2257
        $this->options['form_params']['Latitude'] = $value;
2258
2259
        return $this;
2260
    }
2261
2262
    /**
2263
     * @param string $value
2264
     *
2265
     * @return $this
2266
     */
2267
    public function withPresetNum($value)
2268
    {
2269
        $this->data['PresetNum'] = $value;
2270
        $this->options['form_params']['PresetNum'] = $value;
2271
2272
        return $this;
2273
    }
2274
2275
    /**
2276
     * @param string $value
2277
     *
2278
     * @return $this
2279
     */
2280
    public function withDeviceSn($value)
2281
    {
2282
        $this->data['DeviceSn'] = $value;
2283
        $this->options['form_params']['DeviceSn'] = $value;
2284
2285
        return $this;
2286
    }
2287
2288
    /**
2289
     * @param string $value
2290
     *
2291
     * @return $this
2292
     */
2293
    public function withAudioFormat($value)
2294
    {
2295
        $this->data['AudioFormat'] = $value;
2296
        $this->options['form_params']['AudioFormat'] = $value;
2297
2298
        return $this;
2299
    }
2300
2301
    /**
2302
     * @param string $value
2303
     *
2304
     * @return $this
2305
     */
2306
    public function withPTZCapacity($value)
2307
    {
2308
        $this->data['PTZCapacity'] = $value;
2309
        $this->options['form_params']['PTZCapacity'] = $value;
2310
2311
        return $this;
2312
    }
2313
2314
    /**
2315
     * @param string $value
2316
     *
2317
     * @return $this
2318
     */
2319
    public function withLongitude($value)
2320
    {
2321
        $this->data['Longitude'] = $value;
2322
        $this->options['form_params']['Longitude'] = $value;
2323
2324
        return $this;
2325
    }
2326
}
2327
2328
/**
2329
 * @method string getCorpId()
2330
 * @method string getSaveVideo()
2331
 * @method string getTaskId()
2332
 */
2333
class SaveVideoSummaryTaskVideo extends Rpc
2334
{
2335
2336
    /**
2337
     * @param string $value
2338
     *
2339
     * @return $this
2340
     */
2341
    public function withCorpId($value)
2342
    {
2343
        $this->data['CorpId'] = $value;
2344
        $this->options['form_params']['CorpId'] = $value;
2345
2346
        return $this;
2347
    }
2348
2349
    /**
2350
     * @param string $value
2351
     *
2352
     * @return $this
2353
     */
2354
    public function withSaveVideo($value)
2355
    {
2356
        $this->data['SaveVideo'] = $value;
2357
        $this->options['form_params']['SaveVideo'] = $value;
2358
2359
        return $this;
2360
    }
2361
2362
    /**
2363
     * @param string $value
2364
     *
2365
     * @return $this
2366
     */
2367
    public function withTaskId($value)
2368
    {
2369
        $this->data['TaskId'] = $value;
2370
        $this->options['form_params']['TaskId'] = $value;
2371
2372
        return $this;
2373
    }
2374
}
2375
2376
/**
2377
 * @method string getCorpId()
2378
 * @method string getGbId()
2379
 * @method string getStartTimeStamp()
2380
 * @method string getEndTimeStamp()
2381
 * @method string getPageNo()
2382
 * @method string getPageSize()
2383
 * @method string getOptionList()
2384
 */
2385
class SearchBody extends Rpc
2386
{
2387
2388
    /**
2389
     * @param string $value
2390
     *
2391
     * @return $this
2392
     */
2393
    public function withCorpId($value)
2394
    {
2395
        $this->data['CorpId'] = $value;
2396
        $this->options['form_params']['CorpId'] = $value;
2397
2398
        return $this;
2399
    }
2400
2401
    /**
2402
     * @param string $value
2403
     *
2404
     * @return $this
2405
     */
2406
    public function withGbId($value)
2407
    {
2408
        $this->data['GbId'] = $value;
2409
        $this->options['form_params']['GbId'] = $value;
2410
2411
        return $this;
2412
    }
2413
2414
    /**
2415
     * @param string $value
2416
     *
2417
     * @return $this
2418
     */
2419
    public function withStartTimeStamp($value)
2420
    {
2421
        $this->data['StartTimeStamp'] = $value;
2422
        $this->options['form_params']['StartTimeStamp'] = $value;
2423
2424
        return $this;
2425
    }
2426
2427
    /**
2428
     * @param string $value
2429
     *
2430
     * @return $this
2431
     */
2432
    public function withEndTimeStamp($value)
2433
    {
2434
        $this->data['EndTimeStamp'] = $value;
2435
        $this->options['form_params']['EndTimeStamp'] = $value;
2436
2437
        return $this;
2438
    }
2439
2440
    /**
2441
     * @param string $value
2442
     *
2443
     * @return $this
2444
     */
2445
    public function withPageNo($value)
2446
    {
2447
        $this->data['PageNo'] = $value;
2448
        $this->options['form_params']['PageNo'] = $value;
2449
2450
        return $this;
2451
    }
2452
2453
    /**
2454
     * @param string $value
2455
     *
2456
     * @return $this
2457
     */
2458
    public function withPageSize($value)
2459
    {
2460
        $this->data['PageSize'] = $value;
2461
        $this->options['form_params']['PageSize'] = $value;
2462
2463
        return $this;
2464
    }
2465
2466
    /**
2467
     * @param string $value
2468
     *
2469
     * @return $this
2470
     */
2471
    public function withOptionList($value)
2472
    {
2473
        $this->data['OptionList'] = $value;
2474
        $this->options['form_params']['OptionList'] = $value;
2475
2476
        return $this;
2477
    }
2478
}
2479
2480
/**
2481
 * @method string getCorpId()
2482
 * @method string getGbId()
2483
 * @method string getStartTimeStamp()
2484
 * @method string getEndTimeStamp()
2485
 * @method string getPageNo()
2486
 * @method string getPageSize()
2487
 * @method string getOptionList()
2488
 */
2489
class SearchFace extends Rpc
2490
{
2491
2492
    /**
2493
     * @param string $value
2494
     *
2495
     * @return $this
2496
     */
2497
    public function withCorpId($value)
2498
    {
2499
        $this->data['CorpId'] = $value;
2500
        $this->options['form_params']['CorpId'] = $value;
2501
2502
        return $this;
2503
    }
2504
2505
    /**
2506
     * @param string $value
2507
     *
2508
     * @return $this
2509
     */
2510
    public function withGbId($value)
2511
    {
2512
        $this->data['GbId'] = $value;
2513
        $this->options['form_params']['GbId'] = $value;
2514
2515
        return $this;
2516
    }
2517
2518
    /**
2519
     * @param string $value
2520
     *
2521
     * @return $this
2522
     */
2523
    public function withStartTimeStamp($value)
2524
    {
2525
        $this->data['StartTimeStamp'] = $value;
2526
        $this->options['form_params']['StartTimeStamp'] = $value;
2527
2528
        return $this;
2529
    }
2530
2531
    /**
2532
     * @param string $value
2533
     *
2534
     * @return $this
2535
     */
2536
    public function withEndTimeStamp($value)
2537
    {
2538
        $this->data['EndTimeStamp'] = $value;
2539
        $this->options['form_params']['EndTimeStamp'] = $value;
2540
2541
        return $this;
2542
    }
2543
2544
    /**
2545
     * @param string $value
2546
     *
2547
     * @return $this
2548
     */
2549
    public function withPageNo($value)
2550
    {
2551
        $this->data['PageNo'] = $value;
2552
        $this->options['form_params']['PageNo'] = $value;
2553
2554
        return $this;
2555
    }
2556
2557
    /**
2558
     * @param string $value
2559
     *
2560
     * @return $this
2561
     */
2562
    public function withPageSize($value)
2563
    {
2564
        $this->data['PageSize'] = $value;
2565
        $this->options['form_params']['PageSize'] = $value;
2566
2567
        return $this;
2568
    }
2569
2570
    /**
2571
     * @param string $value
2572
     *
2573
     * @return $this
2574
     */
2575
    public function withOptionList($value)
2576
    {
2577
        $this->data['OptionList'] = $value;
2578
        $this->options['form_params']['OptionList'] = $value;
2579
2580
        return $this;
2581
    }
2582
}
2583
2584
/**
2585
 * @method string getAlgorithmVendor()
2586
 * @method string getTaskId()
2587
 */
2588
class StopMonitor extends Rpc
2589
{
2590
2591
    /**
2592
     * @param string $value
2593
     *
2594
     * @return $this
2595
     */
2596
    public function withAlgorithmVendor($value)
2597
    {
2598
        $this->data['AlgorithmVendor'] = $value;
2599
        $this->options['form_params']['AlgorithmVendor'] = $value;
2600
2601
        return $this;
2602
    }
2603
2604
    /**
2605
     * @param string $value
2606
     *
2607
     * @return $this
2608
     */
2609
    public function withTaskId($value)
2610
    {
2611
        $this->data['TaskId'] = $value;
2612
        $this->options['form_params']['TaskId'] = $value;
2613
2614
        return $this;
2615
    }
2616
}
2617
2618
/**
2619
 * @method string getDeviceTimeStamp()
2620
 * @method string getDeviceSn()
2621
 */
2622
class SyncDeviceTime extends Rpc
2623
{
2624
2625
    /**
2626
     * @param string $value
2627
     *
2628
     * @return $this
2629
     */
2630
    public function withDeviceTimeStamp($value)
2631
    {
2632
        $this->data['DeviceTimeStamp'] = $value;
2633
        $this->options['form_params']['DeviceTimeStamp'] = $value;
2634
2635
        return $this;
2636
    }
2637
2638
    /**
2639
     * @param string $value
2640
     *
2641
     * @return $this
2642
     */
2643
    public function withDeviceSn($value)
2644
    {
2645
        $this->data['DeviceSn'] = $value;
2646
        $this->options['form_params']['DeviceSn'] = $value;
2647
2648
        return $this;
2649
    }
2650
}
2651
2652
/**
2653
 * @method string getCorpId()
2654
 * @method string getParentCorpId()
2655
 * @method string getDescription()
2656
 * @method string getAppName()
2657
 * @method string getCorpName()
2658
 */
2659
class UpdateCorp extends Rpc
2660
{
2661
2662
    /**
2663
     * @param string $value
2664
     *
2665
     * @return $this
2666
     */
2667
    public function withCorpId($value)
2668
    {
2669
        $this->data['CorpId'] = $value;
2670
        $this->options['form_params']['CorpId'] = $value;
2671
2672
        return $this;
2673
    }
2674
2675
    /**
2676
     * @param string $value
2677
     *
2678
     * @return $this
2679
     */
2680
    public function withParentCorpId($value)
2681
    {
2682
        $this->data['ParentCorpId'] = $value;
2683
        $this->options['form_params']['ParentCorpId'] = $value;
2684
2685
        return $this;
2686
    }
2687
2688
    /**
2689
     * @param string $value
2690
     *
2691
     * @return $this
2692
     */
2693
    public function withDescription($value)
2694
    {
2695
        $this->data['Description'] = $value;
2696
        $this->options['form_params']['Description'] = $value;
2697
2698
        return $this;
2699
    }
2700
2701
    /**
2702
     * @param string $value
2703
     *
2704
     * @return $this
2705
     */
2706
    public function withAppName($value)
2707
    {
2708
        $this->data['AppName'] = $value;
2709
        $this->options['form_params']['AppName'] = $value;
2710
2711
        return $this;
2712
    }
2713
2714
    /**
2715
     * @param string $value
2716
     *
2717
     * @return $this
2718
     */
2719
    public function withCorpName($value)
2720
    {
2721
        $this->data['CorpName'] = $value;
2722
        $this->options['form_params']['CorpName'] = $value;
2723
2724
        return $this;
2725
    }
2726
}
2727
2728
/**
2729
 * @method string getDeviceSite()
2730
 * @method string getCorpId()
2731
 * @method string getGbId()
2732
 * @method string getBitRate()
2733
 * @method string getDeviceDirection()
2734
 * @method string getDeviceAddress()
2735
 * @method string getDeviceType()
2736
 * @method string getDeviceResolution()
2737
 * @method string getVendor()
2738
 * @method string getDeviceName()
2739
 */
2740
class UpdateDevice extends Rpc
2741
{
2742
2743
    /**
2744
     * @param string $value
2745
     *
2746
     * @return $this
2747
     */
2748
    public function withDeviceSite($value)
2749
    {
2750
        $this->data['DeviceSite'] = $value;
2751
        $this->options['form_params']['DeviceSite'] = $value;
2752
2753
        return $this;
2754
    }
2755
2756
    /**
2757
     * @param string $value
2758
     *
2759
     * @return $this
2760
     */
2761
    public function withCorpId($value)
2762
    {
2763
        $this->data['CorpId'] = $value;
2764
        $this->options['form_params']['CorpId'] = $value;
2765
2766
        return $this;
2767
    }
2768
2769
    /**
2770
     * @param string $value
2771
     *
2772
     * @return $this
2773
     */
2774
    public function withGbId($value)
2775
    {
2776
        $this->data['GbId'] = $value;
2777
        $this->options['form_params']['GbId'] = $value;
2778
2779
        return $this;
2780
    }
2781
2782
    /**
2783
     * @param string $value
2784
     *
2785
     * @return $this
2786
     */
2787
    public function withBitRate($value)
2788
    {
2789
        $this->data['BitRate'] = $value;
2790
        $this->options['form_params']['BitRate'] = $value;
2791
2792
        return $this;
2793
    }
2794
2795
    /**
2796
     * @param string $value
2797
     *
2798
     * @return $this
2799
     */
2800
    public function withDeviceDirection($value)
2801
    {
2802
        $this->data['DeviceDirection'] = $value;
2803
        $this->options['form_params']['DeviceDirection'] = $value;
2804
2805
        return $this;
2806
    }
2807
2808
    /**
2809
     * @param string $value
2810
     *
2811
     * @return $this
2812
     */
2813
    public function withDeviceAddress($value)
2814
    {
2815
        $this->data['DeviceAddress'] = $value;
2816
        $this->options['form_params']['DeviceAddress'] = $value;
2817
2818
        return $this;
2819
    }
2820
2821
    /**
2822
     * @param string $value
2823
     *
2824
     * @return $this
2825
     */
2826
    public function withDeviceType($value)
2827
    {
2828
        $this->data['DeviceType'] = $value;
2829
        $this->options['form_params']['DeviceType'] = $value;
2830
2831
        return $this;
2832
    }
2833
2834
    /**
2835
     * @param string $value
2836
     *
2837
     * @return $this
2838
     */
2839
    public function withDeviceResolution($value)
2840
    {
2841
        $this->data['DeviceResolution'] = $value;
2842
        $this->options['form_params']['DeviceResolution'] = $value;
2843
2844
        return $this;
2845
    }
2846
2847
    /**
2848
     * @param string $value
2849
     *
2850
     * @return $this
2851
     */
2852
    public function withVendor($value)
2853
    {
2854
        $this->data['Vendor'] = $value;
2855
        $this->options['form_params']['Vendor'] = $value;
2856
2857
        return $this;
2858
    }
2859
2860
    /**
2861
     * @param string $value
2862
     *
2863
     * @return $this
2864
     */
2865
    public function withDeviceName($value)
2866
    {
2867
        $this->data['DeviceName'] = $value;
2868
        $this->options['form_params']['DeviceName'] = $value;
2869
2870
        return $this;
2871
    }
2872
}
2873
2874
/**
2875
 * @method string getCorpId()
2876
 * @method string getDescription()
2877
 * @method string getRuleName()
2878
 * @method string getPicOperateType()
2879
 * @method string getAttributeName()
2880
 * @method string getAttributeOperateType()
2881
 * @method string getRuleExpression()
2882
 * @method string getTaskId()
2883
 * @method string getDeviceOperateType()
2884
 * @method string getPicList()
2885
 * @method string getAttributeValueList()
2886
 * @method string getDeviceList()
2887
 * @method string getAlgorithmVendor()
2888
 */
2889
class UpdateMonitor extends Rpc
2890
{
2891
2892
    /**
2893
     * @param string $value
2894
     *
2895
     * @return $this
2896
     */
2897
    public function withCorpId($value)
2898
    {
2899
        $this->data['CorpId'] = $value;
2900
        $this->options['form_params']['CorpId'] = $value;
2901
2902
        return $this;
2903
    }
2904
2905
    /**
2906
     * @param string $value
2907
     *
2908
     * @return $this
2909
     */
2910
    public function withDescription($value)
2911
    {
2912
        $this->data['Description'] = $value;
2913
        $this->options['form_params']['Description'] = $value;
2914
2915
        return $this;
2916
    }
2917
2918
    /**
2919
     * @param string $value
2920
     *
2921
     * @return $this
2922
     */
2923
    public function withRuleName($value)
2924
    {
2925
        $this->data['RuleName'] = $value;
2926
        $this->options['form_params']['RuleName'] = $value;
2927
2928
        return $this;
2929
    }
2930
2931
    /**
2932
     * @param string $value
2933
     *
2934
     * @return $this
2935
     */
2936
    public function withPicOperateType($value)
2937
    {
2938
        $this->data['PicOperateType'] = $value;
2939
        $this->options['form_params']['PicOperateType'] = $value;
2940
2941
        return $this;
2942
    }
2943
2944
    /**
2945
     * @param string $value
2946
     *
2947
     * @return $this
2948
     */
2949
    public function withAttributeName($value)
2950
    {
2951
        $this->data['AttributeName'] = $value;
2952
        $this->options['form_params']['AttributeName'] = $value;
2953
2954
        return $this;
2955
    }
2956
2957
    /**
2958
     * @param string $value
2959
     *
2960
     * @return $this
2961
     */
2962
    public function withAttributeOperateType($value)
2963
    {
2964
        $this->data['AttributeOperateType'] = $value;
2965
        $this->options['form_params']['AttributeOperateType'] = $value;
2966
2967
        return $this;
2968
    }
2969
2970
    /**
2971
     * @param string $value
2972
     *
2973
     * @return $this
2974
     */
2975
    public function withRuleExpression($value)
2976
    {
2977
        $this->data['RuleExpression'] = $value;
2978
        $this->options['form_params']['RuleExpression'] = $value;
2979
2980
        return $this;
2981
    }
2982
2983
    /**
2984
     * @param string $value
2985
     *
2986
     * @return $this
2987
     */
2988
    public function withTaskId($value)
2989
    {
2990
        $this->data['TaskId'] = $value;
2991
        $this->options['form_params']['TaskId'] = $value;
2992
2993
        return $this;
2994
    }
2995
2996
    /**
2997
     * @param string $value
2998
     *
2999
     * @return $this
3000
     */
3001
    public function withDeviceOperateType($value)
3002
    {
3003
        $this->data['DeviceOperateType'] = $value;
3004
        $this->options['form_params']['DeviceOperateType'] = $value;
3005
3006
        return $this;
3007
    }
3008
3009
    /**
3010
     * @param string $value
3011
     *
3012
     * @return $this
3013
     */
3014
    public function withPicList($value)
3015
    {
3016
        $this->data['PicList'] = $value;
3017
        $this->options['form_params']['PicList'] = $value;
3018
3019
        return $this;
3020
    }
3021
3022
    /**
3023
     * @param string $value
3024
     *
3025
     * @return $this
3026
     */
3027
    public function withAttributeValueList($value)
3028
    {
3029
        $this->data['AttributeValueList'] = $value;
3030
        $this->options['form_params']['AttributeValueList'] = $value;
3031
3032
        return $this;
3033
    }
3034
3035
    /**
3036
     * @param string $value
3037
     *
3038
     * @return $this
3039
     */
3040
    public function withDeviceList($value)
3041
    {
3042
        $this->data['DeviceList'] = $value;
3043
        $this->options['form_params']['DeviceList'] = $value;
3044
3045
        return $this;
3046
    }
3047
3048
    /**
3049
     * @param string $value
3050
     *
3051
     * @return $this
3052
     */
3053
    public function withAlgorithmVendor($value)
3054
    {
3055
        $this->data['AlgorithmVendor'] = $value;
3056
        $this->options['form_params']['AlgorithmVendor'] = $value;
3057
3058
        return $this;
3059
    }
3060
}
3061
3062
/**
3063
 * @method string getFileType()
3064
 * @method string getCorpId()
3065
 * @method string getFileAliasName()
3066
 * @method string getFileName()
3067
 * @method string getFilePath()
3068
 * @method string getFileContent()
3069
 * @method string getDataSourceId()
3070
 * @method string getMD5()
3071
 */
3072
class UploadFile extends Rpc
3073
{
3074
3075
    /**
3076
     * @param string $value
3077
     *
3078
     * @return $this
3079
     */
3080
    public function withFileType($value)
3081
    {
3082
        $this->data['FileType'] = $value;
3083
        $this->options['form_params']['FileType'] = $value;
3084
3085
        return $this;
3086
    }
3087
3088
    /**
3089
     * @param string $value
3090
     *
3091
     * @return $this
3092
     */
3093
    public function withCorpId($value)
3094
    {
3095
        $this->data['CorpId'] = $value;
3096
        $this->options['form_params']['CorpId'] = $value;
3097
3098
        return $this;
3099
    }
3100
3101
    /**
3102
     * @param string $value
3103
     *
3104
     * @return $this
3105
     */
3106
    public function withFileAliasName($value)
3107
    {
3108
        $this->data['FileAliasName'] = $value;
3109
        $this->options['form_params']['FileAliasName'] = $value;
3110
3111
        return $this;
3112
    }
3113
3114
    /**
3115
     * @param string $value
3116
     *
3117
     * @return $this
3118
     */
3119
    public function withFileName($value)
3120
    {
3121
        $this->data['FileName'] = $value;
3122
        $this->options['form_params']['FileName'] = $value;
3123
3124
        return $this;
3125
    }
3126
3127
    /**
3128
     * @param string $value
3129
     *
3130
     * @return $this
3131
     */
3132
    public function withFilePath($value)
3133
    {
3134
        $this->data['FilePath'] = $value;
3135
        $this->options['form_params']['FilePath'] = $value;
3136
3137
        return $this;
3138
    }
3139
3140
    /**
3141
     * @param string $value
3142
     *
3143
     * @return $this
3144
     */
3145
    public function withFileContent($value)
3146
    {
3147
        $this->data['FileContent'] = $value;
3148
        $this->options['form_params']['FileContent'] = $value;
3149
3150
        return $this;
3151
    }
3152
3153
    /**
3154
     * @param string $value
3155
     *
3156
     * @return $this
3157
     */
3158
    public function withDataSourceId($value)
3159
    {
3160
        $this->data['DataSourceId'] = $value;
3161
        $this->options['form_params']['DataSourceId'] = $value;
3162
3163
        return $this;
3164
    }
3165
3166
    /**
3167
     * @param string $value
3168
     *
3169
     * @return $this
3170
     */
3171
    public function withMD5($value)
3172
    {
3173
        $this->data['MD5'] = $value;
3174
        $this->options['form_params']['MD5'] = $value;
3175
3176
        return $this;
3177
    }
3178
}
3179