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 ( 4d6362...804e30 )
by
unknown
04:05
created

UpdateMonitor::withDeviceList()   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 AddDevice addDevice(array $options = [])
9
 * @method AddMonitor addMonitor(array $options = [])
10
 * @method CreateCorp createCorp(array $options = [])
11
 * @method DeleteDevice deleteDevice(array $options = [])
12
 * @method GetBodyOptions getBodyOptions(array $options = [])
13
 * @method GetDeviceLiveUrl getDeviceLiveUrl(array $options = [])
14
 * @method GetDeviceVideoUrl getDeviceVideoUrl(array $options = [])
15
 * @method GetFaceOptions getFaceOptions(array $options = [])
16
 * @method GetInventory getInventory(array $options = [])
17
 * @method GetMonitorResult getMonitorResult(array $options = [])
18
 * @method ListCorps listCorps(array $options = [])
19
 * @method ListDevices listDevices(array $options = [])
20
 * @method RecognizeImage recognizeImage(array $options = [])
21
 * @method SearchBody searchBody(array $options = [])
22
 * @method SearchFace searchFace(array $options = [])
23
 * @method StopMonitor stopMonitor(array $options = [])
24
 * @method UpdateCorp updateCorp(array $options = [])
25
 * @method UpdateDevice updateDevice(array $options = [])
26
 * @method UpdateMonitor updateMonitor(array $options = [])
27
 */
28
class VcsApiResolver extends ApiResolver
29
{
30
}
31
32
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
33
{
34
    /** @var string */
35
    public $product = 'Vcs';
36
37
    /** @var string */
38
    public $version = '2020-05-15';
39
40
    /** @var string */
41
    public $method = 'POST';
42
43
    /** @var string */
44
    public $serviceCode = 'vcs';
45
}
46
47
/**
48
 * @method string getDeviceSite()
49
 * @method string getCorpId()
50
 * @method string getGbId()
51
 * @method string getBitRate()
52
 * @method string getDeviceDirection()
53
 * @method string getDeviceAddress()
54
 * @method string getDeviceType()
55
 * @method string getDeviceResolution()
56
 * @method string getVendor()
57
 * @method string getDeviceName()
58
 */
59
class AddDevice extends Rpc
60
{
61
62
    /**
63
     * @param string $value
64
     *
65
     * @return $this
66
     */
67
    public function withDeviceSite($value)
68
    {
69
        $this->data['DeviceSite'] = $value;
70
        $this->options['form_params']['DeviceSite'] = $value;
71
72
        return $this;
73
    }
74
75
    /**
76
     * @param string $value
77
     *
78
     * @return $this
79
     */
80
    public function withCorpId($value)
81
    {
82
        $this->data['CorpId'] = $value;
83
        $this->options['form_params']['CorpId'] = $value;
84
85
        return $this;
86
    }
87
88
    /**
89
     * @param string $value
90
     *
91
     * @return $this
92
     */
93
    public function withGbId($value)
94
    {
95
        $this->data['GbId'] = $value;
96
        $this->options['form_params']['GbId'] = $value;
97
98
        return $this;
99
    }
100
101
    /**
102
     * @param string $value
103
     *
104
     * @return $this
105
     */
106
    public function withBitRate($value)
107
    {
108
        $this->data['BitRate'] = $value;
109
        $this->options['form_params']['BitRate'] = $value;
110
111
        return $this;
112
    }
113
114
    /**
115
     * @param string $value
116
     *
117
     * @return $this
118
     */
119
    public function withDeviceDirection($value)
120
    {
121
        $this->data['DeviceDirection'] = $value;
122
        $this->options['form_params']['DeviceDirection'] = $value;
123
124
        return $this;
125
    }
126
127
    /**
128
     * @param string $value
129
     *
130
     * @return $this
131
     */
132
    public function withDeviceAddress($value)
133
    {
134
        $this->data['DeviceAddress'] = $value;
135
        $this->options['form_params']['DeviceAddress'] = $value;
136
137
        return $this;
138
    }
139
140
    /**
141
     * @param string $value
142
     *
143
     * @return $this
144
     */
145
    public function withDeviceType($value)
146
    {
147
        $this->data['DeviceType'] = $value;
148
        $this->options['form_params']['DeviceType'] = $value;
149
150
        return $this;
151
    }
152
153
    /**
154
     * @param string $value
155
     *
156
     * @return $this
157
     */
158
    public function withDeviceResolution($value)
159
    {
160
        $this->data['DeviceResolution'] = $value;
161
        $this->options['form_params']['DeviceResolution'] = $value;
162
163
        return $this;
164
    }
165
166
    /**
167
     * @param string $value
168
     *
169
     * @return $this
170
     */
171
    public function withVendor($value)
172
    {
173
        $this->data['Vendor'] = $value;
174
        $this->options['form_params']['Vendor'] = $value;
175
176
        return $this;
177
    }
178
179
    /**
180
     * @param string $value
181
     *
182
     * @return $this
183
     */
184
    public function withDeviceName($value)
185
    {
186
        $this->data['DeviceName'] = $value;
187
        $this->options['form_params']['DeviceName'] = $value;
188
189
        return $this;
190
    }
191
}
192
193
/**
194
 * @method string getMonitorType()
195
 * @method string getCorpId()
196
 * @method string getDescription()
197
 * @method string getBatchIndicator()
198
 */
