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 ( a2d354...7f2161 )
by
unknown
05:44
created

DescribeFunction::withSpaceId()   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\MPServerless\V20190930;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method CreateFunction createFunction(array $options = [])
9
 * @method CreateFunctionDeployment createFunctionDeployment(array $options = [])
10
 * @method CreateMarketCellSpace createMarketCellSpace(array $options = [])
11
 * @method CreateTaobaoISVMpkCell createTaobaoISVMpkCell(array $options = [])
12
 * @method CreateTaobaoMerchantMpkCell createTaobaoMerchantMpkCell(array $options = [])
13
 * @method CreateTaobaoSpace createTaobaoSpace(array $options = [])
14
 * @method DeleteFunction deleteFunction(array $options = [])
15
 * @method DeployFunction deployFunction(array $options = [])
16
 * @method DescribeFunction describeFunction(array $options = [])
17
 * @method DescribeFunctionMetricList describeFunctionMetricList(array $options = [])
18
 * @method DescribeTaobaoSpace describeTaobaoSpace(array $options = [])
19
 * @method EnableExtension enableExtension(array $options = [])
20
 * @method ListExtensions listExtensions(array $options = [])
21
 * @method ListFunctionDeployments listFunctionDeployments(array $options = [])
22
 * @method ListFunctions listFunctions(array $options = [])
23
 * @method ListFunctionSpecs listFunctionSpecs(array $options = [])
24
 * @method RunFunction runFunction(array $options = [])
25
 * @method UpdateFunction updateFunction(array $options = [])
26
 */
27
class MPServerlessApiResolver extends ApiResolver
28
{
29
}
30
31
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
32
{
33
    /** @var string */
34
    public $product = 'MPServerless';
35
36
    /** @var string */
37
    public $version = '2019-09-30';
38
39
    /** @var string */
40
    public $method = 'POST';
41
42
    /** @var string */
43
    public $serviceCode = 'MPServerless';
44
}
45
46
/**
47
 * @method string getMemory()
48
 * @method string getRuntime()
49
 * @method string getTimeout()
50
 * @method string getCustomVariables()
51
 * @method string getSpaceId()
52
 * @method string getFunctionName()
53
 * @method string getFunctionDesc()
54
 */
55
class CreateFunction extends Rpc
56
{
57
58
    /**
59
     * @param string $value
60
     *
61
     * @return $this
62
     */
63
    public function withMemory($value)
64
    {
65
        $this->data['Memory'] = $value;
66
        $this->options['form_params']['Memory'] = $value;
67
68
        return $this;
69
    }
70
71
    /**
72
     * @param string $value
73
     *
74
     * @return $this
75
     */
76
    public function withRuntime($value)
77
    {
78
        $this->data['Runtime'] = $value;
79
        $this->options['form_params']['Runtime'] = $value;
80
81
        return $this;
82
    }
83
84
    /**
85
     * @param string $value
86
     *
87
     * @return $this
88
     */
89
    public function withTimeout($value)
90
    {
91
        $this->data['Timeout'] = $value;
92
        $this->options['form_params']['Timeout'] = $value;
93
94
        return $this;
95
    }
96
97
    /**
98
     * @param string $value
99
     *
100
     * @return $this
101
     */
102
    public function withCustomVariables($value)
103
    {
104
        $this->data['CustomVariables'] = $value;
105
        $this->options['form_params']['CustomVariables'] = $value;
106
107
        return $this;
108
    }
109
110
    /**
111
     * @param string $value
112
     *
113
     * @return $this
114
     */
115
    public function withSpaceId($value)
116
    {
117
        $this->data['SpaceId'] = $value;
118
        $this->options['form_params']['SpaceId'] = $value;
119
120
        return $this;
121
    }
122
123
    /**
124
     * @param string $value
125
     *
126
     * @return $this
127
     */
128
    public function withFunctionName($value)
129
    {
130
        $this->data['FunctionName'] = $value;
131
        $this->options['form_params']['FunctionName'] = $value;
132
133
        return $this;
134
    }
135
136
    /**
137
     * @param string $value
138
     *
139
     * @return $this
140
     */
141
    public function withFunctionDesc($value)
142
    {
143
        $this->data['FunctionDesc'] = $value;
144
        $this->options['form_params']['FunctionDesc'] = $value;
145
146
        return $this;
147
    }
148
}
149
150
/**
151
 * @method string getSpaceId()
152
 * @method string getFunctionId()
153
 */
