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 ( 299ffc...acd4f5 )
by
unknown
06:29
created

GetPipelineInstanceBuildNumberStatus   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 7
dl 0
loc 27
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A withBuildNum() 0 6 1
A withUserPk() 0 6 1
1
<?php
2
3
namespace AlibabaCloud\DevopsRdc\V20200303;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method CancelPipeline cancelPipeline(array $options = [])
9
 * @method CreateCredential createCredential(array $options = [])
10
 * @method CreatePipeline createPipeline(array $options = [])
11
 * @method CreateServiceConnection createServiceConnection(array $options = [])
12
 * @method ExecutePipeline executePipeline(array $options = [])
13
 * @method GetPipelineInstanceBuildNumberStatus getPipelineInstanceBuildNumberStatus(array $options = [])
14
 * @method GetPipelineInstanceGroupStatus getPipelineInstanceGroupStatus(array $options = [])
15
 * @method GetPipelineInstanceInfo getPipelineInstanceInfo(array $options = [])
16
 * @method GetPipelineInstanceStatus getPipelineInstanceStatus(array $options = [])
17
 * @method GetPipelineLog getPipelineLog(array $options = [])
18
 * @method GetPipleineLatestInstanceStatus getPipleineLatestInstanceStatus(array $options = [])
19
 * @method ListCredentials listCredentials(array $options = [])
20
 * @method ListPipelines listPipelines(array $options = [])
21
 * @method ListServiceConnections listServiceConnections(array $options = [])
22
 */
23
class DevopsRdcApiResolver extends ApiResolver
24
{
25
}
26
27
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
28
{
29
    /** @var string */
30
    public $product = 'devops-rdc';
31
32
    /** @var string */
33
    public $version = '2020-03-03';
34
35
    /** @var string */
36
    public $method = 'POST';
37
}
38
39
/**
40
 * @method string getFlowInstanceId()
41
 * @method string getUserPk()
42
 * @method string getOrgId()
43
 * @method string getPipelineId()
44
 */
45
class CancelPipeline extends Rpc
46
{
47
48
    /**
49
     * @param string $value
50
     *
51
     * @return $this
52
     */
53
    public function withFlowInstanceId($value)
54
    {
55
        $this->data['FlowInstanceId'] = $value;
56
        $this->options['form_params']['FlowInstanceId'] = $value;
57
58
        return $this;
59
    }
60
61
    /**
62
     * @param string $value
63
     *
64
     * @return $this
65
     */
66
    public function withUserPk($value)
67
    {
68
        $this->data['UserPk'] = $value;
69
        $this->options['form_params']['UserPk'] = $value;
70
71
        return $this;
72
    }
73
74
    /**
75
     * @param string $value
76
     *
77
     * @return $this
78
     */
79
    public function withOrgId($value)
80
    {
81
        $this->data['OrgId'] = $value;
82
        $this->options['form_params']['OrgId'] = $value;
83
84
        return $this;
85
    }
86
87
    /**
88
     * @param string $value
89
     *
90
     * @return $this
91
     */
92
    public function withPipelineId($value)
93
    {
94
        $this->data['PipelineId'] = $value;
95
        $this->options['form_params']['PipelineId'] = $value;
96
97
        return $this;
98
    }
99
}
100
101
/**
102
 * @method string getType()
103
 * @method string getUserPk()
104
 * @method string getOrgId()
105
 * @method string getPassword()
106
 * @method string getName()
107
 * @method string getUserName()
108
 */
