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 ( b6bc6e...a171f8 )
by
unknown
06:44
created

ReqBeanTest::withNums()   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\LmzTest\V20101011;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AAbck aAbck(array $options = [])
9
 * @method AndBack andBack(array $options = [])
10
 * @method DataRateLimitTest dataRateLimitTest(array $options = [])
11
 * @method DemoGrayReleaseTest demoGrayReleaseTest(array $options = [])
12
 * @method DemoGrayReleaseTestTwo demoGrayReleaseTestTwo(array $options = [])
13
 * @method DemoGreyReleaseTest demoGreyReleaseTest(array $options = [])
14
 * @method DemoHsfNineResponse demoHsfNineResponse(array $options = [])
15
 * @method DemoHsfSixTest demoHsfSixTest(array $options = [])
16
 * @method DemoHttpComplexResponse demoHttpComplexResponse(array $options = [])
17
 * @method DescribeDisks describeDisks(array $options = [])
18
 * @method GetPackageStorageCredential getPackageStorageCredential(array $options = [])
19
 * @method GrayReleaseDemo grayReleaseDemo(array $options = [])
20
 * @method ListProductsByPopCode listProductsByPopCode(array $options = [])
21
 * @method LjxTest ljxTest(array $options = [])
22
 * @method ReqBeanTest reqBeanTest(array $options = [])
23
 * @method RomeGetExecutionResult romeGetExecutionResult(array $options = [])
24
 * @method RpcHttp rpcHttp(array $options = [])
25
 * @method TestPutApiAndGetApi testPutApiAndGetApi(array $options = [])
26
 * @method UpdateListener updateListener(array $options = [])
27
 */
28
class LmzTestApiResolver extends ApiResolver
29
{
30
}
31
32
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
33
{
34
    /** @var string */
35
    public $product = 'LmzTest';
36
37
    /** @var string */
38
    public $version = '2010-10-11';
39
40
    /** @var string */
41
    public $method = 'POST';
42
}
43
44
/**
45
 * @method string getClientToken3()
46
 * @method $this withClientToken3($value)
47
 * @method string getTestDemo()
48
 * @method $this withTestDemo($value)
49
 */
50
class AAbck extends Rpc
51
{
52
53
    /** @var string */
54
    public $method = 'GET';
55
}
56
57
/**
58
 * @method string getClientToken2()
59
 * @method $this withClientToken2($value)
60
 * @method string getTestDemo()
61
 * @method $this withTestDemo($value)
62
 */
63
class AndBack extends Rpc
64
{
65
66
    /** @var string */
67
    public $method = 'GET';
68
}
69
70
class DataRateLimitTest extends Rpc
71
{
72
73
    /** @var string */
74
    public $method = 'GET';
75
}
76
77
/**
78
 * @method string getNumberCode()
79
 * @method $this withNumberCode($value)
80
 * @method string getId()
81
 * @method $this withId($value)
82
 */
83
class DemoGrayReleaseTest extends Rpc
84
{
85
}
86
87
/**
88
 * @method string getNumberCode()
89
 * @method $this withNumberCode($value)
90
 * @method string getCode()
91
 * @method $this withCode($value)
92
 */
93
class DemoGrayReleaseTestTwo extends Rpc
94
{
95
}
96
97
/**
98
 * @method string getNumber()
99
 * @method $this withNumber($value)
100
 */
101
class DemoGreyReleaseTest extends Rpc
102
{
103
}
104
105
/**
106
 * @method string getName()
107
 * @method string getTestF1()
108
 * @method $this withTestF1($value)
109
 * @method string getUserMap()
110
 */
111
class DemoHsfNineResponse extends Rpc
112
{
113
114
    /**
115
     * @param string $value
116
     *
117
     * @return $this
118
     */
119
    public function withName($value)
120
    {
121
        $this->data['Name'] = $value;
122
        $this->options['query']['name'] = $value;
123
124
        return $this;
125
    }
126
127
    /**
128
     * @param string $value
129
     *
130
     * @return $this
131
     */
132
    public function withUserMap($value)
133
    {
134
        $this->data['UserMap'] = $value;
135
        $this->options['query']['userMap'] = $value;
136
137
        return $this;
138
    }
139
}
140
141
/**
142
 * @method string getStrListMap()
143
 * @method string getData()
144
 * @method string getMap()
145
 * @method string getCodeMap()
146
 */
