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 ( 5d35c2...d63662 )
by
unknown
06:28
created

withServiceConnectionType()   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\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 GetPipelineInstanceInfo getPipelineInstanceInfo(array $options = [])
14
 * @method GetPipelineInstanceStatus getPipelineInstanceStatus(array $options = [])
15
 * @method ListCredentials listCredentials(array $options = [])
16
 * @method ListPipelines listPipelines(array $options = [])
17
 * @method ListServiceConnections listServiceConnections(array $options = [])
18
 */
19
class DevopsRdcApiResolver extends ApiResolver
20
{
21
}
22
23
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
24
{
25
    /** @var string */
26
    public $product = 'devops-rdc';
27
28
    /** @var string */
29
    public $version = '2020-03-03';
30
31
    /** @var string */
32
    public $method = 'POST';
33
}
34
35
/**
36
 * @method string getFlowInstanceId()
37
 * @method string getUserPk()
38
 * @method string getOrgId()
39
 * @method string getPipelineId()
40
 */
41
class CancelPipeline extends Rpc
42
{
43
44
    /**
45
     * @param string $value
46
     *
47
     * @return $this
48
     */
49
    public function withFlowInstanceId($value)
50
    {
51
        $this->data['FlowInstanceId'] = $value;
52
        $this->options['form_params']['FlowInstanceId'] = $value;
53
54
        return $this;
55
    }
56
57
    /**
58
     * @param string $value
59
     *
60
     * @return $this
61
     */
62
    public function withUserPk($value)
63
    {
64
        $this->data['UserPk'] = $value;
65
        $this->options['form_params']['UserPk'] = $value;
66
67
        return $this;
68
    }
69
70
    /**
71
     * @param string $value
72
     *
73
     * @return $this
74
     */
75
    public function withOrgId($value)
76
    {
77
        $this->data['OrgId'] = $value;
78
        $this->options['form_params']['OrgId'] = $value;
79
80
        return $this;
81
    }
82
83
    /**
84
     * @param string $value
85
     *
86
     * @return $this
87
     */
88
    public function withPipelineId($value)
89
    {
90
        $this->data['PipelineId'] = $value;
91
        $this->options['form_params']['PipelineId'] = $value;
92
93
        return $this;
94
    }
95
}
96
97
/**
98
 * @method string getPassword()
99
 * @method string getName()
100
 * @method string getType()
101
 * @method string getUserPk()
102
 * @method string getOrgId()
103
 * @method string getUserName()
104
 */
105
class CreateCredential extends Rpc
106
{
107
108
    /**
109
     * @param string $value
110
     *
111
     * @return $this
112
     */
113
    public function withPassword($value)
114
    {
115
        $this->data['Password'] = $value;
116
        $this->options['form_params']['Password'] = $value;
117
118
        return $this;
119
    }
120
121
    /**
122
     * @param string $value
123
     *
124
     * @return $this
125
     */
126
    public function withName($value)
127
    {
128
        $this->data['Name'] = $value;
129
        $this->options['form_params']['Name'] = $value;
130
131
        return $this;
132
    }
133
134
    /**
135
     * @param string $value
136
     *
137
     * @return $this
138
     */
139
    public function withType($value)
140
    {
141
        $this->data['Type'] = $value;
142
        $this->options['form_params']['Type'] = $value;
143
144
        return $this;
145
    }
146
147
    /**
148
     * @param string $value
149
     *
150
     * @return $this
151
     */
152
    public function withUserPk($value)
153
    {
154
        $this->data['UserPk'] = $value;
155
        $this->options['form_params']['UserPk'] = $value;
156
157
        return $this;
158
    }
159
160
    /**
161
     * @param string $value
162
     *
163
     * @return $this
164
     */
165
    public function withOrgId($value)
166
    {
167
        $this->data['OrgId'] = $value;
168
        $this->options['form_params']['OrgId'] = $value;
169
170
        return $this;
171
    }
172
173
    /**
174
     * @param string $value
175
     *
176
     * @return $this
177
     */
178
    public function withUserName($value)
179
    {
180
        $this->data['UserName'] = $value;
181
        $this->options['form_params']['UserName'] = $value;
182
183
        return $this;
184
    }
185
}
186
187
/**
188
 * @method string getPipeline()
189
 * @method string getUserPk()
190
 * @method string getOrgId()
191
 */
