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 ( 54b749...03ab3b )
by
unknown
04:33
created

DeleteQueue   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 40
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 3
eloc 10
c 1
b 0
f 0
dl 0
loc 40
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A withVirtualHost() 0 6 1
A withInstanceId() 0 6 1
A withQueueName() 0 6 1
1
<?php
2
3
namespace AlibabaCloud\AmqpOpen\V20191212;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method CreateBinding createBinding(array $options = [])
9
 * @method CreateExchange createExchange(array $options = [])
10
 * @method CreateQueue createQueue(array $options = [])
11
 * @method CreateVirtualHost createVirtualHost(array $options = [])
12
 * @method DeleteBinding deleteBinding(array $options = [])
13
 * @method DeleteExchange deleteExchange(array $options = [])
14
 * @method DeleteQueue deleteQueue(array $options = [])
15
 * @method DeleteVirtualHost deleteVirtualHost(array $options = [])
16
 * @method ListBindings listBindings(array $options = [])
17
 * @method ListDownStreamBindings listDownStreamBindings(array $options = [])
18
 * @method ListExchanges listExchanges(array $options = [])
19
 * @method ListExchangeUpStreamBindings listExchangeUpStreamBindings(array $options = [])
20
 * @method ListInstances listInstances(array $options = [])
21
 * @method ListQueues listQueues(array $options = [])
22
 * @method ListQueueUpStreamBindings listQueueUpStreamBindings(array $options = [])
23
 * @method ListVirtualHosts listVirtualHosts(array $options = [])
24
 */
25
class AmqpOpenApiResolver extends ApiResolver
26
{
27
}
28
29
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
30
{
31
    /** @var string */
32
    public $product = 'amqp-open';
33
34
    /** @var string */
35
    public $version = '2019-12-12';
36
37
    /** @var string */
38
    public $method = 'POST';
39
40
    /** @var string */
41
    public $serviceCode = 'onsproxy';
42
}
43
44
/**
45
 * @method string getArgument()
46
 * @method string getDestinationName()
47
 * @method string getSourceExchange()
48
 * @method string getBindingKey()
49
 * @method string getBindingType()
50
 * @method string getInstanceId()
51
 * @method string getVirtualHost()
52
 */
53
class CreateBinding extends Rpc
54
{
55
56
    /**
57
     * @param string $value
58
     *
59
     * @return $this
60
     */
61
    public function withArgument($value)
62
    {
63
        $this->data['Argument'] = $value;
64
        $this->options['form_params']['Argument'] = $value;
65
66
        return $this;
67
    }
68
69
    /**
70
     * @param string $value
71
     *
72
     * @return $this
73
     */
74
    public function withDestinationName($value)
75
    {
76
        $this->data['DestinationName'] = $value;
77
        $this->options['form_params']['DestinationName'] = $value;
78
79
        return $this;
80
    }
81
82
    /**
83
     * @param string $value
84
     *
85
     * @return $this
86
     */
87
    public function withSourceExchange($value)
88
    {
89
        $this->data['SourceExchange'] = $value;
90
        $this->options['form_params']['SourceExchange'] = $value;
91
92
        return $this;
93
    }
94
95
    /**
96
     * @param string $value
97
     *
98
     * @return $this
99
     */
100
    public function withBindingKey($value)
101
    {
102
        $this->data['BindingKey'] = $value;
103
        $this->options['form_params']['BindingKey'] = $value;
104
105
        return $this;
106
    }
107
108
    /**
109
     * @param string $value
110
     *
111
     * @return $this
112
     */
113
    public function withBindingType($value)
114
    {
115
        $this->data['BindingType'] = $value;
116
        $this->options['form_params']['BindingType'] = $value;
117
118
        return $this;
119
    }
120
121
    /**
122
     * @param string $value
123
     *
124
     * @return $this
125
     */
126
    public function withInstanceId($value)
127
    {
128
        $this->data['InstanceId'] = $value;
129
        $this->options['form_params']['InstanceId'] = $value;
130
131
        return $this;
132
    }
133
134
    /**
135
     * @param string $value
136
     *
137
     * @return $this
138
     */
139
    public function withVirtualHost($value)
140
    {
141
        $this->data['VirtualHost'] = $value;
142
        $this->options['form_params']['VirtualHost'] = $value;
143
144
        return $this;
145
    }
146
}
147
148
/**
149
 * @method string getInternal()
150
 * @method string getExchangeName()
151
 * @method string getInstanceId()
152
 * @method string getAlternateExchange()
153
 * @method string getAutoDeleteState()
154
 * @method string getExchangeType()
155
 * @method string getVirtualHost()
156
 */