199
class AddMonitor extends Rpc
200
{
201
202
    /**
203
     * @param string $value
204
     *
205
     * @return $this
206
     */
207
    public function withMonitorType($value)
208
    {
209
        $this->data['MonitorType'] = $value;
210
        $this->options['form_params']['MonitorType'] = $value;
211
212
        return $this;
213
    }
214
215
    /**
216
     * @param string $value
217
     *
218
     * @return $this
219
     */
220
    public function withCorpId($value)
221
    {
222
        $this->data['CorpId'] = $value;
223
        $this->options['form_params']['CorpId'] = $value;
224
225
        return $this;
226
    }
227
228
    /**
229
     * @param string $value
230
     *
231
     * @return $this
232
     */
233
    public function withDescription($value)
234
    {
235
        $this->data['Description'] = $value;
236
        $this->options['form_params']['Description'] = $value;
237
238
        return $this;
239
    }
240
241
    /**
242
     * @param string $value
243
     *
244
     * @return $this
245
     */
246
    public function withBatchIndicator($value)
247
    {
248
        $this->data['BatchIndicator'] = $value;
249
        $this->options['form_params']['BatchIndicator'] = $value;
250
251
        return $this;
252
    }
253
}
254
255
/**
256
 * @method string getParentCorpId()
257
 * @method string getDescription()
258
 * @method string getAppName()
259
 * @method string getCorpName()
260
 */
261
class CreateCorp extends Rpc
262
{
263
264
    /**
265
     * @param string $value
266
     *
267
     * @return $this
268
     */
269
    public function withParentCorpId($value)
270
    {
271
        $this->data['ParentCorpId'] = $value;
272
        $this->options['form_params']['ParentCorpId'] = $value;
273
274
        return $this;
275
    }
276
277
    /**
278
     * @param string $value
279
     *
280
     * @return $this
281
     */
282
    public function withDescription($value)
283
    {
284
        $this->data['Description'] = $value;
285
        $this->options['form_params']['Description'] = $value;
286
287
        return $this;
288
    }
289
290
    /**
291
     * @param string $value
292
     *
293
     * @return $this
294
     */
295
    public function withAppName($value)
296
    {
297
        $this->data['AppName'] = $value;
298
        $this->options['form_params']['AppName'] = $value;
299
300
        return $this;
301
    }
302
303
    /**
304
     * @param string $value
305
     *
306
     * @return $this
307
     */
308
    public function withCorpName($value)
309
    {
310
        $this->data['CorpName'] = $value;
311
        $this->options['form_params']['CorpName'] = $value;
312
313
        return $this;
314
    }
315
}
316
317
/**
318
 * @method string getCorpId()
319
 * @method string getGbId()
320
 */