147
class DemoHsfSixTest extends Rpc
148
{
149
150
    /**
151
     * @param string $value
152
     *
153
     * @return $this
154
     */
155
    public function withStrListMap($value)
156
    {
157
        $this->data['StrListMap'] = $value;
158
        $this->options['form_params']['StrListMap'] = $value;
159
160
        return $this;
161
    }
162
163
    /**
164
     * @param string $value
165
     *
166
     * @return $this
167
     */
168
    public function withData($value)
169
    {
170
        $this->data['Data'] = $value;
171
        $this->options['form_params']['Data'] = $value;
172
173
        return $this;
174
    }
175
176
    /**
177
     * @param string $value
178
     *
179
     * @return $this
180
     */
181
    public function withMap($value)
182
    {
183
        $this->data['Map'] = $value;
184
        $this->options['form_params']['Map'] = $value;
185
186
        return $this;
187
    }
188
189
    /**
190
     * @param string $value
191
     *
192
     * @return $this
193
     */
194
    public function withCodeMap($value)
195
    {
196
        $this->data['CodeMap'] = $value;
197
        $this->options['query']['codeMap'] = $value;
198
199
        return $this;
200
    }
201
}
202
203
/**
204
 * @method string getReqInfo()
205
 */
206
class DemoHttpComplexResponse extends Rpc
207
{
208
209
    /**
210
     * @param string $value
211
     *
212
     * @return $this
213
     */
214
    public function withReqInfo($value)
215
    {
216
        $this->data['ReqInfo'] = $value;
217
        $this->options['query']['reqInfo'] = $value;
218
219
        return $this;
220
    }
221
}
222
223
/**
224
 * @method string getResourceOwnerId()
225
 * @method $this withResourceOwnerId($value)
226
 * @method string getFilter2Value()
227
 * @method string getAutoSnapshotPolicyId()
228
 * @method $this withAutoSnapshotPolicyId($value)
229
 * @method string getDiskName()
230
 * @method $this withDiskName($value)
231
 * @method string getDeleteAutoSnapshot()
232
 * @method $this withDeleteAutoSnapshot($value)
233
 * @method string getResourceGroupId()
234
 * @method $this withResourceGroupId($value)
235
 * @method string getDiskChargeType()
236
 * @method $this withDiskChargeType($value)
237
 * @method string getLockReason()
238
 * @method $this withLockReason($value)
239
 * @method string getFilter1Key()
240
 * @method array getTag()
241
 * @method string getEnableAutoSnapshot()
242
 * @method $this withEnableAutoSnapshot($value)
243
 * @method string getDryRun()
244
 * @method $this withDryRun($value)
245
 * @method string getFilter1Value()
246
 * @method string getPortable()
247
 * @method $this withPortable($value)
248
 * @method string getOwnerId()
249
 * @method $this withOwnerId($value)
250
 * @method array getAdditionalAttributes()
251
 * @method string getInstanceId()
252
 * @method $this withInstanceId($value)
253
 * @method string getZoneId()
254
 * @method $this withZoneId($value)
255
 * @method string getMaxResults()
256
 * @method $this withMaxResults($value)
257
 * @method string getStatus()
258
 * @method $this withStatus($value)
259
 * @method string getSnapshotId()
260
 * @method $this withSnapshotId($value)
261
 * @method string getPageNumber()
262
 * @method $this withPageNumber($value)
263
 * @method string getNextToken()
264
 * @method $this withNextToken($value)
265
 * @method string getPageSize()
266
 * @method $this withPageSize($value)
267
 * @method string getDiskIds()
268
 * @method $this withDiskIds($value)
269
 * @method string getMultiAttach()
270
 * @method $this withMultiAttach($value)
271
 * @method string getDeleteWithInstance()
272
 * @method $this withDeleteWithInstance($value)
273
 * @method string getResourceOwnerAccount()
274
 * @method $this withResourceOwnerAccount($value)
275
 * @method string getOwnerAccount()
276
 * @method $this withOwnerAccount($value)
277
 * @method string getEnableAutomatedSnapshotPolicy()
278
 * @method $this withEnableAutomatedSnapshotPolicy($value)
279
 * @method string getFilter2Key()
280
 * @method string getDiskType()
281
 * @method $this withDiskType($value)
282
 * @method string getEnableShared()
283
 * @method $this withEnableShared($value)
284
 * @method string getEncrypted()
285
 * @method $this withEncrypted($value)
286
 * @method string getCategory()
287
 * @method $this withCategory($value)
288
 * @method string getKMSKeyId()
289
 * @method $this withKMSKeyId($value)
290
 */
