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 ( 823606...48c9dd )
by
unknown
07:20
created

ListStackEvents::withLogicalResourceId()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 8
rs 10
cc 2
nc 2
nop 1
1
<?php
2
3
namespace AlibabaCloud\ROS\V20190910;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method CreateStack createStack(array $options = [])
9
 * @method GetStack getStack(array $options = [])
10
 * @method DeleteStack deleteStack(array $options = [])
11
 * @method UpdateStack updateStack(array $options = [])
12
 * @method ListStacks listStacks(array $options = [])
13
 * @method PreviewStack previewStack(array $options = [])
14
 * @method GetTemplateEstimateCost getTemplateEstimateCost(array $options = [])
15
 * @method CancelUpdateStack cancelUpdateStack(array $options = [])
16
 * @method ContinueCreateStack continueCreateStack(array $options = [])
17
 * @method SetStackPolicy setStackPolicy(array $options = [])
18
 * @method GetStackPolicy getStackPolicy(array $options = [])
19
 * @method ValidateTemplate validateTemplate(array $options = [])
20
 * @method GetTemplate getTemplate(array $options = [])
21
 * @method GetChangeSet getChangeSet(array $options = [])
22
 * @method ListChangeSets listChangeSets(array $options = [])
23
 * @method ExecuteChangeSet executeChangeSet(array $options = [])
24
 * @method DeleteChangeSet deleteChangeSet(array $options = [])
25
 * @method ListStackEvents listStackEvents(array $options = [])
26
 * @method ListStackResources listStackResources(array $options = [])
27
 * @method GetStackResource getStackResource(array $options = [])
28
 * @method GetResourceTypeTemplate getResourceTypeTemplate(array $options = [])
29
 * @method GetResourceType getResourceType(array $options = [])
30
 * @method ListResourceTypes listResourceTypes(array $options = [])
31
 * @method SignalResource signalResource(array $options = [])
32
 * @method DescribeRegions describeRegions(array $options = [])
33
 * @method CreateChangeSet createChangeSet(array $options = [])
34
 */
35
class ROSApiResolver extends ApiResolver
36
{
37
}
38
39
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
40
{
41
    /** @var string */
42
    public $product = 'ROS';
43
44
    /** @var string */
45
    public $version = '2019-09-10';
46
47
    /** @var string */
48
    public $method = 'POST';
49
50
    /** @var string */
51
    public $serviceCode = 'ROS';
52
}
53
54
/**
55
 * @method string getClientToken()
56
 * @method $this withClientToken($value)
57
 * @method string getTemplateBody()
58
 * @method $this withTemplateBody($value)
59
 * @method string getDisableRollback()
60
 * @method $this withDisableRollback($value)
61
 * @method string getTimeoutInMinutes()
62
 * @method $this withTimeoutInMinutes($value)
63
 * @method string getOrderSource()
64
 * @method $this withOrderSource($value)
65
 * @method string getTemplateURL()
66
 * @method $this withTemplateURL($value)
67
 * @method string getActivityId()
68
 * @method $this withActivityId($value)
69
 * @method array getNotificationURLs()
70
 * @method string getStackPolicyURL()
71
 * @method $this withStackPolicyURL($value)
72
 * @method string getStackName()
73
 * @method $this withStackName($value)
74
 * @method array getParameters()
75
 * @method string getStackPolicyBody()
76
 * @method $this withStackPolicyBody($value)
77
 * @method string getChannelId()
78
 * @method $this withChannelId($value)
79
 */
80
class CreateStack extends Rpc
81
{
82
83
    /**
84
     * @param array $notificationURLs
85
     *
86
     * @return $this
87
     */
88
    public function withNotificationURLs(array $notificationURLs)
89
    {
90
        $this->data['NotificationURLs'] = $notificationURLs;
91
        foreach ($notificationURLs as $i => $iValue) {
92
            $this->options['query']['NotificationURLs.' . ($i + 1)] = $iValue;
93
        }
94
95
        return $this;
96
    }
97
98
    /**
99
     * @param array $parameters
100
     *
101
     * @return $this
102
     */
103
    public function withParameters(array $parameters)
104
    {
105
        $this->data['Parameters'] = $parameters;
106
        foreach ($parameters as $depth1 => $depth1Value) {
107
            $this->options['query']['Parameters.' . ($depth1 + 1) . '.ParameterValue'] = $depth1Value['ParameterValue'];
108
            $this->options['query']['Parameters.' . ($depth1 + 1) . '.ParameterKey'] = $depth1Value['ParameterKey'];
109
        }
110
111
        return $this;
112
    }
113
}
114
115
/**
116
 * @method string getClientToken()
117
 * @method $this withClientToken($value)
118
 * @method string getStackId()
119
 * @method $this withStackId($value)
120
 */
