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 ( d64192...19e0a5 )
by
unknown
11:23 queued 12s
created

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