109
class CreateCredential extends Rpc
110
{
111
112
    /**
113
     * @param string $value
114
     *
115
     * @return $this
116
     */
117
    public function withType($value)
118
    {
119
        $this->data['Type'] = $value;
120
        $this->options['form_params']['Type'] = $value;
121
122
        return $this;
123
    }
124
125
    /**
126
     * @param string $value
127
     *
128
     * @return $this
129
     */
130
    public function withUserPk($value)
131
    {
132
        $this->data['UserPk'] = $value;
133
        $this->options['form_params']['UserPk'] = $value;
134
135
        return $this;
136
    }
137
138
    /**
139
     * @param string $value
140
     *
141
     * @return $this
142
     */
143
    public function withOrgId($value)
144
    {
145
        $this->data['OrgId'] = $value;
146
        $this->options['form_params']['OrgId'] = $value;
147
148
        return $this;
149
    }
150
151
    /**
152
     * @param string $value
153
     *
154
     * @return $this
155
     */
156
    public function withPassword($value)
157
    {
158
        $this->data['Password'] = $value;
159
        $this->options['form_params']['Password'] = $value;
160
161
        return $this;
162
    }
163
164
    /**
165
     * @param string $value
166
     *
167
     * @return $this
168
     */
169
    public function withName($value)
170
    {
171
        $this->data['Name'] = $value;
172
        $this->options['form_params']['Name'] = $value;
173
174
        return $this;
175
    }
176
177
    /**
178
     * @param string $value
179
     *
180
     * @return $this
181
     */
182
    public function withUserName($value)
183
    {
184
        $this->data['UserName'] = $value;
185
        $this->options['form_params']['UserName'] = $value;
186
187
        return $this;
188
    }
189
}
190
191
/**
192
 * @method string getPipeline()
193
 * @method string getUserPk()
194
 * @method string getOrgId()
195
 */
196
class CreatePipeline extends Rpc
197
{
198
199
    /**
200
     * @param string $value
201
     *
202
     * @return $this
203
     */
204
    public function withPipeline($value)
205
    {
206
        $this->data['Pipeline'] = $value;
207
        $this->options['form_params']['Pipeline'] = $value;
208
209
        return $this;
210
    }
211
212
    /**
213
     * @param string $value
214
     *
215
     * @return $this
216
     */
217
    public function withUserPk($value)
218
    {
219
        $this->data['UserPk'] = $value;
220
        $this->options['form_params']['UserPk'] = $value;
221
222
        return $this;
223
    }
224
225
    /**
226
     * @param string $value
227
     *
228
     * @return $this
229
     */
230
    public function withOrgId($value)
231
    {
232
        $this->data['OrgId'] = $value;
233
        $this->options['form_params']['OrgId'] = $value;
234
235
        return $this;
236
    }
237
}
238
239
/**
240
 * @method string getServiceConnectionType()
241
 * @method string getUserPk()
242
 * @method string getOrgId()
243
 */
244
class CreateServiceConnection extends Rpc
245
{
246
247
    /**
248
     * @param string $value
249
     *
250
     * @return $this
251
     */
252
    public function withServiceConnectionType($value)
253
    {
254
        $this->data['ServiceConnectionType'] = $value;
255
        $this->options['form_params']['ServiceConnectionType'] = $value;
256
257
        return $this;
258
    }
259
260
    /**
261
     * @param string $value
262
     *
263
     * @return $this
264
     */
265
    public function withUserPk($value)
266
    {
267
        $this->data['UserPk'] = $value;
268
        $this->options['form_params']['UserPk'] = $value;
269
270
        return $this;
271
    }
272
273
    /**
274
     * @param string $value
275
     *
276
     * @return $this
277
     */
278
    public function withOrgId($value)
279
    {
280
        $this->data['OrgId'] = $value;
281
        $this->options['form_params']['OrgId'] = $value;
282
283
        return $this;
284
    }
285
}
286
287
/**
288
 * @method string getParameters()
289
 * @method string getUserPk()
290
 * @method string getOrgId()
291
 * @method string getPipelineId()
292
 */