157
class CreateExchange extends Rpc
158
{
159
160
    /**
161
     * @param string $value
162
     *
163
     * @return $this
164
     */
165
    public function withInternal($value)
166
    {
167
        $this->data['Internal'] = $value;
168
        $this->options['form_params']['Internal'] = $value;
169
170
        return $this;
171
    }
172
173
    /**
174
     * @param string $value
175
     *
176
     * @return $this
177
     */
178
    public function withExchangeName($value)
179
    {
180
        $this->data['ExchangeName'] = $value;
181
        $this->options['form_params']['ExchangeName'] = $value;
182
183
        return $this;
184
    }
185
186
    /**
187
     * @param string $value
188
     *
189
     * @return $this
190
     */
191
    public function withInstanceId($value)
192
    {
193
        $this->data['InstanceId'] = $value;
194
        $this->options['form_params']['InstanceId'] = $value;
195
196
        return $this;
197
    }
198
199
    /**
200
     * @param string $value
201
     *
202
     * @return $this
203
     */
204
    public function withAlternateExchange($value)
205
    {
206
        $this->data['AlternateExchange'] = $value;
207
        $this->options['form_params']['AlternateExchange'] = $value;
208
209
        return $this;
210
    }
211
212
    /**
213
     * @param string $value
214
     *
215
     * @return $this
216
     */
217
    public function withAutoDeleteState($value)
218
    {
219
        $this->data['AutoDeleteState'] = $value;
220
        $this->options['form_params']['AutoDeleteState'] = $value;
221
222
        return $this;
223
    }
224
225
    /**
226
     * @param string $value
227
     *
228
     * @return $this
229
     */
230
    public function withExchangeType($value)
231
    {
232
        $this->data['ExchangeType'] = $value;
233
        $this->options['form_params']['ExchangeType'] = $value;
234
235
        return $this;
236
    }
237
238
    /**
239
     * @param string $value
240
     *
241
     * @return $this
242
     */
243
    public function withVirtualHost($value)
244
    {
245
        $this->data['VirtualHost'] = $value;
246
        $this->options['form_params']['VirtualHost'] = $value;
247
248
        return $this;
249
    }
250
}
251
252
/**
253
 * @method string getQueueName()
254
 * @method string getDeadLetterRoutingKey()
255
 * @method string getMaxLength()
256
 * @method string getAutoExpireState()
257
 * @method string getDeadLetterExchange()
258
 * @method string getInstanceId()
259
 * @method string getExclusiveState()
260
 * @method string getAutoDeleteState()
261
 * @method string getMessageTTL()
262
 * @method string getVirtualHost()
263
 * @method string getMaximumPriority()
264
 */
