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 ( b1d9ac...6367e6 )
by
unknown
09:13
created

PutConfigRule::withScopeComplianceResourceIds()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 6
c 0
b 0
f 0
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 GetAggregateDiscoveredResource getAggregateDiscoveredResource(array $options = [])
18
 * @method GetDiscoveredResourceCounts getDiscoveredResourceCounts(array $options = [])
19
 * @method GetDiscoveredResourceSummary getDiscoveredResourceSummary(array $options = [])
20
 * @method GetResourceComplianceTimeline getResourceComplianceTimeline(array $options = [])
21
 * @method GetResourceConfigurationTimeline getResourceConfigurationTimeline(array $options = [])
22
 * @method GetSupportedResourceTypes getSupportedResourceTypes(array $options = [])
23
 * @method ListAggregateDiscoveredResources listAggregateDiscoveredResources(array $options = [])
24
 * @method ListConfigRules listConfigRules(array $options = [])
25
 * @method ListDiscoveredResources listDiscoveredResources(array $options = [])
26
 * @method ListRemediationTemplates listRemediationTemplates(array $options = [])
27
 * @method PutConfigRule putConfigRule(array $options = [])
28
 * @method PutConfigurationRecorder putConfigurationRecorder(array $options = [])
29
 * @method PutDeliveryChannel putDeliveryChannel(array $options = [])
30
 * @method PutEvaluations putEvaluations(array $options = [])
31
 * @method StartConfigRuleEvaluation startConfigRuleEvaluation(array $options = [])
32
 * @method StartConfigurationRecorder startConfigurationRecorder(array $options = [])
33
 * @method StopConfigRules stopConfigRules(array $options = [])
34
 */
