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 ( adafb5...9d0fba )
by
unknown
08:05
created

PutDeliveryChannel::withClientToken()   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\Config\V20190108;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method ActiveConfigRules activeConfigRules(array $options = [])
9
 * @method DeleteConfigRules deleteConfigRules(array $options = [])
10
 * @method DescribeCompliance describeCompliance(array $options = [])
11
 * @method DescribeComplianceSummary describeComplianceSummary(array $options = [])
12
 * @method DescribeConfigRule describeConfigRule(array $options = [])
13
 * @method DescribeConfigurationRecorder describeConfigurationRecorder(array $options = [])
14
 * @method DescribeDeliveryChannels describeDeliveryChannels(array $options = [])
15
 * @method DescribeDiscoveredResource describeDiscoveredResource(array $options = [])
16
 * @method DescribeEvaluationResults describeEvaluationResults(array $options = [])
17
 * @method GetDiscoveredResourceCounts getDiscoveredResourceCounts(array $options = [])
18
 * @method GetDiscoveredResourceSummary getDiscoveredResourceSummary(array $options = [])
19
 * @method GetResourceComplianceTimeline getResourceComplianceTimeline(array $options = [])
20
 * @method GetResourceConfigurationTimeline getResourceConfigurationTimeline(array $options = [])
21
 * @method GetSupportedResourceTypes getSupportedResourceTypes(array $options = [])
22
 * @method ListConfigRules listConfigRules(array $options = [])
23
 * @method ListDiscoveredResources listDiscoveredResources(array $options = [])
24
 * @method PutConfigRule putConfigRule(array $options = [])
25
 * @method PutConfigurationRecorder putConfigurationRecorder(array $options = [])
26
 * @method PutDeliveryChannel putDeliveryChannel(array $options = [])
27
 * @method PutEvaluations putEvaluations(array $options = [])
28
 * @method StartConfigRuleEvaluation startConfigRuleEvaluation(array $options = [])
29
 * @method StartConfigurationRecorder startConfigurationRecorder(array $options = [])
30
 * @method StopConfigRules stopConfigRules(array $options = [])
31
 */
32
class ConfigApiResolver extends ApiResolver
33
{
34
}
35
36
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
37
{
38
    /** @var string */
39
    public $product = 'Config';
40
41
    /** @var string */
42
    public $version = '2019-01-08';
43
44
    /** @var string */
45
    public $serviceCode = 'Config';
46
}
47
48
/**
49
 * @method string getConfigRuleIds()
50
 * @method $this withConfigRuleIds($value)
51
 */
52
class ActiveConfigRules extends Rpc
53
{
54
55
    /** @var string */
56
    public $method = 'POST';
57
}
58
59
/**
60
 * @method string getConfigRuleIds()
61
 * @method $this withConfigRuleIds($value)
62
 */
63
class DeleteConfigRules extends Rpc
64
{
65
66
    /** @var string */
67
    public $method = 'POST';
68
}
69
70
/**
71
 * @method string getConfigRuleId()
72
 * @method $this withConfigRuleId($value)
73
 * @method string getResourceId()
74
 * @method $this withResourceId($value)
75
 * @method string getMultiAccount()
76
 * @method $this withMultiAccount($value)
77
 * @method string getResourceType()
78
 * @method $this withResourceType($value)
79
 * @method string getComplianceType()
80
 * @method $this withComplianceType($value)
81
 * @method string getMemberId()
82
 * @method $this withMemberId($value)
83
 */
84
class DescribeCompliance extends Rpc
85
{
86
}
87
88
/**
89
 * @method string getMultiAccount()
90
 * @method $this withMultiAccount($value)
91
 * @method string getMemberId()
92
 * @method $this withMemberId($value)
93
 */
94
class DescribeComplianceSummary extends Rpc
95
{
96
}
97
98
/**
99
 * @method string getConfigRuleId()
100
 * @method $this withConfigRuleId($value)
101
 * @method string getMultiAccount()
102
 * @method $this withMultiAccount($value)
103
 * @method string getMemberId()
104
 * @method $this withMemberId($value)
105
 */