293
class ExecutePipeline extends Rpc
294
{
295
296
    /**
297
     * @param string $value
298
     *
299
     * @return $this
300
     */
301
    public function withParameters($value)
302
    {
303
        $this->data['Parameters'] = $value;
304
        $this->options['form_params']['Parameters'] = $value;
305
306
        return $this;
307
    }
308
309
    /**
310
     * @param string $value
311
     *
312
     * @return $this
313
     */
314
    public function withUserPk($value)
315
    {
316
        $this->data['UserPk'] = $value;
317
        $this->options['form_params']['UserPk'] = $value;
318
319
        return $this;
320
    }
321
322
    /**
323
     * @param string $value
324
     *
325
     * @return $this
326
     */
327
    public function withOrgId($value)
328
    {
329
        $this->data['OrgId'] = $value;
330
        $this->options['form_params']['OrgId'] = $value;
331
332
        return $this;
333
    }
334
335
    /**
336
     * @param string $value
337
     *
338
     * @return $this
339
     */
340
    public function withPipelineId($value)
341
    {
342
        $this->data['PipelineId'] = $value;
343
        $this->options['form_params']['PipelineId'] = $value;
344
345
        return $this;
346
    }
347
}
348
349
/**
350
 * @method string getBuildNum()
351
 * @method string getUserPk()
352
 * @method string getOrgId()
353
 * @method $this withOrgId($value)
354
 * @method string getPipelineId()
355
 * @method $this withPipelineId($value)
356
 */
357
class GetPipelineInstanceBuildNumberStatus extends Rpc
358
{
359
360
    /**
361
     * @param string $value
362
     *
363
     * @return $this
364
     */
365
    public function withBuildNum($value)
366
    {
367
        $this->data['BuildNum'] = $value;
368
        $this->options['form_params']['BuildNum'] = $value;
369
370
        return $this;
371
    }
372
373
    /**
374
     * @param string $value
375
     *
376
     * @return $this
377
     */
378
    public function withUserPk($value)
379
    {
380
        $this->data['UserPk'] = $value;
381
        $this->options['form_params']['UserPk'] = $value;
382
383
        return $this;
384
    }
385
}
386
387
/**
388
 * @method string getFlowInstanceId()
389
 * @method string getUserPk()
390
 * @method string getOrgId()
391
 * @method $this withOrgId($value)
392
 * @method string getPipelineId()
393
 * @method $this withPipelineId($value)
394
 */
395
class GetPipelineInstanceGroupStatus extends Rpc
396
{
397
398
    /**
399
     * @param string $value
400
     *
401
     * @return $this
402
     */
403
    public function withFlowInstanceId($value)
404
    {
405
        $this->data['FlowInstanceId'] = $value;
406
        $this->options['form_params']['FlowInstanceId'] = $value;
407
408
        return $this;
409
    }
410
411
    /**
412
     * @param string $value
413
     *
414
     * @return $this
415
     */
416
    public function withUserPk($value)
417
    {
418
        $this->data['UserPk'] = $value;
419
        $this->options['form_params']['UserPk'] = $value;
420
421
        return $this;
422
    }
423
}
424
425
/**
426
 * @method string getFlowInstanceId()
427
 * @method string getUserPk()
428
 * @method string getOrgId()
429
 * @method string getPipelineId()
430
 */
431
class GetPipelineInstanceInfo extends Rpc
432
{
433
434
    /**
435
     * @param string $value
436
     *
437
     * @return $this
438
     */
439
    public function withFlowInstanceId($value)
440
    {
441
        $this->data['FlowInstanceId'] = $value;
442
        $this->options['form_params']['FlowInstanceId'] = $value;
443
444
        return $this;
445
    }
446
447
    /**
448
     * @param string $value
449
     *
450
     * @return $this
451
     */
452
    public function withUserPk($value)
453
    {
454
        $this->data['UserPk'] = $value;
455
        $this->options['form_params']['UserPk'] = $value;
456
457
        return $this;
458
    }
459
460
    /**
461
     * @param string $value
462
     *
463
     * @return $this
464
     */
465
    public function withOrgId($value)
466
    {
467
        $this->data['OrgId'] = $value;
468
        $this->options['form_params']['OrgId'] = $value;
469
470
        return $this;
471
    }
472
473
    /**
474
     * @param string $value
475
     *
476
     * @return $this
477
     */
478
    public function withPipelineId($value)
479
    {
480
        $this->data['PipelineId'] = $value;
481
        $this->options['form_params']['PipelineId'] = $value;
482
483
        return $this;
484
    }
485
}
486
487
/**
488
 * @method string getFlowInstanceId()
489
 * @method $this withFlowInstanceId($value)
490
 * @method string getUserPk()
491
 * @method string getOrgId()
492
 * @method $this withOrgId($value)
493
 * @method string getPipelineId()
494
 * @method $this withPipelineId($value)
495
 */