265
class CreateQueue extends Rpc
266
{
267
268
    /**
269
     * @param string $value
270
     *
271
     * @return $this
272
     */
273
    public function withQueueName($value)
274
    {
275
        $this->data['QueueName'] = $value;
276
        $this->options['form_params']['QueueName'] = $value;
277
278
        return $this;
279
    }
280
281
    /**
282
     * @param string $value
283
     *
284
     * @return $this
285
     */
286
    public function withDeadLetterRoutingKey($value)
287
    {
288
        $this->data['DeadLetterRoutingKey'] = $value;
289
        $this->options['form_params']['DeadLetterRoutingKey'] = $value;
290
291
        return $this;
292
    }
293
294
    /**
295
     * @param string $value
296
     *
297
     * @return $this
298
     */
299
    public function withMaxLength($value)
300
    {
301
        $this->data['MaxLength'] = $value;
302
        $this->options['form_params']['MaxLength'] = $value;
303
304
        return $this;
305
    }
306
307
    /**
308
     * @param string $value
309
     *
310
     * @return $this
311
     */
312
    public function withAutoExpireState($value)
313
    {
314
        $this->data['AutoExpireState'] = $value;
315
        $this->options['form_params']['AutoExpireState'] = $value;
316
317
        return $this;
318
    }
319
320
    /**
321
     * @param string $value
322
     *
323
     * @return $this
324
     */
325
    public function withDeadLetterExchange($value)
326
    {
327
        $this->data['DeadLetterExchange'] = $value;
328
        $this->options['form_params']['DeadLetterExchange'] = $value;
329
330
        return $this;
331
    }
332
333
    /**
334
     * @param string $value
335
     *
336
     * @return $this
337
     */
338
    public function withInstanceId($value)
339
    {
340
        $this->data['InstanceId'] = $value;
341
        $this->options['form_params']['InstanceId'] = $value;
342
343
        return $this;
344
    }
345
346
    /**
347
     * @param string $value
348
     *
349
     * @return $this
350
     */
351
    public function withExclusiveState($value)
352
    {
353
        $this->data['ExclusiveState'] = $value;
354
        $this->options['form_params']['ExclusiveState'] = $value;
355
356
        return $this;
357
    }
358
359
    /**
360
     * @param string $value
361
     *
362
     * @return $this
363
     */
364
    public function withAutoDeleteState($value)
365
    {
366
        $this->data['AutoDeleteState'] = $value;
367
        $this->options['form_params']['AutoDeleteState'] = $value;
368
369
        return $this;
370
    }
371
372
    /**
373
     * @param string $value
374
     *
375
     * @return $this
376
     */
377
    public function withMessageTTL($value)
378
    {
379
        $this->data['MessageTTL'] = $value;
380
        $this->options['form_params']['MessageTTL'] = $value;
381
382
        return $this;
383
    }
384
385
    /**
386
     * @param string $value
387
     *
388
     * @return $this
389
     */
390
    public function withVirtualHost($value)
391
    {
392
        $this->data['VirtualHost'] = $value;
393
        $this->options['form_params']['VirtualHost'] = $value;
394
395
        return $this;
396
    }
397
398
    /**
399
     * @param string $value
400
     *
401
     * @return $this
402
     */
403
    public function withMaximumPriority($value)
404
    {
405
        $this->data['MaximumPriority'] = $value;
406
        $this->options['form_params']['MaximumPriority'] = $value;
407
408
        return $this;
409
    }
410
}
411
412
/**
413
 * @method string getInstanceId()
414
 * @method string getVirtualHost()
415
 */
416
class CreateVirtualHost extends Rpc
417
{
418
419
    /**
420
     * @param string $value
421
     *
422
     * @return $this
423
     */
424
    public function withInstanceId($value)
425
    {
426
        $this->data['InstanceId'] = $value;
427
        $this->options['form_params']['InstanceId'] = $value;
428
429
        return $this;
430
    }
431
432
    /**
433
     * @param string $value
434
     *
435
     * @return $this
436
     */
437
    public function withVirtualHost($value)
438
    {
439
        $this->data['VirtualHost'] = $value;
440
        $this->options['form_params']['VirtualHost'] = $value;
441
442
        return $this;
443
    }
444
}
445
446
/**
447
 * @method string getDestinationName()
448
 * @method string getSourceExchange()
449
 * @method string getBindingKey()
450
 * @method string getBindingType()
451
 * @method string getInstanceId()
452
 * @method string getVirtualHost()
453
 */