106
class DescribeConfigRule extends Rpc
107
{
108
}
109
110
class DescribeConfigurationRecorder extends Rpc
111
{
112
}
113
114
/**
115
 * @method string getDeliveryChannelIds()
116
 * @method $this withDeliveryChannelIds($value)
117
 */
118
class DescribeDeliveryChannels extends Rpc
119
{
120
}
121
122
/**
123
 * @method string getResourceId()
124
 * @method $this withResourceId($value)
125
 * @method string getMultiAccount()
126
 * @method $this withMultiAccount($value)
127
 * @method string getResourceType()
128
 * @method $this withResourceType($value)
129
 * @method string getRegion()
130
 * @method $this withRegion($value)
131
 * @method string getMemberId()
132
 * @method $this withMemberId($value)
133
 */
134
class DescribeDiscoveredResource extends Rpc
135
{
136
}
137
138
/**
139
 * @method string getConfigRuleId()
140
 * @method $this withConfigRuleId($value)
141
 * @method string getMultiAccount()
142
 * @method $this withMultiAccount($value)
143
 * @method string getPageNumber()
144
 * @method $this withPageNumber($value)
145
 * @method string getPageSize()
146
 * @method $this withPageSize($value)
147
 * @method string getComplianceType()
148
 * @method $this withComplianceType($value)
149
 * @method string getResourceId()
150
 * @method $this withResourceId($value)
151
 * @method string getResourceType()
152
 * @method $this withResourceType($value)
153
 * @method string getMemberId()
154
 * @method $this withMemberId($value)
155
 */
156
class DescribeEvaluationResults extends Rpc
157
{
158
}
159
160
/**
161
 * @method string getMultiAccount()
162
 * @method $this withMultiAccount($value)
163
 * @method string getGroupByKey()
164
 * @method $this withGroupByKey($value)
165
 * @method string getMemberId()
166
 * @method $this withMemberId($value)
167
 */
168
class GetDiscoveredResourceCounts extends Rpc
169
{
170
}
171
172
/**
173
 * @method string getMultiAccount()
174
 * @method $this withMultiAccount($value)
175
 * @method string getMemberId()
176
 * @method $this withMemberId($value)
177
 */
178
class GetDiscoveredResourceSummary extends Rpc
179
{
180
}
181
182
/**
183
 * @method string getMultiAccount()
184
 * @method $this withMultiAccount($value)
185
 * @method string getStartTime()
186
 * @method $this withStartTime($value)
187
 * @method string getNextToken()
188
 * @method $this withNextToken($value)
189
 * @method string getLimit()
190
 * @method $this withLimit($value)
191
 * @method string getResourceId()
192
 * @method $this withResourceId($value)
193
 * @method string getEndTime()
194
 * @method $this withEndTime($value)
195
 * @method string getResourceType()
196
 * @method $this withResourceType($value)
197
 * @method string getRegion()
198
 * @method $this withRegion($value)
199
 * @method string getMemberId()
200
 * @method $this withMemberId($value)
201
 */
202
class GetResourceComplianceTimeline extends Rpc
203
{
204
}
205
206
/**
207
 * @method string getMultiAccount()
208
 * @method $this withMultiAccount($value)
209
 * @method string getStartTime()
210
 * @method $this withStartTime($value)
211
 * @method string getNextToken()
212
 * @method $this withNextToken($value)
213
 * @method string getLimit()
214
 * @method $this withLimit($value)
215
 * @method string getResourceId()
216
 * @method $this withResourceId($value)
217
 * @method string getEndTime()
218
 * @method $this withEndTime($value)
219
 * @method string getResourceType()
220
 * @method $this withResourceType($value)
221
 * @method string getRegion()
222
 * @method $this withRegion($value)
223
 * @method string getMemberId()
224
 * @method $this withMemberId($value)
225
 */