192
class CreatePipeline extends Rpc
193
{
194
195
    /**
196
     * @param string $value
197
     *
198
     * @return $this
199
     */
200
    public function withPipeline($value)
201
    {
202
        $this->data['Pipeline'] = $value;
203
        $this->options['form_params']['Pipeline'] = $value;
204
205
        return $this;
206
    }
207
208
    /**
209
     * @param string $value
210
     *
211
     * @return $this
212
     */
213
    public function withUserPk($value)
214
    {
215
        $this->data['UserPk'] = $value;
216
        $this->options['form_params']['UserPk'] = $value;
217
218
        return $this;
219
    }
220
221
    /**
222
     * @param string $value
223
     *
224
     * @return $this
225
     */
226
    public function withOrgId($value)
227
    {
228
        $this->data['OrgId'] = $value;
229
        $this->options['form_params']['OrgId'] = $value;
230
231
        return $this;
232
    }
233
}
234
235
/**
236
 * @method string getServiceConnectionType()
237
 * @method string getUserPk()
238
 * @method string getOrgId()
239
 */
240
class CreateServiceConnection extends Rpc
241
{
242
243
    /**
244
     * @param string $value
245
     *
246
     * @return $this
247
     */
248
    public function withServiceConnectionType($value)
249
    {
250
        $this->data['ServiceConnectionType'] = $value;
251
        $this->options['form_params']['ServiceConnectionType'] = $value;
252
253
        return $this;
254
    }
255
256
    /**
257
     * @param string $value
258
     *
259
     * @return $this
260
     */
261
    public function withUserPk($value)
262
    {
263
        $this->data['UserPk'] = $value;
264
        $this->options['form_params']['UserPk'] = $value;
265
266
        return $this;
267
    }
268
269
    /**
270
     * @param string $value
271
     *
272
     * @return $this
273
     */
274
    public function withOrgId($value)
275
    {
276
        $this->data['OrgId'] = $value;
277
        $this->options['form_params']['OrgId'] = $value;
278
279
        return $this;
280
    }
281
}
282
283
/**
284
 * @method string getParameters()
285
 * @method string getUserPk()
286
 * @method string getOrgId()
287
 * @method string getPipelineId()
288
 */
289
class ExecutePipeline extends Rpc
290
{
291
292
    /**
293
     * @param string $value
294
     *
295
     * @return $this
296
     */
297
    public function withParameters($value)
298
    {
299
        $this->data['Parameters'] = $value;
300
        $this->options['form_params']['Parameters'] = $value;
301
302
        return $this;
303
    }
304
305
    /**
306
     * @param string $value
307
     *
308
     * @return $this
309
     */
310
    public function withUserPk($value)
311
    {
312
        $this->data['UserPk'] = $value;
313
        $this->options['form_params']['UserPk'] = $value;
314
315
        return $this;
316
    }
317
318
    /**
319
     * @param string $value
320
     *
321
     * @return $this
322
     */
323
    public function withOrgId($value)
324
    {
325
        $this->data['OrgId'] = $value;
326
        $this->options['form_params']['OrgId'] = $value;
327
328
        return $this;
329
    }
330
331
    /**
332
     * @param string $value
333
     *
334
     * @return $this
335
     */
336
    public function withPipelineId($value)
337
    {
338
        $this->data['PipelineId'] = $value;
339
        $this->options['form_params']['PipelineId'] = $value;
340
341
        return $this;
342
    }
343
}
344
345
/**
346
 * @method string getFlowInstanceId()
347
 * @method string getUserPk()
348
 * @method string getOrgId()
349
 * @method string getPipelineId()
350
 */