496
class GetPipelineInstanceStatus extends Rpc
497
{
498
499
    /**
500
     * @param string $value
501
     *
502
     * @return $this
503
     */
504
    public function withUserPk($value)
505
    {
506
        $this->data['UserPk'] = $value;
507
        $this->options['form_params']['UserPk'] = $value;
508
509
        return $this;
510
    }
511
}
512
513
/**
514
 * @method string getUserPk()
515
 * @method string getOrgId()
516
 * @method string getPipelineId()
517
 * @method string getJobId()
518
 */
519
class GetPipelineLog extends Rpc
520
{
521
522
    /**
523
     * @param string $value
524
     *
525
     * @return $this
526
     */
527
    public function withUserPk($value)
528
    {
529
        $this->data['UserPk'] = $value;
530
        $this->options['form_params']['UserPk'] = $value;
531
532
        return $this;
533
    }
534
535
    /**
536
     * @param string $value
537
     *
538
     * @return $this
539
     */
540
    public function withOrgId($value)
541
    {
542
        $this->data['OrgId'] = $value;
543
        $this->options['form_params']['OrgId'] = $value;
544
545
        return $this;
546
    }
547
548
    /**
549
     * @param string $value
550
     *
551
     * @return $this
552
     */
553
    public function withPipelineId($value)
554
    {
555
        $this->data['PipelineId'] = $value;
556
        $this->options['form_params']['PipelineId'] = $value;
557
558
        return $this;
559
    }
560
561
    /**
562
     * @param string $value
563
     *
564
     * @return $this
565
     */
566
    public function withJobId($value)
567
    {
568
        $this->data['JobId'] = $value;
569
        $this->options['form_params']['JobId'] = $value;
570
571
        return $this;
572
    }
573
}
574
575
/**
576
 * @method string getUserPk()
577
 * @method string getOrgId()
578
 * @method $this withOrgId($value)
579
 * @method string getPipelineId()
580
 * @method $this withPipelineId($value)
581
 */
582
class GetPipleineLatestInstanceStatus extends Rpc
583
{
584
585
    /**
586
     * @param string $value
587
     *
588
     * @return $this
589
     */
590
    public function withUserPk($value)
591
    {
592
        $this->data['UserPk'] = $value;
593
        $this->options['form_params']['UserPk'] = $value;
594
595
        return $this;
596
    }
597
}
598
599
/**
600
 * @method string getUserPk()
601
 * @method string getOrgId()
602
 */
603
class ListCredentials extends Rpc
604
{
605
606
    /**
607
     * @param string $value
608
     *
609
     * @return $this
610
     */
611
    public function withUserPk($value)
612
    {
613
        $this->data['UserPk'] = $value;
614
        $this->options['form_params']['UserPk'] = $value;
615
616
        return $this;
617
    }
618
619
    /**
620
     * @param string $value
621
     *
622
     * @return $this
623
     */
624
    public function withOrgId($value)
625
    {
626
        $this->data['OrgId'] = $value;
627
        $this->options['form_params']['OrgId'] = $value;
628
629
        return $this;
630
    }
631
}
632
633
/**
634
 * @method string getPipelineName()
635
 * @method string getResultStatusList()
636
 * @method string getCreators()
637
 * @method string getExecuteEndTime()
638
 * @method string getUserPk()
639
 * @method string getOrgId()
640
 * @method $this withOrgId($value)
641
 * @method string getCreateStartTime()
642
 * @method string getOperators()
643
 * @method string getPageSize()
644
 * @method string getExecuteStartTime()
645
 * @method string getPageStart()
646
 * @method string getCreateEndTime()
647
 */