226
class GetResourceConfigurationTimeline extends Rpc
227
{
228
}
229
230
class GetSupportedResourceTypes extends Rpc
231
{
232
}
233
234
/**
235
 * @method string getMultiAccount()
236
 * @method $this withMultiAccount($value)
237
 * @method string getMessageType()
238
 * @method $this withMessageType($value)
239
 * @method string getConfigRuleState()
240
 * @method $this withConfigRuleState($value)
241
 * @method string getPageNumber()
242
 * @method $this withPageNumber($value)
243
 * @method string getPageSize()
244
 * @method $this withPageSize($value)
245
 * @method string getComplianceType()
246
 * @method $this withComplianceType($value)
247
 * @method string getConfigRuleSceneId()
248
 * @method $this withConfigRuleSceneId($value)
249
 * @method string getRiskLevel()
250
 * @method $this withRiskLevel($value)
251
 * @method string getMemberId()
252
 * @method $this withMemberId($value)
253
 */
254
class ListConfigRules extends Rpc
255
{
256
}
257
258
/**
259
 * @method string getResourceDeleted()
260
 * @method $this withResourceDeleted($value)
261
 * @method string getMultiAccount()
262
 * @method $this withMultiAccount($value)
263
 * @method string getRegions()
264
 * @method $this withRegions($value)
265
 * @method string getPageNumber()
266
 * @method $this withPageNumber($value)
267
 * @method string getPageSize()
268
 * @method $this withPageSize($value)
269
 * @method string getComplianceType()
270
 * @method $this withComplianceType($value)
271
 * @method string getResourceId()
272
 * @method $this withResourceId($value)
273
 * @method string getResourceTypes()
274
 * @method $this withResourceTypes($value)
275
 * @method string getMemberId()
276
 * @method $this withMemberId($value)
277
 */
278
class ListDiscoveredResources extends Rpc
279
{
280
}
281
282
/**
283
 * @method string getConfigRuleId()
284
 * @method string getMultiAccount()
285
 * @method $this withMultiAccount($value)
286
 * @method string getClientToken()
287
 * @method string getDescription()
288
 * @method string getSourceIdentifier()
289
 * @method string getSourceMaximumExecutionFrequency()
290
 * @method string getScopeComplianceResourceTypes()
291
 * @method string getSourceDetailMessageType()
292
 * @method string getRiskLevel()
293
 * @method string getSourceOwner()
294
 * @method string getInputParameters()
295
 * @method string getConfigRuleName()
296
 * @method string getScopeComplianceResourceId()
297
 * @method string getMemberId()
298
 * @method $this withMemberId($value)
299
 */