291
class DescribeDisks extends Rpc
292
{
293
294
    /**
295
     * @param string $value
296
     *
297
     * @return $this
298
     */
299
    public function withFilter2Value($value)
300
    {
301
        $this->data['Filter2Value'] = $value;
302
        $this->options['query']['Filter.2.Value'] = $value;
303
304
        return $this;
305
    }
306
307
    /**
308
     * @param string $value
309
     *
310
     * @return $this
311
     */
312
    public function withFilter1Key($value)
313
    {
314
        $this->data['Filter1Key'] = $value;
315
        $this->options['query']['Filter.1.Key'] = $value;
316
317
        return $this;
318
    }
319
320
    /**
321
     * @param array $tag
322
     *
323
     * @return $this
324
     */
325
	public function withTag(array $tag)
326
	{
327
	    $this->data['Tag'] = $tag;
328
		foreach ($tag as $depth1 => $depth1Value) {
329
			if(isset($depth1Value['Value'])){
330
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
331
			}
332
			if(isset($depth1Value['Key'])){
333
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
334
			}
335
		}
336
337
		return $this;
338
    }
339
340
    /**
341
     * @param string $value
342
     *
343
     * @return $this
344
     */
345
    public function withFilter1Value($value)
346
    {
347
        $this->data['Filter1Value'] = $value;
348
        $this->options['query']['Filter.1.Value'] = $value;
349
350
        return $this;
351
    }
352
353
    /**
354
     * @param array $additionalAttributes
355
     *
356
     * @return $this
357
     */
358
	public function withAdditionalAttributes(array $additionalAttributes)
359
	{
360
	    $this->data['AdditionalAttributes'] = $additionalAttributes;
361
		foreach ($additionalAttributes as $i => $iValue) {
362
			$this->options['query']['AdditionalAttributes.' . ($i + 1)] = $iValue;
363
		}
364
365
		return $this;
366
    }
367
368
    /**
369
     * @param string $value
370
     *
371
     * @return $this
372
     */
373
    public function withFilter2Key($value)
374
    {
375
        $this->data['Filter2Key'] = $value;
376
        $this->options['query']['Filter.2.Key'] = $value;
377
378
        return $this;
379
    }
380
}
381
382
class GetPackageStorageCredential extends Rpc
383
{
384
385
    /** @var string */
386
    public $method = 'GET';
387
}
388
389
/**
390
 * @method string getId()
391
 * @method $this withId($value)
392
 */
393
class GrayReleaseDemo extends Rpc
394
{
395
}
396
397
/**
398
 * @method string getAuthKey()
399
 * @method $this withAuthKey($value)
400
 * @method string getExtraParams()
401
 * @method string getServerClientIp()
402
 * @method $this withServerClientIp($value)
403
 * @method string getRequestId()
404
 * @method $this withRequestId($value)
405
 * @method string getClientIp()
406
 * @method $this withClientIp($value)
407
 * @method string getIdentityDTO()
408
 * @method string getEnv()
409
 * @method $this withEnv($value)
410
 * @method string getPopCode()
411
 * @method $this withPopCode($value)
412
 */