154
class CreateFunctionDeployment extends Rpc
155
{
156
157
    /**
158
     * @param string $value
159
     *
160
     * @return $this
161
     */
162
    public function withSpaceId($value)
163
    {
164
        $this->data['SpaceId'] = $value;
165
        $this->options['form_params']['SpaceId'] = $value;
166
167
        return $this;
168
    }
169
170
    /**
171
     * @param string $value
172
     *
173
     * @return $this
174
     */
175
    public function withFunctionId($value)
176
    {
177
        $this->data['FunctionId'] = $value;
178
        $this->options['form_params']['FunctionId'] = $value;
179
180
        return $this;
181
    }
182
}
183
184
/**
185
 * @method string getOrderBizId()
186
 * @method $this withOrderBizId($value)
187
 */
188
class CreateMarketCellSpace extends Rpc
189
{
190
}
191
192
/**
193
 * @method string getLicenseNumber()
194
 * @method string getLicenseName()
195
 */
196
class CreateTaobaoISVMpkCell extends Rpc
197
{
198
199
    /**
200
     * @param string $value
201
     *
202
     * @return $this
203
     */
204
    public function withLicenseNumber($value)
205
    {
206
        $this->data['LicenseNumber'] = $value;
207
        $this->options['form_params']['LicenseNumber'] = $value;
208
209
        return $this;
210
    }
211
212
    /**
213
     * @param string $value
214
     *
215
     * @return $this
216
     */
217
    public function withLicenseName($value)
218
    {
219
        $this->data['LicenseName'] = $value;
220
        $this->options['form_params']['LicenseName'] = $value;
221
222
        return $this;
223
    }
224
}
225
226
/**
227
 * @method string getLicenseNumber()
228
 * @method string getBillAccountId()
229
 * @method string getLicenseName()
230
 */
231
class CreateTaobaoMerchantMpkCell extends Rpc
232
{
233
234
    /**
235
     * @param string $value
236
     *
237
     * @return $this
238
     */
239
    public function withLicenseNumber($value)
240
    {
241
        $this->data['LicenseNumber'] = $value;
242
        $this->options['form_params']['LicenseNumber'] = $value;
243
244
        return $this;
245
    }
246
247
    /**
248
     * @param string $value
249
     *
250
     * @return $this
251
     */
252
    public function withBillAccountId($value)
253
    {
254
        $this->data['BillAccountId'] = $value;
255
        $this->options['form_params']['BillAccountId'] = $value;
256
257
        return $this;
258
    }
259
260
    /**
261
     * @param string $value
262
     *
263
     * @return $this
264
     */
265
    public function withLicenseName($value)
266
    {
267
        $this->data['LicenseName'] = $value;
268
        $this->options['form_params']['LicenseName'] = $value;
269
270
        return $this;
271
    }
272
}
273
274
/**
275
 * @method string getSpaceName()
276
 * @method string getCellId()
277
 * @method string getSpaceDesc()
278
 */
279
class CreateTaobaoSpace extends Rpc
280
{
281
282
    /**
283
     * @param string $value
284
     *
285
     * @return $this
286
     */
287
    public function withSpaceName($value)
288
    {
289
        $this->data['SpaceName'] = $value;
290
        $this->options['form_params']['SpaceName'] = $value;
291
292
        return $this;
293
    }
294
295
    /**
296
     * @param string $value
297
     *
298
     * @return $this
299
     */
300
    public function withCellId($value)
301
    {
302
        $this->data['CellId'] = $value;
303
        $this->options['form_params']['CellId'] = $value;
304
305
        return $this;
306
    }
307
308
    /**
309
     * @param string $value
310
     *
311
     * @return $this
312
     */
313
    public function withSpaceDesc($value)
314
    {
315
        $this->data['SpaceDesc'] = $value;
316
        $this->options['form_params']['SpaceDesc'] = $value;
317
318
        return $this;
319
    }
320
}
321
322
/**
323
 * @method string getSpaceId()
324
 * @method string getFunctionId()
325
 */