121
class GetStack extends Rpc
122
{
123
}
124
125
/**
126
 * @method string getRetainAllResources()
127
 * @method $this withRetainAllResources($value)
128
 * @method string getStackId()
129
 * @method $this withStackId($value)
130
 */
131
class DeleteStack extends Rpc
132
{
133
}
134
135
/**
136
 * @method string getStackPolicyDuringUpdateURL()
137
 * @method $this withStackPolicyDuringUpdateURL($value)
138
 * @method string getClientToken()
139
 * @method $this withClientToken($value)
140
 * @method string getTemplateBody()
141
 * @method $this withTemplateBody($value)
142
 * @method string getStackId()
143
 * @method $this withStackId($value)
144
 * @method string getDisableRollback()
145
 * @method $this withDisableRollback($value)
146
 * @method string getEnableRecover()
147
 * @method $this withEnableRecover($value)
148
 * @method string getUpdateAllowPolicy()
149
 * @method $this withUpdateAllowPolicy($value)
150
 * @method string getTimeoutInMinutes()
151
 * @method $this withTimeoutInMinutes($value)
152
 * @method string getUsePreviousParameters()
153
 * @method $this withUsePreviousParameters($value)
154
 * @method string getTemplateURL()
155
 * @method $this withTemplateURL($value)
156
 * @method string getStackPolicyDuringUpdateBody()
157
 * @method $this withStackPolicyDuringUpdateBody($value)
158
 * @method string getStackPolicyURL()
159
 * @method $this withStackPolicyURL($value)
160
 * @method array getParameters()
161
 * @method string getStackPolicyBody()
162
 * @method $this withStackPolicyBody($value)
163
 */
164
class UpdateStack extends Rpc
165
{
166
167
    /**
168
     * @param array $parameters
169
     *
170
     * @return $this
171
     */
172
    public function withParameters(array $parameters)
173
    {
174
        $this->data['Parameters'] = $parameters;
175
        foreach ($parameters as $depth1 => $depth1Value) {
176
            $this->options['query']['Parameters.' . ($depth1 + 1) . '.ParameterValue'] = $depth1Value['ParameterValue'];
177
            $this->options['query']['Parameters.' . ($depth1 + 1) . '.ParameterKey'] = $depth1Value['ParameterKey'];
178
        }
179
180
        return $this;
181
    }
182
}
183
184
/**
185
 * @method string getParentStackId()
186
 * @method $this withParentStackId($value)
187
 * @method string getShowNestedStack()
188
 * @method $this withShowNestedStack($value)
189
 * @method string getPageSize()
190
 * @method $this withPageSize($value)
191
 * @method array getStackName()
192
 * @method string getPageNumber()
193
 * @method $this withPageNumber($value)
194
 * @method array getStatus()
195
 */
196
class ListStacks extends Rpc
197
{
198
199
    /**
200
     * @param array $stackName
201
     *
202
     * @return $this
203
     */
204
    public function withStackName(array $stackName)
205
    {
206
        $this->data['StackName'] = $stackName;
207
        foreach ($stackName as $i => $iValue) {
208
            $this->options['query']['StackName.' . ($i + 1)] = $iValue;
209
        }
210
211
        return $this;
212
    }
213
214
    /**
215
     * @param array $status
216
     *
217
     * @return $this
218
     */
219
    public function withStatus(array $status)
220
    {
221
        $this->data['Status'] = $status;
222
        foreach ($status as $i => $iValue) {
223
            $this->options['query']['Status.' . ($i + 1)] = $iValue;
224
        }
225
226
        return $this;
227
    }
228
}
229
230
/**
231
 * @method string getStackPolicyURL()
232
 * @method $this withStackPolicyURL($value)
233
 * @method string getClientToken()
234
 * @method $this withClientToken($value)
235
 * @method string getTemplateBody()
236
 * @method $this withTemplateBody($value)
237
 * @method string getDisableRollback()
238
 * @method $this withDisableRollback($value)
239
 * @method string getStackName()
240
 * @method $this withStackName($value)
241
 * @method array getParameters()
242
 * @method string getStackPolicyBody()
243
 * @method $this withStackPolicyBody($value)
244
 * @method string getTimeoutInMinutes()
245
 * @method $this withTimeoutInMinutes($value)
246
 * @method string getTemplateURL()
247
 * @method $this withTemplateURL($value)
248
 */