413
class ListProductsByPopCode extends Rpc
414
{
415
416
    /**
417
     * @param string $value
418
     *
419
     * @return $this
420
     */
421
    public function withExtraParams($value)
422
    {
423
        $this->data['ExtraParams'] = $value;
424
        $this->options['form_params']['ExtraParams'] = $value;
425
426
        return $this;
427
    }
428
429
    /**
430
     * @param string $value
431
     *
432
     * @return $this
433
     */
434
    public function withIdentityDTO($value)
435
    {
436
        $this->data['IdentityDTO'] = $value;
437
        $this->options['form_params']['IdentityDTO'] = $value;
438
439
        return $this;
440
    }
441
}
442
443
/**
444
 * @method string getNewparam2()
445
 * @method string getNewparam1()
446
 * @method string getCode()
447
 * @method string getId()
448
 * @method string getBody()
449
 */
450
class LjxTest extends Rpc
451
{
452
453
    /**
454
     * @param string $value
455
     *
456
     * @return $this
457
     */
458
    public function withNewparam2($value)
459
    {
460
        $this->data['Newparam2'] = $value;
461
        $this->options['query']['new-param-2'] = $value;
462
463
        return $this;
464
    }
465
466
    /**
467
     * @param string $value
468
     *
469
     * @return $this
470
     */
471
    public function withNewparam1($value)
472
    {
473
        $this->data['Newparam1'] = $value;
474
        $this->options['query']['new-param-1'] = $value;
475
476
        return $this;
477
    }
478
479
    /**
480
     * @param string $value
481
     *
482
     * @return $this
483
     */
484
    public function withCode($value)
485
    {
486
        $this->data['Code'] = $value;
487
        $this->options['query']['code'] = $value;
488
489
        return $this;
490
    }
491
492
    /**
493
     * @param string $value
494
     *
495
     * @return $this
496
     */
497
    public function withId($value)
498
    {
499
        $this->data['Id'] = $value;
500
        $this->options['query']['id'] = $value;
501
502
        return $this;
503
    }
504
505
    /**
506
     * @param string $value
507
     *
508
     * @return $this
509
     */
510
    public function withBody($value)
511
    {
512
        $this->data['Body'] = $value;
513
        $this->options['headers']['body'] = $value;
514
515
        return $this;
516
    }
517
}
518
519
/**
520
 * @method string getCodes()
521
 * @method string getXhostheadertest()
522
 * @method string getId()
523
 * @method $this withId($value)
524
 * @method string getNums()
525
 * @method string getUsers()
526
 */
527
class ReqBeanTest extends Rpc
528
{
529
530
    /**
531
     * @param string $value
532
     *
533
     * @return $this
534
     */
535
    public function withCodes($value)
536
    {
537
        $this->data['Codes'] = $value;
538
        $this->options['query']['codes'] = $value;
539
540
        return $this;
541
    }
542
543
    /**
544
     * @param string $value
545
     *
546
     * @return $this
547
     */
548
    public function withXhostheadertest($value)
549
    {
550
        $this->data['Xhostheadertest'] = $value;
551
        $this->options['headers']['x-host-header-test'] = $value;
552
553
        return $this;
554
    }
555
556
    /**
557
     * @param string $value
558
     *
559
     * @return $this
560
     */
561
    public function withNums($value)
562
    {
563
        $this->data['Nums'] = $value;
564
        $this->options['query']['nums'] = $value;
565
566
        return $this;
567
    }
568
569
    /**
570
     * @param string $value
571
     *
572
     * @return $this
573
     */
574
    public function withUsers($value)
575
    {
576
        $this->data['Users'] = $value;
577
        $this->options['query']['users'] = $value;
578
579
        return $this;
580
    }
581
}
582
583
/**
584
 * @method string getFlowRequestId()
585
 */