326
class DeleteFunction extends Rpc
327
{
328
329
    /**
330
     * @param string $value
331
     *
332
     * @return $this
333
     */
334
    public function withSpaceId($value)
335
    {
336
        $this->data['SpaceId'] = $value;
337
        $this->options['form_params']['SpaceId'] = $value;
338
339
        return $this;
340
    }
341
342
    /**
343
     * @param string $value
344
     *
345
     * @return $this
346
     */
347
    public function withFunctionId($value)
348
    {
349
        $this->data['FunctionId'] = $value;
350
        $this->options['form_params']['FunctionId'] = $value;
351
352
        return $this;
353
    }
354
}
355
356
/**
357
 * @method string getSpaceId()
358
 * @method string getDeploymentId()
359
 */
360
class DeployFunction extends Rpc
361
{
362
363
    /**
364
     * @param string $value
365
     *
366
     * @return $this
367
     */
368
    public function withSpaceId($value)
369
    {
370
        $this->data['SpaceId'] = $value;
371
        $this->options['form_params']['SpaceId'] = $value;
372
373
        return $this;
374
    }
375
376
    /**
377
     * @param string $value
378
     *
379
     * @return $this
380
     */
381
    public function withDeploymentId($value)
382
    {
383
        $this->data['DeploymentId'] = $value;
384
        $this->options['form_params']['DeploymentId'] = $value;
385
386
        return $this;
387
    }
388
}
389
390
/**
391
 * @method string getSpaceId()
392
 * @method string getFunctionId()
393
 */
394
class DescribeFunction extends Rpc
395
{
396
397
    /**
398
     * @param string $value
399
     *
400
     * @return $this
401
     */
402
    public function withSpaceId($value)
403
    {
404
        $this->data['SpaceId'] = $value;
405
        $this->options['form_params']['SpaceId'] = $value;
406
407
        return $this;
408
    }
409
410
    /**
411
     * @param string $value
412
     *
413
     * @return $this
414
     */
415
    public function withFunctionId($value)
416
    {
417
        $this->data['FunctionId'] = $value;
418
        $this->options['form_params']['FunctionId'] = $value;
419
420
        return $this;
421
    }
422
}
423
424
/**
425
 * @method string getPeriod()
426
 * @method string getLength()
427
 * @method string getEndTime()
428
 * @method string getStartTime()
429
 * @method string getSpaceId()
430
 * @method string getNextToken()
431
 * @method string getFunctionName()
432
 * @method string getMetricName()
433
 */