249
class PreviewStack extends Rpc
250
{
251
252
    /**
253
     * @param array $parameters
254
     *
255
     * @return $this
256
     */
257
    public function withParameters(array $parameters)
258
    {
259
        $this->data['Parameters'] = $parameters;
260
        foreach ($parameters as $depth1 => $depth1Value) {
261
            $this->options['query']['Parameters.' . ($depth1 + 1) . '.ParameterValue'] = $depth1Value['ParameterValue'];
262
            $this->options['query']['Parameters.' . ($depth1 + 1) . '.ParameterKey'] = $depth1Value['ParameterKey'];
263
        }
264
265
        return $this;
266
    }
267
}
268
269
/**
270
 * @method string getClientToken()
271
 * @method $this withClientToken($value)
272
 * @method string getTemplateBody()
273
 * @method $this withTemplateBody($value)
274
 * @method array getParameters()
275
 * @method string getTemplateURL()
276
 * @method $this withTemplateURL($value)
277
 */
278
class GetTemplateEstimateCost extends Rpc
279
{
280
281
    /**
282
     * @param array $parameters
283
     *
284
     * @return $this
285
     */
286
    public function withParameters(array $parameters)
287
    {
288
        $this->data['Parameters'] = $parameters;
289
        foreach ($parameters as $depth1 => $depth1Value) {
290
            $this->options['query']['Parameters.' . ($depth1 + 1) . '.ParameterValue'] = $depth1Value['ParameterValue'];
291
            $this->options['query']['Parameters.' . ($depth1 + 1) . '.ParameterKey'] = $depth1Value['ParameterKey'];
292
        }
293
294
        return $this;
295
    }
296
}
297
298
/**
299
 * @method string getCancelType()
300
 * @method $this withCancelType($value)
301
 * @method string getStackId()
302
 * @method $this withStackId($value)
303
 */
304
class CancelUpdateStack extends Rpc
305
{
306
}
307
308
/**
309
 * @method string getStackId()
310
 * @method $this withStackId($value)
311
 * @method array getRecreatingResources()
312
 */
313
class ContinueCreateStack extends Rpc
314
{
315
316
    /**
317
     * @param array $recreatingResources
318
     *
319
     * @return $this
320
     */
321
    public function withRecreatingResources(array $recreatingResources)
322
    {
323
        $this->data['RecreatingResources'] = $recreatingResources;
324
        foreach ($recreatingResources as $i => $iValue) {
325
            $this->options['query']['RecreatingResources.' . ($i + 1)] = $iValue;
326
        }
327
328
        return $this;
329
    }
330
}
331
332
/**
333
 * @method string getStackPolicyURL()
334
 * @method $this withStackPolicyURL($value)
335
 * @method string getStackId()
336
 * @method $this withStackId($value)
337
 * @method string getStackPolicyBody()
338
 * @method $this withStackPolicyBody($value)
339
 */
340
class SetStackPolicy extends Rpc
341
{
342
}
343
344
/**
345
 * @method string getStackId()
346
 * @method $this withStackId($value)
347
 */
348
class GetStackPolicy extends Rpc
349
{
350
}
351
352
/**
353
 * @method string getTemplateBody()
354
 * @method $this withTemplateBody($value)
355
 * @method string getTemplateURL()
356
 * @method $this withTemplateURL($value)
357
 */
358
class ValidateTemplate extends Rpc
359
{
360
}
361
362
/**
363
 * @method string getStackId()
364
 * @method $this withStackId($value)
365
 * @method string getChangeSetId()
366
 * @method $this withChangeSetId($value)
367
 */
368
class GetTemplate extends Rpc
369
{
370
}
371
372
/**
373
 * @method string getChangeSetId()
374
 * @method $this withChangeSetId($value)
375
 * @method string getShowTemplate()
376
 * @method $this withShowTemplate($value)
377
 */