454
class DeleteBinding extends Rpc
455
{
456
457
    /**
458
     * @param string $value
459
     *
460
     * @return $this
461
     */
462
    public function withDestinationName($value)
463
    {
464
        $this->data['DestinationName'] = $value;
465
        $this->options['form_params']['DestinationName'] = $value;
466
467
        return $this;
468
    }
469
470
    /**
471
     * @param string $value
472
     *
473
     * @return $this
474
     */
475
    public function withSourceExchange($value)
476
    {
477
        $this->data['SourceExchange'] = $value;
478
        $this->options['form_params']['SourceExchange'] = $value;
479
480
        return $this;
481
    }
482
483
    /**
484
     * @param string $value
485
     *
486
     * @return $this
487
     */
488
    public function withBindingKey($value)
489
    {
490
        $this->data['BindingKey'] = $value;
491
        $this->options['form_params']['BindingKey'] = $value;
492
493
        return $this;
494
    }
495
496
    /**
497
     * @param string $value
498
     *
499
     * @return $this
500
     */
501
    public function withBindingType($value)
502
    {
503
        $this->data['BindingType'] = $value;
504
        $this->options['form_params']['BindingType'] = $value;
505
506
        return $this;
507
    }
508
509
    /**
510
     * @param string $value
511
     *
512
     * @return $this
513
     */
514
    public function withInstanceId($value)
515
    {
516
        $this->data['InstanceId'] = $value;
517
        $this->options['form_params']['InstanceId'] = $value;
518
519
        return $this;
520
    }
521
522
    /**
523
     * @param string $value
524
     *
525
     * @return $this
526
     */
527
    public function withVirtualHost($value)
528
    {
529
        $this->data['VirtualHost'] = $value;
530
        $this->options['form_params']['VirtualHost'] = $value;
531
532
        return $this;
533
    }
534
}
535
536
/**
537
 * @method string getExchangeName()
538
 * @method string getInstanceId()
539
 * @method string getVirtualHost()
540
 */
541
class DeleteExchange extends Rpc
542
{
543
544
    /**
545
     * @param string $value
546
     *
547
     * @return $this
548
     */
549
    public function withExchangeName($value)
550
    {
551
        $this->data['ExchangeName'] = $value;
552
        $this->options['form_params']['ExchangeName'] = $value;
553
554
        return $this;
555
    }
556
557
    /**
558
     * @param string $value
559
     *
560
     * @return $this
561
     */
562
    public function withInstanceId($value)
563
    {
564
        $this->data['InstanceId'] = $value;
565
        $this->options['form_params']['InstanceId'] = $value;
566
567
        return $this;
568
    }
569
570
    /**
571
     * @param string $value
572
     *
573
     * @return $this
574
     */
575
    public function withVirtualHost($value)
576
    {
577
        $this->data['VirtualHost'] = $value;
578
        $this->options['form_params']['VirtualHost'] = $value;
579
580
        return $this;
581
    }
582
}
583
584
/**
585
 * @method string getQueueName()
586
 * @method string getInstanceId()
587
 * @method string getVirtualHost()
588
 */
589
class DeleteQueue extends Rpc
590
{
591
592
    /**
593
     * @param string $value
594
     *
595
     * @return $this
596
     */
597
    public function withQueueName($value)
598
    {
599
        $this->data['QueueName'] = $value;
600
        $this->options['form_params']['QueueName'] = $value;
601
602
        return $this;
603
    }
604
605
    /**
606
     * @param string $value
607
     *
608
     * @return $this
609
     */
610
    public function withInstanceId($value)
611
    {
612
        $this->data['InstanceId'] = $value;
613
        $this->options['form_params']['InstanceId'] = $value;
614
615
        return $this;
616
    }
617
618
    /**
619
     * @param string $value
620
     *
621
     * @return $this
622
     */
623
    public function withVirtualHost($value)
624
    {
625
        $this->data['VirtualHost'] = $value;
626
        $this->options['form_params']['VirtualHost'] = $value;
627
628
        return $this;
629
    }
630
}
631
632
/**
633
 * @method string getInstanceId()
634
 * @method string getVirtualHost()
635
 */