434
class DescribeFunctionMetricList extends Rpc
435
{
436
437
    /**
438
     * @param string $value
439
     *
440
     * @return $this
441
     */
442
    public function withPeriod($value)
443
    {
444
        $this->data['Period'] = $value;
445
        $this->options['form_params']['Period'] = $value;
446
447
        return $this;
448
    }
449
450
    /**
451
     * @param string $value
452
     *
453
     * @return $this
454
     */
455
    public function withLength($value)
456
    {
457
        $this->data['Length'] = $value;
458
        $this->options['form_params']['Length'] = $value;
459
460
        return $this;
461
    }
462
463
    /**
464
     * @param string $value
465
     *
466
     * @return $this
467
     */
468
    public function withEndTime($value)
469
    {
470
        $this->data['EndTime'] = $value;
471
        $this->options['form_params']['EndTime'] = $value;
472
473
        return $this;
474
    }
475
476
    /**
477
     * @param string $value
478
     *
479
     * @return $this
480
     */
481
    public function withStartTime($value)
482
    {
483
        $this->data['StartTime'] = $value;
484
        $this->options['form_params']['StartTime'] = $value;
485
486
        return $this;
487
    }
488
489
    /**
490
     * @param string $value
491
     *
492
     * @return $this
493
     */
494
    public function withSpaceId($value)
495
    {
496
        $this->data['SpaceId'] = $value;
497
        $this->options['form_params']['SpaceId'] = $value;
498
499
        return $this;
500
    }
501
502
    /**
503
     * @param string $value
504
     *
505
     * @return $this
506
     */
507
    public function withNextToken($value)
508
    {
509
        $this->data['NextToken'] = $value;
510
        $this->options['form_params']['NextToken'] = $value;
511
512
        return $this;
513
    }
514
515
    /**
516
     * @param string $value
517
     *
518
     * @return $this
519
     */
520
    public function withFunctionName($value)
521
    {
522
        $this->data['FunctionName'] = $value;
523
        $this->options['form_params']['FunctionName'] = $value;
524
525
        return $this;
526
    }
527
528
    /**
529
     * @param string $value
530
     *
531
     * @return $this
532
     */
533
    public function withMetricName($value)
534
    {
535
        $this->data['MetricName'] = $value;
536
        $this->options['form_params']['MetricName'] = $value;
537
538
        return $this;
539
    }
540
}
541
542
/**
543
 * @method string getCellId()
544
 * @method string getSpaceId()
545
 */
546
class DescribeTaobaoSpace extends Rpc
547
{
548
549
    /**
550
     * @param string $value
551
     *
552
     * @return $this
553
     */
554
    public function withCellId($value)
555
    {
556
        $this->data['CellId'] = $value;
557
        $this->options['form_params']['CellId'] = $value;
558
559
        return $this;
560
    }
561
562
    /**
563
     * @param string $value
564
     *
565
     * @return $this
566
     */
567
    public function withSpaceId($value)
568
    {
569
        $this->data['SpaceId'] = $value;
570
        $this->options['form_params']['SpaceId'] = $value;
571
572
        return $this;
573
    }
574
}
575
576
/**
577
 * @method string getExtensionId()
578
 */
579
class EnableExtension extends Rpc
580
{
581
582
    /**
583
     * @param string $value
584
     *
585
     * @return $this
586
     */
587
    public function withExtensionId($value)
588
    {
589
        $this->data['ExtensionId'] = $value;
590
        $this->options['form_params']['ExtensionId'] = $value;
591
592
        return $this;
593
    }
594
}
595
596
/**
597
 * @method string getPageNumber()
598
 * @method string getPageSize()
599
 */
600
class ListExtensions extends Rpc
601
{
602
603
    /**
604
     * @param string $value
605
     *
606
     * @return $this
607
     */
608
    public function withPageNumber($value)
609
    {
610
        $this->data['PageNumber'] = $value;
611
        $this->options['form_params']['PageNumber'] = $value;
612
613
        return $this;
614
    }
615
616
    /**
617
     * @param string $value
618
     *
619
     * @return $this
620
     */
621
    public function withPageSize($value)
622
    {
623
        $this->data['PageSize'] = $value;
624
        $this->options['form_params']['PageSize'] = $value;
625
626
        return $this;
627
    }
628
}
629
630
/**
631
 * @method string getPageNumber()
632
 * @method $this withPageNumber($value)
633
 * @method string getSpaceId()
634
 * @method $this withSpaceId($value)
635
 * @method string getFunctionId()
636
 * @method $this withFunctionId($value)
637
 * @method string getDeploymentStatus()
638
 * @method $this withDeploymentStatus($value)
639
 * @method string getPageSize()
640
 * @method $this withPageSize($value)
641
 */