378
class GetChangeSet extends Rpc
379
{
380
}
381
382
/**
383
 * @method array getExecutionStatus()
384
 * @method array getChangeSetName()
385
 * @method string getStackId()
386
 * @method $this withStackId($value)
387
 * @method string getPageSize()
388
 * @method $this withPageSize($value)
389
 * @method string getPageNumber()
390
 * @method $this withPageNumber($value)
391
 * @method array getStatus()
392
 */
393
class ListChangeSets extends Rpc
394
{
395
396
    /**
397
     * @param array $executionStatus
398
     *
399
     * @return $this
400
     */
401
    public function withExecutionStatus(array $executionStatus)
402
    {
403
        $this->data['ExecutionStatus'] = $executionStatus;
404
        foreach ($executionStatus as $i => $iValue) {
405
            $this->options['query']['ExecutionStatus.' . ($i + 1)] = $iValue;
406
        }
407
408
        return $this;
409
    }
410
411
    /**
412
     * @param array $changeSetName
413
     *
414
     * @return $this
415
     */
416
    public function withChangeSetName(array $changeSetName)
417
    {
418
        $this->data['ChangeSetName'] = $changeSetName;
419
        foreach ($changeSetName as $i => $iValue) {
420
            $this->options['query']['ChangeSetName.' . ($i + 1)] = $iValue;
421
        }
422
423
        return $this;
424
    }
425
426
    /**
427
     * @param array $status
428
     *
429
     * @return $this
430
     */
431
    public function withStatus(array $status)
432
    {
433
        $this->data['Status'] = $status;
434
        foreach ($status as $i => $iValue) {
435
            $this->options['query']['Status.' . ($i + 1)] = $iValue;
436
        }
437
438
        return $this;
439
    }
440
}
441
442
/**
443
 * @method string getChangeSetId()
444
 * @method $this withChangeSetId($value)
445
 */
446
class ExecuteChangeSet extends Rpc
447
{
448
}
449
450
/**
451
 * @method string getChangeSetId()
452
 * @method $this withChangeSetId($value)
453
 */
454
class DeleteChangeSet extends Rpc
455
{
456
}
457
458
/**
459
 * @method string getStackId()
460
 * @method $this withStackId($value)
461
 * @method string getPageSize()
462
 * @method $this withPageSize($value)
463
 * @method array getLogicalResourceId()
464
 * @method array getResourceType()
465
 * @method string getPageNumber()
466
 * @method $this withPageNumber($value)
467
 * @method array getStatus()
468
 */
469
class ListStackEvents extends Rpc
470
{
471
472
    /**
473
     * @param array $logicalResourceId
474
     *
475
     * @return $this
476
     */
477
    public function withLogicalResourceId(array $logicalResourceId)
478
    {
479
        $this->data['LogicalResourceId'] = $logicalResourceId;
480
        foreach ($logicalResourceId as $i => $iValue) {
481
            $this->options['query']['LogicalResourceId.' . ($i + 1)] = $iValue;
482
        }
483
484
        return $this;
485
    }
486
487
    /**
488
     * @param array $resourceType
489
     *
490
     * @return $this
491
     */
492
    public function withResourceType(array $resourceType)
493
    {
494
        $this->data['ResourceType'] = $resourceType;
495
        foreach ($resourceType as $i => $iValue) {
496
            $this->options['query']['ResourceType.' . ($i + 1)] = $iValue;
497
        }
498
499
        return $this;
500
    }
501
502
    /**
503
     * @param array $status
504
     *
505
     * @return $this
506
     */
507
    public function withStatus(array $status)
508
    {
509
        $this->data['Status'] = $status;
510
        foreach ($status as $i => $iValue) {
511
            $this->options['query']['Status.' . ($i + 1)] = $iValue;
512
        }
513
514
        return $this;
515
    }
516
}
517
518
/**
519
 * @method string getStackId()
520
 * @method $this withStackId($value)
521
 */
522
class ListStackResources extends Rpc
523
{
524
}
525
526
/**
527
 * @method string getClientToken()
528
 * @method $this withClientToken($value)
529
 * @method string getStackId()
530
 * @method $this withStackId($value)
531
 * @method string getLogicalResourceId()
532
 * @method $this withLogicalResourceId($value)
533
 * @method string getShowResourceAttributes()
534
 * @method $this withShowResourceAttributes($value)
535
 */