321
class DeleteDevice extends Rpc
322
{
323
324
    /**
325
     * @param string $value
326
     *
327
     * @return $this
328
     */
329
    public function withCorpId($value)
330
    {
331
        $this->data['CorpId'] = $value;
332
        $this->options['form_params']['CorpId'] = $value;
333
334
        return $this;
335
    }
336
337
    /**
338
     * @param string $value
339
     *
340
     * @return $this
341
     */
342
    public function withGbId($value)
343
    {
344
        $this->data['GbId'] = $value;
345
        $this->options['form_params']['GbId'] = $value;
346
347
        return $this;
348
    }
349
}
350
351
/**
352
 * @method string getCorpId()
353
 */
354
class GetBodyOptions extends Rpc
355
{
356
357
    /**
358
     * @param string $value
359
     *
360
     * @return $this
361
     */
362
    public function withCorpId($value)
363
    {
364
        $this->data['CorpId'] = $value;
365
        $this->options['form_params']['CorpId'] = $value;
366
367
        return $this;
368
    }
369
}
370
371
/**
372
 * @method string getCorpId()
373
 * @method string getGbId()
374
 */
375
class GetDeviceLiveUrl extends Rpc
376
{
377
378
    /**
379
     * @param string $value
380
     *
381
     * @return $this
382
     */
383
    public function withCorpId($value)
384
    {
385
        $this->data['CorpId'] = $value;
386
        $this->options['form_params']['CorpId'] = $value;
387
388
        return $this;
389
    }
390
391
    /**
392
     * @param string $value
393
     *
394
     * @return $this
395
     */
396
    public function withGbId($value)
397
    {
398
        $this->data['GbId'] = $value;
399
        $this->options['form_params']['GbId'] = $value;
400
401
        return $this;
402
    }
403
}
404
405
/**
406
 * @method string getCorpId()
407
 * @method string getGbId()
408
 * @method string getEndTime()
409
 * @method string getStartTime()
410
 */
411
class GetDeviceVideoUrl extends Rpc
412
{
413
414
    /**
415
     * @param string $value
416
     *
417
     * @return $this
418
     */
419
    public function withCorpId($value)
420
    {
421
        $this->data['CorpId'] = $value;
422
        $this->options['form_params']['CorpId'] = $value;
423
424
        return $this;
425
    }
426
427
    /**
428
     * @param string $value
429
     *
430
     * @return $this
431
     */
432
    public function withGbId($value)
433
    {
434
        $this->data['GbId'] = $value;
435
        $this->options['form_params']['GbId'] = $value;
436
437
        return $this;
438
    }
439
440
    /**
441
     * @param string $value
442
     *
443
     * @return $this
444
     */
445
    public function withEndTime($value)
446
    {
447
        $this->data['EndTime'] = $value;
448
        $this->options['form_params']['EndTime'] = $value;
449
450
        return $this;
451
    }
452
453
    /**
454
     * @param string $value
455
     *
456
     * @return $this
457
     */
458
    public function withStartTime($value)
459
    {
460
        $this->data['StartTime'] = $value;
461
        $this->options['form_params']['StartTime'] = $value;
462
463
        return $this;
464
    }
465
}
466
467
/**
468
 * @method string getCorpId()
469
 */
470
class GetFaceOptions extends Rpc
471
{
472
473
    /**
474
     * @param string $value
475
     *
476
     * @return $this
477
     */
478
    public function withCorpId($value)
479
    {
480
        $this->data['CorpId'] = $value;
481
        $this->options['form_params']['CorpId'] = $value;
482
483
        return $this;
484
    }
485
}
486
487
/**
488
 * @method string getCommodityCode()
489
 */
490
class GetInventory extends Rpc
491
{
492
493
    /**
494
     * @param string $value
495
     *
496
     * @return $this
497
     */
498
    public function withCommodityCode($value)
499
    {
500
        $this->data['CommodityCode'] = $value;
501
        $this->options['form_params']['CommodityCode'] = $value;
502
503
        return $this;
504
    }
505
}
506
507
/**
508
 * @method string getCorpId()
509
 * @method string getEndTime()
510
 * @method string getStartTime()
511
 * @method string getMinRecordId()
512
 * @method string getTaskId()
513
 */