351
class GetPipelineInstanceInfo extends Rpc
352
{
353
354
    /**
355
     * @param string $value
356
     *
357
     * @return $this
358
     */
359
    public function withFlowInstanceId($value)
360
    {
361
        $this->data['FlowInstanceId'] = $value;
362
        $this->options['form_params']['FlowInstanceId'] = $value;
363
364
        return $this;
365
    }
366
367
    /**
368
     * @param string $value
369
     *
370
     * @return $this
371
     */
372
    public function withUserPk($value)
373
    {
374
        $this->data['UserPk'] = $value;
375
        $this->options['form_params']['UserPk'] = $value;
376
377
        return $this;
378
    }
379
380
    /**
381
     * @param string $value
382
     *
383
     * @return $this
384
     */
385
    public function withOrgId($value)
386
    {
387
        $this->data['OrgId'] = $value;
388
        $this->options['form_params']['OrgId'] = $value;
389
390
        return $this;
391
    }
392
393
    /**
394
     * @param string $value
395
     *
396
     * @return $this
397
     */
398
    public function withPipelineId($value)
399
    {
400
        $this->data['PipelineId'] = $value;
401
        $this->options['form_params']['PipelineId'] = $value;
402
403
        return $this;
404
    }
405
}
406
407
/**
408
 * @method string getFlowInstanceId()
409
 * @method $this withFlowInstanceId($value)
410
 * @method string getUserPk()
411
 * @method string getOrgId()
412
 * @method $this withOrgId($value)
413
 * @method string getPipelineId()
414
 * @method $this withPipelineId($value)
415
 */
416
class GetPipelineInstanceStatus extends Rpc
417
{
418
419
    /**
420
     * @param string $value
421
     *
422
     * @return $this
423
     */
424
    public function withUserPk($value)
425
    {
426
        $this->data['UserPk'] = $value;
427
        $this->options['form_params']['UserPk'] = $value;
428
429
        return $this;
430
    }
431
}
432
433
/**
434
 * @method string getUserPk()
435
 * @method string getOrgId()
436
 */
437
class ListCredentials extends Rpc
438
{
439
440
    /**
441
     * @param string $value
442
     *
443
     * @return $this
444
     */
445
    public function withUserPk($value)
446
    {
447
        $this->data['UserPk'] = $value;
448
        $this->options['form_params']['UserPk'] = $value;
449
450
        return $this;
451
    }
452
453
    /**
454
     * @param string $value
455
     *
456
     * @return $this
457
     */
458
    public function withOrgId($value)
459
    {
460
        $this->data['OrgId'] = $value;
461
        $this->options['form_params']['OrgId'] = $value;
462
463
        return $this;
464
    }
465
}
466
467
/**
468
 * @method string getPipelineName()
469
 * @method string getResultStatusList()
470
 * @method string getCreators()
471
 * @method string getExecuteEndTime()
472
 * @method string getUserPk()
473
 * @method string getOrgId()
474
 * @method $this withOrgId($value)
475
 * @method string getCreateStartTime()
476
 * @method string getOperators()
477
 * @method string getPageSize()
478
 * @method string getExecuteStartTime()
479
 * @method string getPageStart()
480
 * @method string getCreateEndTime()
481
 */