636
class DeleteVirtualHost extends Rpc
637
{
638
639
    /**
640
     * @param string $value
641
     *
642
     * @return $this
643
     */
644
    public function withInstanceId($value)
645
    {
646
        $this->data['InstanceId'] = $value;
647
        $this->options['form_params']['InstanceId'] = $value;
648
649
        return $this;
650
    }
651
652
    /**
653
     * @param string $value
654
     *
655
     * @return $this
656
     */
657
    public function withVirtualHost($value)
658
    {
659
        $this->data['VirtualHost'] = $value;
660
        $this->options['form_params']['VirtualHost'] = $value;
661
662
        return $this;
663
    }
664
}
665
666
/**
667
 * @method string getInstanceId()
668
 * @method $this withInstanceId($value)
669
 * @method string getNextToken()
670
 * @method $this withNextToken($value)
671
 * @method string getMaxResults()
672
 * @method $this withMaxResults($value)
673
 * @method string getVirtualHost()
674
 * @method $this withVirtualHost($value)
675
 */
676
class ListBindings extends Rpc
677
{
678
679
    /** @var string */
680
    public $method = 'GET';
681
}
682
683
/**
684
 * @method string getExchangeName()
685
 * @method $this withExchangeName($value)
686
 * @method string getInstanceId()
687
 * @method $this withInstanceId($value)
688
 * @method string getNextToken()
689
 * @method $this withNextToken($value)
690
 * @method string getMaxResults()
691
 * @method $this withMaxResults($value)
692
 * @method string getVirtualHost()
693
 * @method $this withVirtualHost($value)
694
 */
695
class ListDownStreamBindings extends Rpc
696
{
697
698
    /** @var string */
699
    public $method = 'GET';
700
}
701
702
/**
703
 * @method string getInstanceId()
704
 * @method $this withInstanceId($value)
705
 * @method string getNextToken()
706
 * @method $this withNextToken($value)
707
 * @method string getMaxResults()
708
 * @method $this withMaxResults($value)
709
 * @method string getVirtualHost()
710
 * @method $this withVirtualHost($value)
711
 */
712
class ListExchanges extends Rpc
713
{
714
715
    /** @var string */
716
    public $method = 'GET';
717
}
718
719
/**
720
 * @method string getExchangeName()
721
 * @method $this withExchangeName($value)
722
 * @method string getInstanceId()
723
 * @method $this withInstanceId($value)
724
 * @method string getNextToken()
725
 * @method $this withNextToken($value)
726
 * @method string getMaxResults()
727
 * @method $this withMaxResults($value)
728
 * @method string getVirtualHost()
729
 * @method $this withVirtualHost($value)
730
 */
731
class ListExchangeUpStreamBindings extends Rpc
732
{
733
734
    /** @var string */
735
    public $method = 'GET';
736
}
737
738
/**
739
 * @method string getNextToken()
740
 * @method $this withNextToken($value)
741
 * @method string getMaxResults()
742
 * @method $this withMaxResults($value)
743
 */
744
class ListInstances extends Rpc
745
{
746
747
    /** @var string */
748
    public $method = 'GET';
749
}
750
751
/**
752
 * @method string getInstanceId()
753
 * @method $this withInstanceId($value)
754
 * @method string getNextToken()
755
 * @method $this withNextToken($value)
756
 * @method string getMaxResults()
757
 * @method $this withMaxResults($value)
758
 * @method string getVirtualHost()
759
 * @method $this withVirtualHost($value)
760
 */
761
class ListQueues extends Rpc
762
{
763
764
    /** @var string */
765
    public $method = 'GET';
766
}
767
768
/**
769
 * @method string getQueueName()
770
 * @method $this withQueueName($value)
771
 * @method string getInstanceId()
772
 * @method $this withInstanceId($value)
773
 * @method string getNextToken()
774
 * @method $this withNextToken($value)
775
 * @method string getMaxResults()
776
 * @method $this withMaxResults($value)
777
 * @method string getVirtualHost()
778
 * @method $this withVirtualHost($value)
779
 */
780
class ListQueueUpStreamBindings extends Rpc
781
{
782
783
    /** @var string */
784
    public $method = 'GET';
785
}
786
787
/**
788
 * @method string getInstanceId()
789
 * @method $this withInstanceId($value)
790
 * @method string getNextToken()
791
 * @method $this withNextToken($value)
792
 * @method string getMaxResults()
793
 * @method $this withMaxResults($value)
794
 */
795
class ListVirtualHosts extends Rpc
796
{
797
798
    /** @var string */
799
    public $method = 'GET';
800
}
801