514
class GetMonitorResult extends Rpc
515
{
516
517
    /**
518
     * @param string $value
519
     *
520
     * @return $this
521
     */
522
    public function withCorpId($value)
523
    {
524
        $this->data['CorpId'] = $value;
525
        $this->options['form_params']['CorpId'] = $value;
526
527
        return $this;
528
    }
529
530
    /**
531
     * @param string $value
532
     *
533
     * @return $this
534
     */
535
    public function withEndTime($value)
536
    {
537
        $this->data['EndTime'] = $value;
538
        $this->options['form_params']['EndTime'] = $value;
539
540
        return $this;
541
    }
542
543
    /**
544
     * @param string $value
545
     *
546
     * @return $this
547
     */
548
    public function withStartTime($value)
549
    {
550
        $this->data['StartTime'] = $value;
551
        $this->options['form_params']['StartTime'] = $value;
552
553
        return $this;
554
    }
555
556
    /**
557
     * @param string $value
558
     *
559
     * @return $this
560
     */
561
    public function withMinRecordId($value)
562
    {
563
        $this->data['MinRecordId'] = $value;
564
        $this->options['form_params']['MinRecordId'] = $value;
565
566
        return $this;
567
    }
568
569
    /**
570
     * @param string $value
571
     *
572
     * @return $this
573
     */
574
    public function withTaskId($value)
575
    {
576
        $this->data['TaskId'] = $value;
577
        $this->options['form_params']['TaskId'] = $value;
578
579
        return $this;
580
    }
581
}
582
583
/**
584
 * @method string getPageNumber()
585
 * @method string getPageSize()
586
 */
587
class ListCorps extends Rpc
588
{
589
590
    /**
591
     * @param string $value
592
     *
593
     * @return $this
594
     */
595
    public function withPageNumber($value)
596
    {
597
        $this->data['PageNumber'] = $value;
598
        $this->options['form_params']['PageNumber'] = $value;
599
600
        return $this;
601
    }
602
603
    /**
604
     * @param string $value
605
     *
606
     * @return $this
607
     */
608
    public function withPageSize($value)
609
    {
610
        $this->data['PageSize'] = $value;
611
        $this->options['form_params']['PageSize'] = $value;
612
613
        return $this;
614
    }
615
}
616
617
/**
618
 * @method string getCorpId()
619
 * @method string getGbId()
620
 * @method string getPageNumber()
621
 * @method string getPageSize()
622
 * @method string getDeviceName()
623
 */
624
class ListDevices extends Rpc
625
{
626
627
    /**
628
     * @param string $value
629
     *
630
     * @return $this
631
     */
632
    public function withCorpId($value)
633
    {
634
        $this->data['CorpId'] = $value;
635
        $this->options['form_params']['CorpId'] = $value;
636
637
        return $this;
638
    }
639
640
    /**
641
     * @param string $value
642
     *
643
     * @return $this
644
     */
645
    public function withGbId($value)
646
    {
647
        $this->data['GbId'] = $value;
648
        $this->options['form_params']['GbId'] = $value;
649
650
        return $this;
651
    }
652
653
    /**
654
     * @param string $value
655
     *
656
     * @return $this
657
     */
658
    public function withPageNumber($value)
659
    {
660
        $this->data['PageNumber'] = $value;
661
        $this->options['form_params']['PageNumber'] = $value;
662
663
        return $this;
664
    }
665
666
    /**
667
     * @param string $value
668
     *
669
     * @return $this
670
     */
671
    public function withPageSize($value)
672
    {
673
        $this->data['PageSize'] = $value;
674
        $this->options['form_params']['PageSize'] = $value;
675
676
        return $this;
677
    }
678
679
    /**
680
     * @param string $value
681
     *
682
     * @return $this
683
     */
684
    public function withDeviceName($value)
685
    {
686
        $this->data['DeviceName'] = $value;
687
        $this->options['form_params']['DeviceName'] = $value;
688
689
        return $this;
690
    }
691
}
692
693
/**
694
 * @method string getCorpId()
695
 * @method string getPicContent()
696
 * @method string getPicFormat()
697
 */