648
class ListPipelines extends Rpc
649
{
650
651
    /**
652
     * @param string $value
653
     *
654
     * @return $this
655
     */
656
    public function withPipelineName($value)
657
    {
658
        $this->data['PipelineName'] = $value;
659
        $this->options['form_params']['PipelineName'] = $value;
660
661
        return $this;
662
    }
663
664
    /**
665
     * @param string $value
666
     *
667
     * @return $this
668
     */
669
    public function withResultStatusList($value)
670
    {
671
        $this->data['ResultStatusList'] = $value;
672
        $this->options['form_params']['ResultStatusList'] = $value;
673
674
        return $this;
675
    }
676
677
    /**
678
     * @param string $value
679
     *
680
     * @return $this
681
     */
682
    public function withCreators($value)
683
    {
684
        $this->data['Creators'] = $value;
685
        $this->options['form_params']['Creators'] = $value;
686
687
        return $this;
688
    }
689
690
    /**
691
     * @param string $value
692
     *
693
     * @return $this
694
     */
695
    public function withExecuteEndTime($value)
696
    {
697
        $this->data['ExecuteEndTime'] = $value;
698
        $this->options['form_params']['ExecuteEndTime'] = $value;
699
700
        return $this;
701
    }
702
703
    /**
704
     * @param string $value
705
     *
706
     * @return $this
707
     */
708
    public function withUserPk($value)
709
    {
710
        $this->data['UserPk'] = $value;
711
        $this->options['form_params']['UserPk'] = $value;
712
713
        return $this;
714
    }
715
716
    /**
717
     * @param string $value
718
     *
719
     * @return $this
720
     */
721
    public function withCreateStartTime($value)
722
    {
723
        $this->data['CreateStartTime'] = $value;
724
        $this->options['form_params']['CreateStartTime'] = $value;
725
726
        return $this;
727
    }
728
729
    /**
730
     * @param string $value
731
     *
732
     * @return $this
733
     */
734
    public function withOperators($value)
735
    {
736
        $this->data['Operators'] = $value;
737
        $this->options['form_params']['Operators'] = $value;
738
739
        return $this;
740
    }
741
742
    /**
743
     * @param string $value
744
     *
745
     * @return $this
746
     */
747
    public function withPageSize($value)
748
    {
749
        $this->data['PageSize'] = $value;
750
        $this->options['form_params']['PageSize'] = $value;
751
752
        return $this;
753
    }
754
755
    /**
756
     * @param string $value
757
     *
758
     * @return $this
759
     */
760
    public function withExecuteStartTime($value)
761
    {
762
        $this->data['ExecuteStartTime'] = $value;
763
        $this->options['form_params']['ExecuteStartTime'] = $value;
764
765
        return $this;
766
    }
767
768
    /**
769
     * @param string $value
770
     *
771
     * @return $this
772
     */
773
    public function withPageStart($value)
774
    {
775
        $this->data['PageStart'] = $value;
776
        $this->options['form_params']['PageStart'] = $value;
777
778
        return $this;
779
    }
780
781
    /**
782
     * @param string $value
783
     *
784
     * @return $this
785
     */
786
    public function withCreateEndTime($value)
787
    {
788
        $this->data['CreateEndTime'] = $value;
789
        $this->options['form_params']['CreateEndTime'] = $value;
790
791
        return $this;
792
    }
793
}
794
795
/**
796
 * @method string getScType()
797
 * @method string getUserPk()
798
 * @method string getOrgId()
799
 */
800
class ListServiceConnections extends Rpc
801
{
802
803
    /**
804
     * @param string $value
805
     *
806
     * @return $this
807
     */
808
    public function withScType($value)
809
    {
810
        $this->data['ScType'] = $value;
811
        $this->options['form_params']['ScType'] = $value;
812
813
        return $this;
814
    }
815
816
    /**
817
     * @param string $value
818
     *
819
     * @return $this
820
     */
821
    public function withUserPk($value)
822
    {
823
        $this->data['UserPk'] = $value;
824
        $this->options['form_params']['UserPk'] = $value;
825
826
        return $this;
827
    }
828
829
    /**
830
     * @param string $value
831
     *
832
     * @return $this
833
     */
834
    public function withOrgId($value)
835
    {
836
        $this->data['OrgId'] = $value;
837
        $this->options['form_params']['OrgId'] = $value;
838
839
        return $this;
840
    }
841
}
842