642
class ListFunctionDeployments extends Rpc
643
{
644
}
645
646
/**
647
 * @method string getPageNumber()
648
 * @method $this withPageNumber($value)
649
 * @method string getSpaceId()
650
 * @method $this withSpaceId($value)
651
 * @method string getPageSize()
652
 * @method $this withPageSize($value)
653
 * @method string getSortBy()
654
 * @method $this withSortBy($value)
655
 * @method string getKeyword()
656
 * @method $this withKeyword($value)
657
 * @method string getSortDir()
658
 * @method $this withSortDir($value)
659
 */
660
class ListFunctions extends Rpc
661
{
662
}
663
664
/**
665
 * @method string getSpaceId()
666
 */
667
class ListFunctionSpecs extends Rpc
668
{
669
670
    /**
671
     * @param string $value
672
     *
673
     * @return $this
674
     */
675
    public function withSpaceId($value)
676
    {
677
        $this->data['SpaceId'] = $value;
678
        $this->options['form_params']['SpaceId'] = $value;
679
680
        return $this;
681
    }
682
}
683
684
/**
685
 * @method string getRunParams()
686
 * @method string getSpaceId()
687
 */
688
class RunFunction extends Rpc
689
{
690
691
    /**
692
     * @param string $value
693
     *
694
     * @return $this
695
     */
696
    public function withRunParams($value)
697
    {
698
        $this->data['RunParams'] = $value;
699
        $this->options['form_params']['RunParams'] = $value;
700
701
        return $this;
702
    }
703
704
    /**
705
     * @param string $value
706
     *
707
     * @return $this
708
     */
709
    public function withSpaceId($value)
710
    {
711
        $this->data['SpaceId'] = $value;
712
        $this->options['form_params']['SpaceId'] = $value;
713
714
        return $this;
715
    }
716
}
717
718
/**
719
 * @method string getMemory()
720
 * @method string getRuntime()
721
 * @method string getTimeout()
722
 * @method string getCustomVariables()
723
 * @method string getSpaceId()
724
 * @method string getFunctionId()
725
 * @method string getFunctionDesc()
726
 */
727
class UpdateFunction extends Rpc
728
{
729
730
    /**
731
     * @param string $value
732
     *
733
     * @return $this
734
     */
735
    public function withMemory($value)
736
    {
737
        $this->data['Memory'] = $value;
738
        $this->options['form_params']['Memory'] = $value;
739
740
        return $this;
741
    }
742
743
    /**
744
     * @param string $value
745
     *
746
     * @return $this
747
     */
748
    public function withRuntime($value)
749
    {
750
        $this->data['Runtime'] = $value;
751
        $this->options['form_params']['Runtime'] = $value;
752
753
        return $this;
754
    }
755
756
    /**
757
     * @param string $value
758
     *
759
     * @return $this
760
     */
761
    public function withTimeout($value)
762
    {
763
        $this->data['Timeout'] = $value;
764
        $this->options['form_params']['Timeout'] = $value;
765
766
        return $this;
767
    }
768
769
    /**
770
     * @param string $value
771
     *
772
     * @return $this
773
     */
774
    public function withCustomVariables($value)
775
    {
776
        $this->data['CustomVariables'] = $value;
777
        $this->options['form_params']['CustomVariables'] = $value;
778
779
        return $this;
780
    }
781
782
    /**
783
     * @param string $value
784
     *
785
     * @return $this
786
     */
787
    public function withSpaceId($value)
788
    {
789
        $this->data['SpaceId'] = $value;
790
        $this->options['form_params']['SpaceId'] = $value;
791
792
        return $this;
793
    }
794
795
    /**
796
     * @param string $value
797
     *
798
     * @return $this
799
     */
800
    public function withFunctionId($value)
801
    {
802
        $this->data['FunctionId'] = $value;
803
        $this->options['form_params']['FunctionId'] = $value;
804
805
        return $this;
806
    }
807
808
    /**
809
     * @param string $value
810
     *
811
     * @return $this
812
     */
813
    public function withFunctionDesc($value)
814
    {
815
        $this->data['FunctionDesc'] = $value;
816
        $this->options['form_params']['FunctionDesc'] = $value;
817
818
        return $this;
819
    }
820
}
821