698
class RecognizeImage extends Rpc
699
{
700
701
    /**
702
     * @param string $value
703
     *
704
     * @return $this
705
     */
706
    public function withCorpId($value)
707
    {
708
        $this->data['CorpId'] = $value;
709
        $this->options['form_params']['CorpId'] = $value;
710
711
        return $this;
712
    }
713
714
    /**
715
     * @param string $value
716
     *
717
     * @return $this
718
     */
719
    public function withPicContent($value)
720
    {
721
        $this->data['PicContent'] = $value;
722
        $this->options['form_params']['PicContent'] = $value;
723
724
        return $this;
725
    }
726
727
    /**
728
     * @param string $value
729
     *
730
     * @return $this
731
     */
732
    public function withPicFormat($value)
733
    {
734
        $this->data['PicFormat'] = $value;
735
        $this->options['form_params']['PicFormat'] = $value;
736
737
        return $this;
738
    }
739
}
740
741
/**
742
 * @method string getCorpId()
743
 * @method string getGbId()
744
 * @method string getStartTimeStamp()
745
 * @method string getEndTimeStamp()
746
 * @method string getPageNo()
747
 * @method string getPageSize()
748
 * @method string getOptionList()
749
 */
750
class SearchBody extends Rpc
751
{
752
753
    /**
754
     * @param string $value
755
     *
756
     * @return $this
757
     */
758
    public function withCorpId($value)
759
    {
760
        $this->data['CorpId'] = $value;
761
        $this->options['form_params']['CorpId'] = $value;
762
763
        return $this;
764
    }
765
766
    /**
767
     * @param string $value
768
     *
769
     * @return $this
770
     */
771
    public function withGbId($value)
772
    {
773
        $this->data['GbId'] = $value;
774
        $this->options['form_params']['GbId'] = $value;
775
776
        return $this;
777
    }
778
779
    /**
780
     * @param string $value
781
     *
782
     * @return $this
783
     */
784
    public function withStartTimeStamp($value)
785
    {
786
        $this->data['StartTimeStamp'] = $value;
787
        $this->options['form_params']['StartTimeStamp'] = $value;
788
789
        return $this;
790
    }
791
792
    /**
793
     * @param string $value
794
     *
795
     * @return $this
796
     */
797
    public function withEndTimeStamp($value)
798
    {
799
        $this->data['EndTimeStamp'] = $value;
800
        $this->options['form_params']['EndTimeStamp'] = $value;
801
802
        return $this;
803
    }
804
805
    /**
806
     * @param string $value
807
     *
808
     * @return $this
809
     */
810
    public function withPageNo($value)
811
    {
812
        $this->data['PageNo'] = $value;
813
        $this->options['form_params']['PageNo'] = $value;
814
815
        return $this;
816
    }
817
818
    /**
819
     * @param string $value
820
     *
821
     * @return $this
822
     */
823
    public function withPageSize($value)
824
    {
825
        $this->data['PageSize'] = $value;
826
        $this->options['form_params']['PageSize'] = $value;
827
828
        return $this;
829
    }
830
831
    /**
832
     * @param string $value
833
     *
834
     * @return $this
835
     */
836
    public function withOptionList($value)
837
    {
838
        $this->data['OptionList'] = $value;
839
        $this->options['form_params']['OptionList'] = $value;
840
841
        return $this;
842
    }
843
}
844
845
/**
846
 * @method string getCorpId()
847
 * @method string getGbId()
848
 * @method string getStartTimeStamp()
849
 * @method string getEndTimeStamp()
850
 * @method string getPageNo()
851
 * @method string getPageSize()
852
 * @method string getOptionList()
853
 */