586
class RomeGetExecutionResult extends Rpc
587
{
588
589
    /** @var string */
590
    public $method = 'GET';
591
592
    /**
593
     * @param string $value
594
     *
595
     * @return $this
596
     */
597
    public function withFlowRequestId($value)
598
    {
599
        $this->data['FlowRequestId'] = $value;
600
        $this->pathParameters['FlowRequestId'] = $value;
0 ignored issues
show
Bug Best Practice introduced by
The property pathParameters does not exist. Although not strictly required by PHP, it is generally a best practice to declare properties explicitly.
Loading history...
601
602
        return $this;
603
    }
604
}
605
606
/**
607
 * @method string getNews()
608
 * @method $this withNews($value)
609
 * @method string getCodes()
610
 * @method $this withCodes($value)
611
 * @method string getNumber()
612
 * @method $this withNumber($value)
613
 * @method string getMonkey()
614
 * @method $this withMonkey($value)
615
 * @method string getWorld()
616
 * @method $this withWorld($value)
617
 * @method string getParam()
618
 * @method $this withParam($value)
619
 * @method string getOld()
620
 * @method $this withOld($value)
621
 * @method string getName()
622
 * @method $this withName($value)
623
 * @method string getId()
624
 * @method $this withId($value)
625
 * @method string getNone()
626
 * @method $this withNone($value)
627
 */
628
class RpcHttp extends Rpc
629
{
630
}
631
632
class TestPutApiAndGetApi extends Rpc
633
{
634
}
635
636
/**
637
 * @method string getClientToken()
638
 * @method $this withClientToken($value)
639
 * @method string getDescription()
640
 * @method $this withDescription($value)
641
 * @method array getBackendPorts()
642
 * @method string getListenerId()
643
 * @method $this withListenerId($value)
644
 * @method string getProtocol()
645
 * @method $this withProtocol($value)
646
 * @method string getProxyProtocol()
647
 * @method $this withProxyProtocol($value)
648
 * @method array getPortRanges()
649
 * @method array getCertificates()
650
 * @method string getName()
651
 * @method $this withName($value)
652
 * @method string getClientAffinity()
653
 * @method $this withClientAffinity($value)
654
 */
655
class UpdateListener extends Rpc
656
{
657
658
    /**
659
     * @param array $backendPorts
660
     *
661
     * @return $this
662
     */
663
	public function withBackendPorts(array $backendPorts)
664
	{
665
	    $this->data['BackendPorts'] = $backendPorts;
666
		foreach ($backendPorts as $depth1 => $depth1Value) {
667
			if(isset($depth1Value['FromPort'])){
668
				$this->options['query']['BackendPorts.' . ($depth1 + 1) . '.FromPort'] = $depth1Value['FromPort'];
669
			}
670
			if(isset($depth1Value['ToPort'])){
671
				$this->options['query']['BackendPorts.' . ($depth1 + 1) . '.ToPort'] = $depth1Value['ToPort'];
672
			}
673
		}
674
675
		return $this;
676
    }
677
678
    /**
679
     * @param array $portRanges
680
     *
681
     * @return $this
682
     */
683
	public function withPortRanges(array $portRanges)
684
	{
685
	    $this->data['PortRanges'] = $portRanges;
686
		foreach ($portRanges as $depth1 => $depth1Value) {
687
			if(isset($depth1Value['FromPort'])){
688
				$this->options['query']['PortRanges.' . ($depth1 + 1) . '.FromPort'] = $depth1Value['FromPort'];
689
			}
690
			if(isset($depth1Value['ToPort'])){
691
				$this->options['query']['PortRanges.' . ($depth1 + 1) . '.ToPort'] = $depth1Value['ToPort'];
692
			}
693
		}
694
695
		return $this;
696
    }
697
698
    /**
699
     * @param array $certificates
700
     *
701
     * @return $this
702
     */
703
	public function withCertificates(array $certificates)
704
	{
705
	    $this->data['Certificates'] = $certificates;
706
		foreach ($certificates as $depth1 => $depth1Value) {
707
			if(isset($depth1Value['Id'])){
708
				$this->options['query']['Certificates.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
709
			}
710
		}
711
712
		return $this;
713
    }
714
}
715