300
class PutConfigRule extends Rpc
301
{
302
303
    /** @var string */
304
    public $method = 'POST';
305
306
    /**
307
     * @param string $value
308
     *
309
     * @return $this
310
     */
311
    public function withConfigRuleId($value)
312
    {
313
        $this->data['ConfigRuleId'] = $value;
314
        $this->options['form_params']['ConfigRuleId'] = $value;
315
316
        return $this;
317
    }
318
319
    /**
320
     * @param string $value
321
     *
322
     * @return $this
323
     */
324
    public function withClientToken($value)
325
    {
326
        $this->data['ClientToken'] = $value;
327
        $this->options['form_params']['ClientToken'] = $value;
328
329
        return $this;
330
    }
331
332
    /**
333
     * @param string $value
334
     *
335
     * @return $this
336
     */
337
    public function withDescription($value)
338
    {
339
        $this->data['Description'] = $value;
340
        $this->options['form_params']['Description'] = $value;
341
342
        return $this;
343
    }
344
345
    /**
346
     * @param string $value
347
     *
348
     * @return $this
349
     */
350
    public function withSourceIdentifier($value)
351
    {
352
        $this->data['SourceIdentifier'] = $value;
353
        $this->options['form_params']['SourceIdentifier'] = $value;
354
355
        return $this;
356
    }
357
358
    /**
359
     * @param string $value
360
     *
361
     * @return $this
362
     */
363
    public function withSourceMaximumExecutionFrequency($value)
364
    {
365
        $this->data['SourceMaximumExecutionFrequency'] = $value;
366
        $this->options['form_params']['SourceMaximumExecutionFrequency'] = $value;
367
368
        return $this;
369
    }
370
371
    /**
372
     * @param string $value
373
     *
374
     * @return $this
375
     */
376
    public function withScopeComplianceResourceTypes($value)
377
    {
378
        $this->data['ScopeComplianceResourceTypes'] = $value;
379
        $this->options['form_params']['ScopeComplianceResourceTypes'] = $value;
380
381
        return $this;
382
    }
383
384
    /**
385
     * @param string $value
386
     *
387
     * @return $this
388
     */
389
    public function withSourceDetailMessageType($value)
390
    {
391
        $this->data['SourceDetailMessageType'] = $value;
392
        $this->options['form_params']['SourceDetailMessageType'] = $value;
393
394
        return $this;
395
    }
396
397
    /**
398
     * @param string $value
399
     *
400
     * @return $this
401
     */
402
    public function withRiskLevel($value)
403
    {
404
        $this->data['RiskLevel'] = $value;
405
        $this->options['form_params']['RiskLevel'] = $value;
406
407
        return $this;
408
    }
409
410
    /**
411
     * @param string $value
412
     *
413
     * @return $this
414
     */
415
    public function withSourceOwner($value)
416
    {
417
        $this->data['SourceOwner'] = $value;
418
        $this->options['form_params']['SourceOwner'] = $value;
419
420
        return $this;
421
    }
422
423
    /**
424
     * @param string $value
425
     *
426
     * @return $this
427
     */
428
    public function withInputParameters($value)
429
    {
430
        $this->data['InputParameters'] = $value;
431
        $this->options['form_params']['InputParameters'] = $value;
432
433
        return $this;
434
    }
435
436
    /**
437
     * @param string $value
438
     *
439
     * @return $this
440
     */
441
    public function withConfigRuleName($value)
442
    {
443
        $this->data['ConfigRuleName'] = $value;
444
        $this->options['form_params']['ConfigRuleName'] = $value;
445
446
        return $this;
447
    }
448
449
    /**
450
     * @param string $value
451
     *
452
     * @return $this
453
     */
454
    public function withScopeComplianceResourceId($value)
455
    {
456
        $this->data['ScopeComplianceResourceId'] = $value;
457
        $this->options['form_params']['ScopeComplianceResourceId'] = $value;
458
459
        return $this;
460
    }
461
}
462
463
/**
464
 * @method string getResourceTypes()
465
 */
466
class PutConfigurationRecorder extends Rpc
467
{
468
469
    /** @var string */
470
    public $method = 'POST';
471
472
    /**
473
     * @param string $value
474
     *
475
     * @return $this
476
     */
477
    public function withResourceTypes($value)
478
    {
479
        $this->data['ResourceTypes'] = $value;
480
        $this->options['form_params']['ResourceTypes'] = $value;
481
482
        return $this;
483
    }
484
}
485
486
/**
487
 * @method string getClientToken()
488
 * @method string getDescription()
489
 * @method string getDeliveryChannelTargetArn()
490
 * @method string getDeliveryChannelCondition()
491
 * @method string getDeliveryChannelAssumeRoleArn()
492
 * @method string getDeliveryChannelName()
493
 * @method string getDeliveryChannelId()
494
 * @method string getDeliveryChannelType()
495
 * @method string getStatus()
496
 */