854
class SearchFace extends Rpc
855
{
856
857
    /**
858
     * @param string $value
859
     *
860
     * @return $this
861
     */
862
    public function withCorpId($value)
863
    {
864
        $this->data['CorpId'] = $value;
865
        $this->options['form_params']['CorpId'] = $value;
866
867
        return $this;
868
    }
869
870
    /**
871
     * @param string $value
872
     *
873
     * @return $this
874
     */
875
    public function withGbId($value)
876
    {
877
        $this->data['GbId'] = $value;
878
        $this->options['form_params']['GbId'] = $value;
879
880
        return $this;
881
    }
882
883
    /**
884
     * @param string $value
885
     *
886
     * @return $this
887
     */
888
    public function withStartTimeStamp($value)
889
    {
890
        $this->data['StartTimeStamp'] = $value;
891
        $this->options['form_params']['StartTimeStamp'] = $value;
892
893
        return $this;
894
    }
895
896
    /**
897
     * @param string $value
898
     *
899
     * @return $this
900
     */
901
    public function withEndTimeStamp($value)
902
    {
903
        $this->data['EndTimeStamp'] = $value;
904
        $this->options['form_params']['EndTimeStamp'] = $value;
905
906
        return $this;
907
    }
908
909
    /**
910
     * @param string $value
911
     *
912
     * @return $this
913
     */
914
    public function withPageNo($value)
915
    {
916
        $this->data['PageNo'] = $value;
917
        $this->options['form_params']['PageNo'] = $value;
918
919
        return $this;
920
    }
921
922
    /**
923
     * @param string $value
924
     *
925
     * @return $this
926
     */
927
    public function withPageSize($value)
928
    {
929
        $this->data['PageSize'] = $value;
930
        $this->options['form_params']['PageSize'] = $value;
931
932
        return $this;
933
    }
934
935
    /**
936
     * @param string $value
937
     *
938
     * @return $this
939
     */
940
    public function withOptionList($value)
941
    {
942
        $this->data['OptionList'] = $value;
943
        $this->options['form_params']['OptionList'] = $value;
944
945
        return $this;
946
    }
947
}
948
949
/**
950
 * @method string getTaskId()
951
 */
952
class StopMonitor extends Rpc
953
{
954
955
    /**
956
     * @param string $value
957
     *
958
     * @return $this
959
     */
960
    public function withTaskId($value)
961
    {
962
        $this->data['TaskId'] = $value;
963
        $this->options['form_params']['TaskId'] = $value;
964
965
        return $this;
966
    }
967
}
968
969
/**
970
 * @method string getCorpId()
971
 * @method string getParentCorpId()
972
 * @method string getDescription()
973
 * @method string getAppName()
974
 * @method string getCorpName()
975
 */
976
class UpdateCorp extends Rpc
977
{
978
979
    /**
980
     * @param string $value
981
     *
982
     * @return $this
983
     */
984
    public function withCorpId($value)
985
    {
986
        $this->data['CorpId'] = $value;
987
        $this->options['form_params']['CorpId'] = $value;
988
989
        return $this;
990
    }
991
992
    /**
993
     * @param string $value
994
     *
995
     * @return $this
996
     */
997
    public function withParentCorpId($value)
998
    {
999
        $this->data['ParentCorpId'] = $value;
1000
        $this->options['form_params']['ParentCorpId'] = $value;
1001
1002
        return $this;
1003
    }
1004
1005
    /**
1006
     * @param string $value
1007
     *
1008
     * @return $this
1009
     */
1010
    public function withDescription($value)
1011
    {
1012
        $this->data['Description'] = $value;
1013
        $this->options['form_params']['Description'] = $value;
1014
1015
        return $this;
1016
    }
1017
1018
    /**
1019
     * @param string $value
1020
     *
1021
     * @return $this
1022
     */
1023
    public function withAppName($value)
1024
    {
1025
        $this->data['AppName'] = $value;
1026
        $this->options['form_params']['AppName'] = $value;
1027
1028
        return $this;
1029
    }
1030
1031
    /**
1032
     * @param string $value
1033
     *
1034
     * @return $this
1035
     */
1036
    public function withCorpName($value)
1037
    {
1038
        $this->data['CorpName'] = $value;
1039
        $this->options['form_params']['CorpName'] = $value;
1040
1041
        return $this;
1042
    }
1043
}
1044
1045
/**
1046
 * @method string getDeviceSite()
1047
 * @method string getCorpId()
1048
 * @method string getGbId()
1049
 * @method string getBitRate()
1050
 * @method string getDeviceDirection()
1051
 * @method string getDeviceAddress()
1052
 * @method string getDeviceType()
1053
 * @method string getDeviceResolution()
1054
 * @method string getVendor()
1055
 * @method string getDeviceName()
1056
 */