35
class ConfigApiResolver extends ApiResolver
36
{
37
}
38
39
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
40
{
41
    /** @var string */
42
    public $product = 'Config';
43
44
    /** @var string */
45
    public $version = '2019-01-08';
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 getResourceId()
162
 * @method $this withResourceId($value)
163
 * @method string getResourceOwnerId()
164
 * @method $this withResourceOwnerId($value)
165
 * @method string getAggregatorId()
166
 * @method $this withAggregatorId($value)
167
 * @method string getResourceType()
168
 * @method $this withResourceType($value)
169
 * @method string getRegion()
170
 * @method $this withRegion($value)
171
 */
172
class GetAggregateDiscoveredResource extends Rpc
173
{
174
}
175
176
/**
177
 * @method string getMultiAccount()
178
 * @method $this withMultiAccount($value)
179
 * @method string getGroupByKey()
180
 * @method $this withGroupByKey($value)
181
 * @method string getMemberId()
182
 * @method $this withMemberId($value)
183
 */
184
class GetDiscoveredResourceCounts extends Rpc
185
{
186
}
187
188
/**
189
 * @method string getMultiAccount()
190
 * @method $this withMultiAccount($value)
191
 * @method string getMemberId()
192
 * @method $this withMemberId($value)
193
 */
194
class GetDiscoveredResourceSummary extends Rpc
195
{
196
}
197
198
/**
199
 * @method string getMultiAccount()
200
 * @method $this withMultiAccount($value)
201
 * @method string getStartTime()
202
 * @method $this withStartTime($value)
203
 * @method string getNextToken()
204
 * @method $this withNextToken($value)
205
 * @method string getLimit()
206
 * @method $this withLimit($value)
207
 * @method string getResourceId()
208
 * @method $this withResourceId($value)
209
 * @method string getEndTime()
210
 * @method $this withEndTime($value)
211
 * @method string getResourceType()
212
 * @method $this withResourceType($value)
213
 * @method string getRegion()
214
 * @method $this withRegion($value)
215
 * @method string getMemberId()
216
 * @method $this withMemberId($value)
217
 */
218
class GetResourceComplianceTimeline extends Rpc
219
{
220
}
221
222
/**
223
 * @method string getMultiAccount()
224
 * @method $this withMultiAccount($value)
225
 * @method string getStartTime()
226
 * @method $this withStartTime($value)
227
 * @method string getNextToken()
228
 * @method $this withNextToken($value)
229
 * @method string getLimit()
230
 * @method $this withLimit($value)
231
 * @method string getResourceId()
232
 * @method $this withResourceId($value)
233
 * @method string getEndTime()
234
 * @method $this withEndTime($value)
235
 * @method string getResourceType()
236
 * @method $this withResourceType($value)
237
 * @method string getRegion()
238
 * @method $this withRegion($value)
239
 * @method string getMemberId()
240
 * @method $this withMemberId($value)
241
 */
242
class GetResourceConfigurationTimeline extends Rpc
243
{
244
}
245
246
class GetSupportedResourceTypes extends Rpc
247
{
248
}
249
250
/**
251
 * @method string getResourceDeleted()
252
 * @method $this withResourceDeleted($value)
253
 * @method string getResourceOwnerId()
254
 * @method $this withResourceOwnerId($value)
255
 * @method string getRegions()
256
 * @method $this withRegions($value)
257
 * @method string getAggregatorId()
258
 * @method $this withAggregatorId($value)
259
 * @method string getPageNumber()
260
 * @method $this withPageNumber($value)
261
 * @method string getFolderId()
262
 * @method $this withFolderId($value)
263
 * @method string getPageSize()
264
 * @method $this withPageSize($value)
265
 * @method string getComplianceType()
266
 * @method $this withComplianceType($value)
267
 * @method string getResourceId()
268
 * @method $this withResourceId($value)
269
 * @method string getResourceTypes()
270
 * @method $this withResourceTypes($value)
271
 */
272
class ListAggregateDiscoveredResources extends Rpc
273
{
274
}
275
276
/**
277
 * @method string getMultiAccount()
278
 * @method $this withMultiAccount($value)
279
 * @method string getFilterInCompliancePack()
280
 * @method $this withFilterInCompliancePack($value)
281
 * @method string getMessageType()
282
 * @method $this withMessageType($value)
283
 * @method string getConfigRuleState()
284
 * @method $this withConfigRuleState($value)
285
 * @method string getFilterInCompliancePackExcludeIds()
286
 * @method $this withFilterInCompliancePackExcludeIds($value)
287
 * @method string getPageNumber()
288
 * @method $this withPageNumber($value)
289
 * @method string getPageSize()
290
 * @method $this withPageSize($value)
291
 * @method string getCompliancePackId()
292
 * @method $this withCompliancePackId($value)
293
 * @method string getComplianceType()
294
 * @method $this withComplianceType($value)
295
 * @method string getConfigRuleSceneId()
296
 * @method $this withConfigRuleSceneId($value)
297
 * @method string getRiskLevel()
298
 * @method $this withRiskLevel($value)
299
 * @method string getConfigRuleName()
300
 * @method $this withConfigRuleName($value)
301
 * @method string getMemberId()
302
 * @method $this withMemberId($value)
303
 */
304
class ListConfigRules extends Rpc
305
{
306
}
307
308
/**
309
 * @method string getResourceDeleted()
310
 * @method $this withResourceDeleted($value)
311
 * @method string getMultiAccount()
312
 * @method $this withMultiAccount($value)
313
 * @method string getRegions()
314
 * @method $this withRegions($value)
315
 * @method string getPageNumber()
316
 * @method $this withPageNumber($value)
317
 * @method string getPageSize()
318
 * @method $this withPageSize($value)
319
 * @method string getComplianceType()
320
 * @method $this withComplianceType($value)
321
 * @method string getResourceId()
322
 * @method $this withResourceId($value)
323
 * @method string getResourceTypes()
324
 * @method $this withResourceTypes($value)
325
 * @method string getMemberId()
326
 * @method $this withMemberId($value)
327
 */
328
class ListDiscoveredResources extends Rpc
329
{
330
}
331
332
/**
333
 * @method string getManagedRuleIdentifier()
334
 * @method $this withManagedRuleIdentifier($value)
335
 * @method string getRemediationType()
336
 * @method $this withRemediationType($value)
337
 */
338
class ListRemediationTemplates extends Rpc
339
{
340
341
    /** @var string */
342
    public $method = 'POST';
343
}
344
345
/**
346
 * @method string getConfigRuleId()
347
 * @method string getMultiAccount()
348
 * @method $this withMultiAccount($value)
349
 * @method string getClientToken()
350
 * @method string getDescription()
351
 * @method string getSourceIdentifier()
352
 * @method string getSourceMaximumExecutionFrequency()
353
 * @method string getScopeComplianceResourceTypes()
354
 * @method string getSourceDetailMessageType()
355
 * @method string getRiskLevel()
356
 * @method string getSourceOwner()
357
 * @method string getInputParameters()
358
 * @method string getScopeComplianceExcludeResourceIds()
359
 * @method string getConfigRuleName()
360
 * @method string getScopeComplianceResourceId()
361
 * @method string getScopeComplianceResourceIds()
362
 * @method string getScopeComplianceRegionIds()
363
 * @method string getMemberId()
364
 * @method $this withMemberId($value)
365
 */
366
class PutConfigRule extends Rpc
367
{
368
369
    /** @var string */
370
    public $method = 'POST';
371
372
    /**
373
     * @param string $value
374
     *
375
     * @return $this
376
     */
377
    public function withConfigRuleId($value)
378
    {
379
        $this->data['ConfigRuleId'] = $value;
380
        $this->options['form_params']['ConfigRuleId'] = $value;
381
382
        return $this;
383
    }
384
385
    /**
386
     * @param string $value
387
     *
388
     * @return $this
389
     */
390
    public function withClientToken($value)
391
    {
392
        $this->data['ClientToken'] = $value;
393
        $this->options['form_params']['ClientToken'] = $value;
394
395
        return $this;
396
    }
397
398
    /**
399
     * @param string $value
400
     *
401
     * @return $this
402
     */
403
    public function withDescription($value)
404
    {
405
        $this->data['Description'] = $value;
406
        $this->options['form_params']['Description'] = $value;
407
408
        return $this;
409
    }
410
411
    /**
412
     * @param string $value
413
     *
414
     * @return $this
415
     */
416
    public function withSourceIdentifier($value)
417
    {
418
        $this->data['SourceIdentifier'] = $value;
419
        $this->options['form_params']['SourceIdentifier'] = $value;
420
421
        return $this;
422
    }
423
424
    /**
425
     * @param string $value
426
     *
427
     * @return $this
428
     */
429
    public function withSourceMaximumExecutionFrequency($value)
430
    {
431
        $this->data['SourceMaximumExecutionFrequency'] = $value;
432
        $this->options['form_params']['SourceMaximumExecutionFrequency'] = $value;
433
434
        return $this;
435
    }
436
437
    /**
438
     * @param string $value
439
     *
440
     * @return $this
441
     */
442
    public function withScopeComplianceResourceTypes($value)
443
    {
444
        $this->data['ScopeComplianceResourceTypes'] = $value;
445
        $this->options['form_params']['ScopeComplianceResourceTypes'] = $value;
446
447
        return $this;
448
    }
449
450
    /**
451
     * @param string $value
452
     *
453
     * @return $this
454
     */
455
    public function withSourceDetailMessageType($value)
456
    {
457
        $this->data['SourceDetailMessageType'] = $value;
458
        $this->options['form_params']['SourceDetailMessageType'] = $value;
459
460
        return $this;
461
    }
462
463
    /**
464
     * @param string $value
465
     *
466
     * @return $this
467
     */
468
    public function withRiskLevel($value)
469
    {
470
        $this->data['RiskLevel'] = $value;
471
        $this->options['form_params']['RiskLevel'] = $value;
472
473
        return $this;
474
    }
475
476
    /**
477
     * @param string $value
478
     *
479
     * @return $this
480
     */
481
    public function withSourceOwner($value)
482
    {
483
        $this->data['SourceOwner'] = $value;
484
        $this->options['form_params']['SourceOwner'] = $value;
485
486
        return $this;
487
    }
488
489
    /**
490
     * @param string $value
491
     *
492
     * @return $this
493
     */
494
    public function withInputParameters($value)
495
    {
496
        $this->data['InputParameters'] = $value;
497
        $this->options['form_params']['InputParameters'] = $value;
498
499
        return $this;
500
    }
501
502
    /**
503
     * @param string $value
504
     *
505
     * @return $this
506
     */
507
    public function withScopeComplianceExcludeResourceIds($value)
508
    {
509
        $this->data['ScopeComplianceExcludeResourceIds'] = $value;
510
        $this->options['form_params']['ScopeComplianceExcludeResourceIds'] = $value;
511
512
        return $this;
513
    }
514
515
    /**
516
     * @param string $value
517
     *
518
     * @return $this
519
     */
520
    public function withConfigRuleName($value)
521
    {
522
        $this->data['ConfigRuleName'] = $value;
523
        $this->options['form_params']['ConfigRuleName'] = $value;
524
525
        return $this;
526
    }
527
528
    /**
529
     * @param string $value
530
     *
531
     * @return $this
532
     */
533
    public function withScopeComplianceResourceId($value)
534
    {
535
        $this->data['ScopeComplianceResourceId'] = $value;
536
        $this->options['form_params']['ScopeComplianceResourceId'] = $value;
537
538
        return $this;
539
    }
540
541
    /**
542
     * @param string $value
543
     *
544
     * @return $this
545
     */
546
    public function withScopeComplianceResourceIds($value)
547
    {
548
        $this->data['ScopeComplianceResourceIds'] = $value;
549
        $this->options['form_params']['ScopeComplianceResourceIds'] = $value;
550
551
        return $this;
552
    }
553
554
    /**
555
     * @param string $value
556
     *
557
     * @return $this
558
     */
559
    public function withScopeComplianceRegionIds($value)
560
    {
561
        $this->data['ScopeComplianceRegionIds'] = $value;
562
        $this->options['form_params']['ScopeComplianceRegionIds'] = $value;
563
564
        return $this;
565
    }
566
}
567
568
/**
569
 * @method string getResourceTypes()
570
 */
571
class PutConfigurationRecorder extends Rpc
572
{
573
574
    /** @var string */
575
    public $method = 'POST';
576
577
    /**
578
     * @param string $value
579
     *
580
     * @return $this
581
     */
582
    public function withResourceTypes($value)
583
    {
584
        $this->data['ResourceTypes'] = $value;
585
        $this->options['form_params']['ResourceTypes'] = $value;
586
587
        return $this;
588
    }
589
}
590
591
/**
592
 * @method string getClientToken()
593
 * @method string getDescription()
594
 * @method string getDeliveryChannelTargetArn()
595
 * @method string getDeliveryChannelCondition()
596
 * @method string getDeliveryChannelAssumeRoleArn()
597
 * @method string getDeliveryChannelName()
598
 * @method string getDeliveryChannelId()
599
 * @method string getDeliveryChannelType()
600
 * @method string getStatus()
601
 */
602
class PutDeliveryChannel extends Rpc
603
{
604
605
    /** @var string */
606
    public $method = 'POST';
607
608
    /**
609
     * @param string $value
610
     *
611
     * @return $this
612
     */
613
    public function withClientToken($value)
614
    {
615
        $this->data['ClientToken'] = $value;
616
        $this->options['form_params']['ClientToken'] = $value;
617
618
        return $this;
619
    }
620
621
    /**
622
     * @param string $value
623
     *
624
     * @return $this
625
     */
626
    public function withDescription($value)
627
    {
628
        $this->data['Description'] = $value;
629
        $this->options['form_params']['Description'] = $value;
630
631
        return $this;
632
    }
633
634
    /**
635
     * @param string $value
636
     *
637
     * @return $this
638
     */
639
    public function withDeliveryChannelTargetArn($value)
640
    {
641
        $this->data['DeliveryChannelTargetArn'] = $value;
642
        $this->options['form_params']['DeliveryChannelTargetArn'] = $value;
643
644
        return $this;
645
    }
646
647
    /**
648
     * @param string $value
649
     *
650
     * @return $this
651
     */
652
    public function withDeliveryChannelCondition($value)
653
    {
654
        $this->data['DeliveryChannelCondition'] = $value;
655
        $this->options['form_params']['DeliveryChannelCondition'] = $value;
656
657
        return $this;
658
    }
659
660
    /**
661
     * @param string $value
662
     *
663
     * @return $this
664
     */
665
    public function withDeliveryChannelAssumeRoleArn($value)
666
    {
667
        $this->data['DeliveryChannelAssumeRoleArn'] = $value;
668
        $this->options['form_params']['DeliveryChannelAssumeRoleArn'] = $value;
669
670
        return $this;
671
    }
672
673
    /**
674
     * @param string $value
675
     *
676
     * @return $this
677
     */
678
    public function withDeliveryChannelName($value)
679
    {
680
        $this->data['DeliveryChannelName'] = $value;
681
        $this->options['form_params']['DeliveryChannelName'] = $value;
682
683
        return $this;
684
    }
685
686
    /**
687
     * @param string $value
688
     *
689
     * @return $this
690
     */
691
    public function withDeliveryChannelId($value)
692
    {
693
        $this->data['DeliveryChannelId'] = $value;
694
        $this->options['form_params']['DeliveryChannelId'] = $value;
695
696
        return $this;
697
    }
698
699
    /**
700
     * @param string $value
701
     *
702
     * @return $this
703
     */
704
    public function withDeliveryChannelType($value)
705
    {
706
        $this->data['DeliveryChannelType'] = $value;
707
        $this->options['form_params']['DeliveryChannelType'] = $value;
708
709
        return $this;
710
    }
711
712
    /**
713
     * @param string $value
714
     *
715
     * @return $this
716
     */
717
    public function withStatus($value)
718
    {
719
        $this->data['Status'] = $value;
720
        $this->options['form_params']['Status'] = $value;
721
722
        return $this;
723
    }
724
}
725
726
/**
727
 * @method string getEvaluations()
728
 * @method string getDeleteMode()
729
 * @method string getResultToken()
730
 */
731
class PutEvaluations extends Rpc
732
{
733
734
    /** @var string */
735
    public $method = 'POST';
736
737
    /**
738
     * @param string $value
739
     *
740
     * @return $this
741
     */
742
    public function withEvaluations($value)
743
    {
744
        $this->data['Evaluations'] = $value;
745
        $this->options['form_params']['Evaluations'] = $value;
746
747
        return $this;
748
    }
749
750
    /**
751
     * @param string $value
752
     *
753
     * @return $this
754
     */
755
    public function withDeleteMode($value)
756
    {
757
        $this->data['DeleteMode'] = $value;
758
        $this->options['form_params']['DeleteMode'] = $value;
759
760
        return $this;
761
    }
762
763
    /**
764
     * @param string $value
765
     *
766
     * @return $this
767
     */
768
    public function withResultToken($value)
769
    {
770
        $this->data['ResultToken'] = $value;
771
        $this->options['form_params']['ResultToken'] = $value;
772
773
        return $this;
774
    }
775
}
776
777
/**
778
 * @method string getConfigRuleId()
779
 * @method $this withConfigRuleId($value)
780
 * @method string getMultiAccount()
781
 * @method $this withMultiAccount($value)
782
 * @method string getCompliancePackId()
783
 * @method $this withCompliancePackId($value)
784
 * @method string getRevertEvaluation()
785
 * @method $this withRevertEvaluation($value)
786
 * @method string getMemberId()
787
 * @method $this withMemberId($value)
788
 */
789
class StartConfigRuleEvaluation extends Rpc
790
{
791
792
    /** @var string */
793
    public $method = 'POST';
794
}
795
796
/**
797
 * @method string getEnterpriseEdition()
798
 */
799
class StartConfigurationRecorder extends Rpc
800
{
801
802
    /** @var string */
803
    public $method = 'POST';
804
805
    /**
806
     * @param string $value
807
     *
808
     * @return $this
809
     */
810
    public function withEnterpriseEdition($value)
811
    {
812
        $this->data['EnterpriseEdition'] = $value;
813
        $this->options['form_params']['EnterpriseEdition'] = $value;
814
815
        return $this;
816
    }
817
}
818
819
/**
820
 * @method string getConfigRuleIds()
821
 * @method $this withConfigRuleIds($value)
822
 */
823
class StopConfigRules extends Rpc
824
{
825
826
    /** @var string */
827
    public $method = 'POST';
828
}
829