536
class GetStackResource extends Rpc
537
{
538
}
539
540
/**
541
 * @method string getResourceType()
542
 * @method $this withResourceType($value)
543
 */
544
class GetResourceTypeTemplate extends Rpc
545
{
546
}
547
548
/**
549
 * @method string getResourceType()
550
 * @method $this withResourceType($value)
551
 */
552
class GetResourceType extends Rpc
553
{
554
}
555
556
class ListResourceTypes extends Rpc
557
{
558
}
559
560
/**
561
 * @method string getData()
562
 * @method $this withData($value)
563
 * @method string getClientToken()
564
 * @method $this withClientToken($value)
565
 * @method string getStackId()
566
 * @method $this withStackId($value)
567
 * @method string getLogicalResourceId()
568
 * @method $this withLogicalResourceId($value)
569
 * @method string getUniqueId()
570
 * @method $this withUniqueId($value)
571
 * @method string getStatus()
572
 * @method $this withStatus($value)
573
 */
574
class SignalResource extends Rpc
575
{
576
}
577
578
/**
579
 * @method string getAcceptLanguage()
580
 * @method $this withAcceptLanguage($value)
581
 */
582
class DescribeRegions extends Rpc
583
{
584
}
585
586
/**
587
 * @method string getStackPolicyDuringUpdateURL()
588
 * @method $this withStackPolicyDuringUpdateURL($value)
589
 * @method string getClientToken()
590
 * @method $this withClientToken($value)
591
 * @method string getTemplateBody()
592
 * @method $this withTemplateBody($value)
593
 * @method string getStackId()
594
 * @method $this withStackId($value)
595
 * @method string getChangeSetType()
596
 * @method $this withChangeSetType($value)
597
 * @method string getDescription()
598
 * @method $this withDescription($value)
599
 * @method string getDisableRollback()
600
 * @method $this withDisableRollback($value)
601
 * @method string getUpdateAllowPolicy()
602
 * @method $this withUpdateAllowPolicy($value)
603
 * @method string getTimeoutInMinutes()
604
 * @method $this withTimeoutInMinutes($value)
605
 * @method string getUsePreviousParameters()
606
 * @method $this withUsePreviousParameters($value)
607
 * @method string getTemplateURL()
608
 * @method $this withTemplateURL($value)
609
 * @method string getOrderSource()
610
 * @method $this withOrderSource($value)
611
 * @method string getActivityId()
612
 * @method $this withActivityId($value)
613
 * @method string getStackPolicyDuringUpdateBody()
614
 * @method $this withStackPolicyDuringUpdateBody($value)
615
 * @method array getNotificationURLs()
616
 * @method string getStackPolicyURL()
617
 * @method $this withStackPolicyURL($value)
618
 * @method string getChangeSetName()
619
 * @method $this withChangeSetName($value)
620
 * @method string getStackName()
621
 * @method $this withStackName($value)
622
 * @method array getParameters()
623
 * @method string getStackPolicyBody()
624
 * @method $this withStackPolicyBody($value)
625
 * @method string getChannelId()
626
 * @method $this withChannelId($value)
627
 */
628
class CreateChangeSet extends Rpc
629
{
630
631
    /**
632
     * @param array $notificationURLs
633
     *
634
     * @return $this
635
     */
636
    public function withNotificationURLs(array $notificationURLs)
637
    {
638
        $this->data['NotificationURLs'] = $notificationURLs;
639
        foreach ($notificationURLs as $i => $iValue) {
640
            $this->options['query']['NotificationURLs.' . ($i + 1)] = $iValue;
641
        }
642
643
        return $this;
644
    }
645
646
    /**
647
     * @param array $parameters
648
     *
649
     * @return $this
650
     */
651
    public function withParameters(array $parameters)
652
    {
653
        $this->data['Parameters'] = $parameters;
654
        foreach ($parameters as $depth1 => $depth1Value) {
655
            $this->options['query']['Parameters.' . ($depth1 + 1) . '.ParameterValue'] = $depth1Value['ParameterValue'];
656
            $this->options['query']['Parameters.' . ($depth1 + 1) . '.ParameterKey'] = $depth1Value['ParameterKey'];
657
        }
658
659
        return $this;
660
    }
661
}
662