1057
class UpdateDevice extends Rpc
1058
{
1059
1060
    /**
1061
     * @param string $value
1062
     *
1063
     * @return $this
1064
     */
1065
    public function withDeviceSite($value)
1066
    {
1067
        $this->data['DeviceSite'] = $value;
1068
        $this->options['form_params']['DeviceSite'] = $value;
1069
1070
        return $this;
1071
    }
1072
1073
    /**
1074
     * @param string $value
1075
     *
1076
     * @return $this
1077
     */
1078
    public function withCorpId($value)
1079
    {
1080
        $this->data['CorpId'] = $value;
1081
        $this->options['form_params']['CorpId'] = $value;
1082
1083
        return $this;
1084
    }
1085
1086
    /**
1087
     * @param string $value
1088
     *
1089
     * @return $this
1090
     */
1091
    public function withGbId($value)
1092
    {
1093
        $this->data['GbId'] = $value;
1094
        $this->options['form_params']['GbId'] = $value;
1095
1096
        return $this;
1097
    }
1098
1099
    /**
1100
     * @param string $value
1101
     *
1102
     * @return $this
1103
     */
1104
    public function withBitRate($value)
1105
    {
1106
        $this->data['BitRate'] = $value;
1107
        $this->options['form_params']['BitRate'] = $value;
1108
1109
        return $this;
1110
    }
1111
1112
    /**
1113
     * @param string $value
1114
     *
1115
     * @return $this
1116
     */
1117
    public function withDeviceDirection($value)
1118
    {
1119
        $this->data['DeviceDirection'] = $value;
1120
        $this->options['form_params']['DeviceDirection'] = $value;
1121
1122
        return $this;
1123
    }
1124
1125
    /**
1126
     * @param string $value
1127
     *
1128
     * @return $this
1129
     */
1130
    public function withDeviceAddress($value)
1131
    {
1132
        $this->data['DeviceAddress'] = $value;
1133
        $this->options['form_params']['DeviceAddress'] = $value;
1134
1135
        return $this;
1136
    }
1137
1138
    /**
1139
     * @param string $value
1140
     *
1141
     * @return $this
1142
     */
1143
    public function withDeviceType($value)
1144
    {
1145
        $this->data['DeviceType'] = $value;
1146
        $this->options['form_params']['DeviceType'] = $value;
1147
1148
        return $this;
1149
    }
1150
1151
    /**
1152
     * @param string $value
1153
     *
1154
     * @return $this
1155
     */
1156
    public function withDeviceResolution($value)
1157
    {
1158
        $this->data['DeviceResolution'] = $value;
1159
        $this->options['form_params']['DeviceResolution'] = $value;
1160
1161
        return $this;
1162
    }
1163
1164
    /**
1165
     * @param string $value
1166
     *
1167
     * @return $this
1168
     */
1169
    public function withVendor($value)
1170
    {
1171
        $this->data['Vendor'] = $value;
1172
        $this->options['form_params']['Vendor'] = $value;
1173
1174
        return $this;
1175
    }
1176
1177
    /**
1178
     * @param string $value
1179
     *
1180
     * @return $this
1181
     */
1182
    public function withDeviceName($value)
1183
    {
1184
        $this->data['DeviceName'] = $value;
1185
        $this->options['form_params']['DeviceName'] = $value;
1186
1187
        return $this;
1188
    }
1189
}
1190
1191
/**
1192
 * @method string getCorpId()
1193
 * @method string getDescription()
1194
 * @method string getRuleName()
1195
 * @method string getPicOperateType()
1196
 * @method string getAttributeName()
1197
 * @method string getAttributeOperateType()
1198
 * @method string getRuleExpression()
1199
 * @method string getTaskId()
1200
 * @method string getDeviceOperateType()
1201
 * @method string getPicList()
1202
 * @method string getAttributeValueList()
1203
 * @method string getDeviceList()
1204
 */