497
class PutDeliveryChannel extends Rpc
498
{
499
500
    /** @var string */
501
    public $method = 'POST';
502
503
    /**
504
     * @param string $value
505
     *
506
     * @return $this
507
     */
508
    public function withClientToken($value)
509
    {
510
        $this->data['ClientToken'] = $value;
511
        $this->options['form_params']['ClientToken'] = $value;
512
513
        return $this;
514
    }
515
516
    /**
517
     * @param string $value
518
     *
519
     * @return $this
520
     */
521
    public function withDescription($value)
522
    {
523
        $this->data['Description'] = $value;
524
        $this->options['form_params']['Description'] = $value;
525
526
        return $this;
527
    }
528
529
    /**
530
     * @param string $value
531
     *
532
     * @return $this
533
     */
534
    public function withDeliveryChannelTargetArn($value)
535
    {
536
        $this->data['DeliveryChannelTargetArn'] = $value;
537
        $this->options['form_params']['DeliveryChannelTargetArn'] = $value;
538
539
        return $this;
540
    }
541
542
    /**
543
     * @param string $value
544
     *
545
     * @return $this
546
     */
547
    public function withDeliveryChannelCondition($value)
548
    {
549
        $this->data['DeliveryChannelCondition'] = $value;
550
        $this->options['form_params']['DeliveryChannelCondition'] = $value;
551
552
        return $this;
553
    }
554
555
    /**
556
     * @param string $value
557
     *
558
     * @return $this
559
     */
560
    public function withDeliveryChannelAssumeRoleArn($value)
561
    {
562
        $this->data['DeliveryChannelAssumeRoleArn'] = $value;
563
        $this->options['form_params']['DeliveryChannelAssumeRoleArn'] = $value;
564
565
        return $this;
566
    }
567
568
    /**
569
     * @param string $value
570
     *
571
     * @return $this
572
     */
573
    public function withDeliveryChannelName($value)
574
    {
575
        $this->data['DeliveryChannelName'] = $value;
576
        $this->options['form_params']['DeliveryChannelName'] = $value;
577
578
        return $this;
579
    }
580
581
    /**
582
     * @param string $value
583
     *
584
     * @return $this
585
     */
586
    public function withDeliveryChannelId($value)
587
    {
588
        $this->data['DeliveryChannelId'] = $value;
589
        $this->options['form_params']['DeliveryChannelId'] = $value;
590
591
        return $this;
592
    }
593
594
    /**
595
     * @param string $value
596
     *
597
     * @return $this
598
     */
599
    public function withDeliveryChannelType($value)
600
    {
601
        $this->data['DeliveryChannelType'] = $value;
602
        $this->options['form_params']['DeliveryChannelType'] = $value;
603
604
        return $this;
605
    }
606
607
    /**
608
     * @param string $value
609
     *
610
     * @return $this
611
     */
612
    public function withStatus($value)
613
    {
614
        $this->data['Status'] = $value;
615
        $this->options['form_params']['Status'] = $value;
616
617
        return $this;
618
    }
619
}
620
621
/**
622
 * @method string getEvaluations()
623
 * @method string getResultToken()
624
 */
625
class PutEvaluations extends Rpc
626
{
627
628
    /** @var string */
629
    public $method = 'POST';
630
631
    /**
632
     * @param string $value
633
     *
634
     * @return $this
635
     */
636
    public function withEvaluations($value)
637
    {
638
        $this->data['Evaluations'] = $value;
639
        $this->options['form_params']['Evaluations'] = $value;
640
641
        return $this;
642
    }
643
644
    /**
645
     * @param string $value
646
     *
647
     * @return $this
648
     */
649
    public function withResultToken($value)
650
    {
651
        $this->data['ResultToken'] = $value;
652
        $this->options['form_params']['ResultToken'] = $value;
653
654
        return $this;
655
    }
656
}
657
658
/**
659
 * @method string getConfigRuleId()
660
 * @method $this withConfigRuleId($value)
661
 * @method string getMultiAccount()
662
 * @method $this withMultiAccount($value)
663
 * @method string getMemberId()
664
 * @method $this withMemberId($value)
665
 */
666
class StartConfigRuleEvaluation extends Rpc
667
{
668
669
    /** @var string */
670
    public $method = 'POST';
671
}
672
673
/**
674
 * @method string getEnterpriseEdition()
675
 */
676
class StartConfigurationRecorder extends Rpc
677
{
678
679
    /** @var string */
680
    public $method = 'POST';
681
682
    /**
683
     * @param string $value
684
     *
685
     * @return $this
686
     */
687
    public function withEnterpriseEdition($value)
688
    {
689
        $this->data['EnterpriseEdition'] = $value;
690
        $this->options['form_params']['EnterpriseEdition'] = $value;
691
692
        return $this;
693
    }
694
}
695
696
/**
697
 * @method string getConfigRuleIds()
698
 * @method $this withConfigRuleIds($value)
699
 */
700
class StopConfigRules extends Rpc
701
{
702
703
    /** @var string */
704
    public $method = 'POST';
705
}
706