482
class ListPipelines extends Rpc
483
{
484
485
    /**
486
     * @param string $value
487
     *
488
     * @return $this
489
     */
490
    public function withPipelineName($value)
491
    {
492
        $this->data['PipelineName'] = $value;
493
        $this->options['form_params']['PipelineName'] = $value;
494
495
        return $this;
496
    }
497
498
    /**
499
     * @param string $value
500
     *
501
     * @return $this
502
     */
503
    public function withResultStatusList($value)
504
    {
505
        $this->data['ResultStatusList'] = $value;
506
        $this->options['form_params']['ResultStatusList'] = $value;
507
508
        return $this;
509
    }
510
511
    /**
512
     * @param string $value
513
     *
514
     * @return $this
515
     */
516
    public function withCreators($value)
517
    {
518
        $this->data['Creators'] = $value;
519
        $this->options['form_params']['Creators'] = $value;
520
521
        return $this;
522
    }
523
524
    /**
525
     * @param string $value
526
     *
527
     * @return $this
528
     */
529
    public function withExecuteEndTime($value)
530
    {
531
        $this->data['ExecuteEndTime'] = $value;
532
        $this->options['form_params']['ExecuteEndTime'] = $value;
533
534
        return $this;
535
    }
536
537
    /**
538
     * @param string $value
539
     *
540
     * @return $this
541
     */
542
    public function withUserPk($value)
543
    {
544
        $this->data['UserPk'] = $value;
545
        $this->options['form_params']['UserPk'] = $value;
546
547
        return $this;
548
    }
549
550
    /**
551
     * @param string $value
552
     *
553
     * @return $this
554
     */
555
    public function withCreateStartTime($value)
556
    {
557
        $this->data['CreateStartTime'] = $value;
558
        $this->options['form_params']['CreateStartTime'] = $value;
559
560
        return $this;
561
    }
562
563
    /**
564
     * @param string $value
565
     *
566
     * @return $this
567
     */
568
    public function withOperators($value)
569
    {
570
        $this->data['Operators'] = $value;
571
        $this->options['form_params']['Operators'] = $value;
572
573
        return $this;
574
    }
575
576
    /**
577
     * @param string $value
578
     *
579
     * @return $this
580
     */
581
    public function withPageSize($value)
582
    {
583
        $this->data['PageSize'] = $value;
584
        $this->options['form_params']['PageSize'] = $value;
585
586
        return $this;
587
    }
588
589
    /**
590
     * @param string $value
591
     *
592
     * @return $this
593
     */
594
    public function withExecuteStartTime($value)
595
    {
596
        $this->data['ExecuteStartTime'] = $value;
597
        $this->options['form_params']['ExecuteStartTime'] = $value;
598
599
        return $this;
600
    }
601
602
    /**
603
     * @param string $value
604
     *
605
     * @return $this
606
     */
607
    public function withPageStart($value)
608
    {
609
        $this->data['PageStart'] = $value;
610
        $this->options['form_params']['PageStart'] = $value;
611
612
        return $this;
613
    }
614
615
    /**
616
     * @param string $value
617
     *
618
     * @return $this
619
     */
620
    public function withCreateEndTime($value)
621
    {
622
        $this->data['CreateEndTime'] = $value;
623
        $this->options['form_params']['CreateEndTime'] = $value;
624
625
        return $this;
626
    }
627
}
628
629
/**
630
 * @method string getScType()
631
 * @method string getUserPk()
632
 * @method string getOrgId()
633
 */
634
class ListServiceConnections extends Rpc
635
{
636
637
    /**
638
     * @param string $value
639
     *
640
     * @return $this
641
     */
642
    public function withScType($value)
643
    {
644
        $this->data['ScType'] = $value;
645
        $this->options['form_params']['ScType'] = $value;
646
647
        return $this;
648
    }
649
650
    /**
651
     * @param string $value
652
     *
653
     * @return $this
654
     */
655
    public function withUserPk($value)
656
    {
657
        $this->data['UserPk'] = $value;
658
        $this->options['form_params']['UserPk'] = $value;
659
660
        return $this;
661
    }
662
663
    /**
664
     * @param string $value
665
     *
666
     * @return $this
667
     */
668
    public function withOrgId($value)
669
    {
670
        $this->data['OrgId'] = $value;
671
        $this->options['form_params']['OrgId'] = $value;
672
673
        return $this;
674
    }
675
}
676