1205
class UpdateMonitor extends Rpc
1206
{
1207
1208
    /**
1209
     * @param string $value
1210
     *
1211
     * @return $this
1212
     */
1213
    public function withCorpId($value)
1214
    {
1215
        $this->data['CorpId'] = $value;
1216
        $this->options['form_params']['CorpId'] = $value;
1217
1218
        return $this;
1219
    }
1220
1221
    /**
1222
     * @param string $value
1223
     *
1224
     * @return $this
1225
     */
1226
    public function withDescription($value)
1227
    {
1228
        $this->data['Description'] = $value;
1229
        $this->options['form_params']['Description'] = $value;
1230
1231
        return $this;
1232
    }
1233
1234
    /**
1235
     * @param string $value
1236
     *
1237
     * @return $this
1238
     */
1239
    public function withRuleName($value)
1240
    {
1241
        $this->data['RuleName'] = $value;
1242
        $this->options['form_params']['RuleName'] = $value;
1243
1244
        return $this;
1245
    }
1246
1247
    /**
1248
     * @param string $value
1249
     *
1250
     * @return $this
1251
     */
1252
    public function withPicOperateType($value)
1253
    {
1254
        $this->data['PicOperateType'] = $value;
1255
        $this->options['form_params']['PicOperateType'] = $value;
1256
1257
        return $this;
1258
    }
1259
1260
    /**
1261
     * @param string $value
1262
     *
1263
     * @return $this
1264
     */
1265
    public function withAttributeName($value)
1266
    {
1267
        $this->data['AttributeName'] = $value;
1268
        $this->options['form_params']['AttributeName'] = $value;
1269
1270
        return $this;
1271
    }
1272
1273
    /**
1274
     * @param string $value
1275
     *
1276
     * @return $this
1277
     */
1278
    public function withAttributeOperateType($value)
1279
    {
1280
        $this->data['AttributeOperateType'] = $value;
1281
        $this->options['form_params']['AttributeOperateType'] = $value;
1282
1283
        return $this;
1284
    }
1285
1286
    /**
1287
     * @param string $value
1288
     *
1289
     * @return $this
1290
     */
1291
    public function withRuleExpression($value)
1292
    {
1293
        $this->data['RuleExpression'] = $value;
1294
        $this->options['form_params']['RuleExpression'] = $value;
1295
1296
        return $this;
1297
    }
1298
1299
    /**
1300
     * @param string $value
1301
     *
1302
     * @return $this
1303
     */
1304
    public function withTaskId($value)
1305
    {
1306
        $this->data['TaskId'] = $value;
1307
        $this->options['form_params']['TaskId'] = $value;
1308
1309
        return $this;
1310
    }
1311
1312
    /**
1313
     * @param string $value
1314
     *
1315
     * @return $this
1316
     */
1317
    public function withDeviceOperateType($value)
1318
    {
1319
        $this->data['DeviceOperateType'] = $value;
1320
        $this->options['form_params']['DeviceOperateType'] = $value;
1321
1322
        return $this;
1323
    }
1324
1325
    /**
1326
     * @param string $value
1327
     *
1328
     * @return $this
1329
     */
1330
    public function withPicList($value)
1331
    {
1332
        $this->data['PicList'] = $value;
1333
        $this->options['form_params']['PicList'] = $value;
1334
1335
        return $this;
1336
    }
1337
1338
    /**
1339
     * @param string $value
1340
     *
1341
     * @return $this
1342
     */
1343
    public function withAttributeValueList($value)
1344
    {
1345
        $this->data['AttributeValueList'] = $value;
1346
        $this->options['form_params']['AttributeValueList'] = $value;
1347
1348
        return $this;
1349
    }
1350
1351
    /**
1352
     * @param string $value
1353
     *
1354
     * @return $this
1355
     */
1356
    public function withDeviceList($value)
1357
    {
1358
        $this->data['DeviceList'] = $value;
1359
        $this->options['form_params']['DeviceList'] = $value;
1360
1361
        return $this;
1362
    }
1363
}
1364