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

UpdateDingtalkOpenPlatformConfig::withAppSecret()   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\V20190615;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AddDingtalkOpenPlatformConfig addDingtalkOpenPlatformConfig(array $options = [])
9
 * @method CreateFunction createFunction(array $options = [])
10
 * @method CreateFunctionDeployment createFunctionDeployment(array $options = [])
11
 * @method CreateSpace createSpace(array $options = [])
12
 * @method DeleteAntOpenPlatformConfig deleteAntOpenPlatformConfig(array $options = [])
13
 * @method DeleteDBCollection deleteDBCollection(array $options = [])
14
 * @method DeleteDingtalkOpenPlatformConfig deleteDingtalkOpenPlatformConfig(array $options = [])
15
 * @method DeleteFile deleteFile(array $options = [])
16
 * @method DeleteFunction deleteFunction(array $options = [])
17
 * @method DeleteSpace deleteSpace(array $options = [])
18
 * @method DeleteWechatOpenPlatformConfig deleteWechatOpenPlatformConfig(array $options = [])
19
 * @method DeployFunction deployFunction(array $options = [])
20
 * @method DescribeFCOpenStatus describeFCOpenStatus(array $options = [])
21
 * @method DescribeFile describeFile(array $options = [])
22
 * @method DescribeFileUploadSignedUrl describeFileUploadSignedUrl(array $options = [])
23
 * @method DescribeFunction describeFunction(array $options = [])
24
 * @method DescribeISVFileUploadSignedUrl describeISVFileUploadSignedUrl(array $options = [])
25
 * @method DescribeProductOpenStatus describeProductOpenStatus(array $options = [])
26
 * @method DescribeServicePolicy describeServicePolicy(array $options = [])
27
 * @method DescribeSpace describeSpace(array $options = [])
28
 * @method DescribeSpaceClientConfig describeSpaceClientConfig(array $options = [])
29
 * @method EnableExtension enableExtension(array $options = [])
30
 * @method ListDingtalkOpenPlatformConfigs listDingtalkOpenPlatformConfigs(array $options = [])
31
 * @method ListExtensions listExtensions(array $options = [])
32
 * @method ListFile listFile(array $options = [])
33
 * @method ListFunction listFunction(array $options = [])
34
 * @method ListFunctionDeployment listFunctionDeployment(array $options = [])
35
 * @method ListFunctionLog listFunctionLog(array $options = [])
36
 * @method ListFunctionSpec listFunctionSpec(array $options = [])
37
 * @method ListOpenPlatformConfig listOpenPlatformConfig(array $options = [])
38
 * @method ListSpace listSpace(array $options = [])
39
 * @method ListSpaceOfLabel listSpaceOfLabel(array $options = [])
40
 * @method OpenProduct openProduct(array $options = [])
41
 * @method RegisterFile registerFile(array $options = [])
42
 * @method RunDBCommand runDBCommand(array $options = [])
43
 * @method RunFunction runFunction(array $options = [])
44
 * @method SaveAntOpenPlatformConfig saveAntOpenPlatformConfig(array $options = [])
45
 * @method SaveWechatOpenPlatformConfig saveWechatOpenPlatformConfig(array $options = [])
46
 * @method UpdateDingtalkOpenPlatformConfig updateDingtalkOpenPlatformConfig(array $options = [])
47
 * @method UpdateFunction updateFunction(array $options = [])
48
 * @method UpdateServicePolicy updateServicePolicy(array $options = [])
49
 */
50
class MPServerlessApiResolver extends ApiResolver
51
{
52
}
53
54
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
55
{
56
    /** @var string */
57
    public $product = 'MPServerless';
58
59
    /** @var string */
60
    public $version = '2019-06-15';
61
62
    /** @var string */
63
    public $method = 'POST';
64
65
    /** @var string */
66
    public $serviceCode = 'MPServerless';
67
}
68
69
/**
70
 * @method string getSpaceId()
71
 * @method string getAppId()
72
 * @method string getAppSecret()
73
 */
74
class AddDingtalkOpenPlatformConfig extends Rpc
75
{
76
77
    /**
78
     * @param string $value
79
     *
80
     * @return $this
81
     */
82
    public function withSpaceId($value)
83
    {
84
        $this->data['SpaceId'] = $value;
85
        $this->options['form_params']['SpaceId'] = $value;
86
87
        return $this;
88
    }
89
90
    /**
91
     * @param string $value
92
     *
93
     * @return $this
94
     */
95
    public function withAppId($value)
96
    {
97
        $this->data['AppId'] = $value;
98
        $this->options['form_params']['AppId'] = $value;
99
100
        return $this;
101
    }
102
103
    /**
104
     * @param string $value
105
     *
106
     * @return $this
107
     */
108
    public function withAppSecret($value)
109
    {
110
        $this->data['AppSecret'] = $value;
111
        $this->options['form_params']['AppSecret'] = $value;
112
113
        return $this;
114
    }
115
}
116
117
/**
118
 * @method string getSpaceId()
119
 * @method string getName()
120
 * @method string getDesc()
121
 */
122
class CreateFunction extends Rpc
123
{
124
125
    /**
126
     * @param string $value
127
     *
128
     * @return $this
129
     */
130
    public function withSpaceId($value)
131
    {
132
        $this->data['SpaceId'] = $value;
133
        $this->options['form_params']['SpaceId'] = $value;
134
135
        return $this;
136
    }
137
138
    /**
139
     * @param string $value
140
     *
141
     * @return $this
142
     */
143
    public function withName($value)
144
    {
145
        $this->data['Name'] = $value;
146
        $this->options['form_params']['Name'] = $value;
147
148
        return $this;
149
    }
150
151
    /**
152
     * @param string $value
153
     *
154
     * @return $this
155
     */
156
    public function withDesc($value)
157
    {
158
        $this->data['Desc'] = $value;
159
        $this->options['form_params']['Desc'] = $value;
160
161
        return $this;
162
    }
163
}
164
165
/**
166
 * @method string getSpaceId()
167
 * @method string getName()
168
 */
169
class CreateFunctionDeployment extends Rpc
170
{
171
172
    /**
173
     * @param string $value
174
     *
175
     * @return $this
176
     */
177
    public function withSpaceId($value)
178
    {
179
        $this->data['SpaceId'] = $value;
180
        $this->options['form_params']['SpaceId'] = $value;
181
182
        return $this;
183
    }
184
185
    /**
186
     * @param string $value
187
     *
188
     * @return $this
189
     */
190
    public function withName($value)
191
    {
192
        $this->data['Name'] = $value;
193
        $this->options['form_params']['Name'] = $value;
194
195
        return $this;
196
    }
197
}
198
199
/**
200
 * @method array getLabels()
201
 * @method string getName()
202
 * @method $this withName($value)
203
 * @method string getDesc()
204
 * @method $this withDesc($value)
205
 */
206
class CreateSpace extends Rpc
207
{
208
209
    /**
210
     * @param array $labels
211
     *
212
     * @return $this
213
     */
214
	public function withLabels(array $labels)
215
	{
216
	    $this->data['Labels'] = $labels;
217
		foreach ($labels as $depth1 => $depth1Value) {
218
			$this->options['query']['Labels.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
219
			$this->options['query']['Labels.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
220
		}
221
222
		return $this;
223
    }
224
}
225
226
/**
227
 * @method string getSpaceId()
228
 * @method string getAppId()
229
 */
230
class DeleteAntOpenPlatformConfig extends Rpc
231
{
232
233
    /**
234
     * @param string $value
235
     *
236
     * @return $this
237
     */
238
    public function withSpaceId($value)
239
    {
240
        $this->data['SpaceId'] = $value;
241
        $this->options['form_params']['SpaceId'] = $value;
242
243
        return $this;
244
    }
245
246
    /**
247
     * @param string $value
248
     *
249
     * @return $this
250
     */
251
    public function withAppId($value)
252
    {
253
        $this->data['AppId'] = $value;
254
        $this->options['form_params']['AppId'] = $value;
255
256
        return $this;
257
    }
258
}
259
260
/**
261
 * @method string getBody()
262
 * @method string getSpaceId()
263
 */
264
class DeleteDBCollection extends Rpc
265
{
266
267
    /**
268
     * @param string $value
269
     *
270
     * @return $this
271
     */
272
    public function withBody($value)
273
    {
274
        $this->data['Body'] = $value;
275
        $this->options['form_params']['Body'] = $value;
276
277
        return $this;
278
    }
279
280
    /**
281
     * @param string $value
282
     *
283
     * @return $this
284
     */
285
    public function withSpaceId($value)
286
    {
287
        $this->data['SpaceId'] = $value;
288
        $this->options['form_params']['SpaceId'] = $value;
289
290
        return $this;
291
    }
292
}
293
294
/**
295
 * @method string getSpaceId()
296
 * @method string getAppId()
297
 */
298
class DeleteDingtalkOpenPlatformConfig extends Rpc
299
{
300
301
    /**
302
     * @param string $value
303
     *
304
     * @return $this
305
     */
306
    public function withSpaceId($value)
307
    {
308
        $this->data['SpaceId'] = $value;
309
        $this->options['form_params']['SpaceId'] = $value;
310
311
        return $this;
312
    }
313
314
    /**
315
     * @param string $value
316
     *
317
     * @return $this
318
     */
319
    public function withAppId($value)
320
    {
321
        $this->data['AppId'] = $value;
322
        $this->options['form_params']['AppId'] = $value;
323
324
        return $this;
325
    }
326
}
327
328
/**
329
 * @method string getSpaceId()
330
 * @method string getId()
331
 */
332
class DeleteFile extends Rpc
333
{
334
335
    /**
336
     * @param string $value
337
     *
338
     * @return $this
339
     */
340
    public function withSpaceId($value)
341
    {
342
        $this->data['SpaceId'] = $value;
343
        $this->options['form_params']['SpaceId'] = $value;
344
345
        return $this;
346
    }
347
348
    /**
349
     * @param string $value
350
     *
351
     * @return $this
352
     */
353
    public function withId($value)
354
    {
355
        $this->data['Id'] = $value;
356
        $this->options['form_params']['Id'] = $value;
357
358
        return $this;
359
    }
360
}
361
362
/**
363
 * @method string getSpaceId()
364
 * @method string getName()
365
 */
366
class DeleteFunction extends Rpc
367
{
368
369
    /**
370
     * @param string $value
371
     *
372
     * @return $this
373
     */
374
    public function withSpaceId($value)
375
    {
376
        $this->data['SpaceId'] = $value;
377
        $this->options['form_params']['SpaceId'] = $value;
378
379
        return $this;
380
    }
381
382
    /**
383
     * @param string $value
384
     *
385
     * @return $this
386
     */
387
    public function withName($value)
388
    {
389
        $this->data['Name'] = $value;
390
        $this->options['form_params']['Name'] = $value;
391
392
        return $this;
393
    }
394
}
395
396
/**
397
 * @method string getSpaceId()
398
 */
399
class DeleteSpace extends Rpc
400
{
401
402
    /**
403
     * @param string $value
404
     *
405
     * @return $this
406
     */
407
    public function withSpaceId($value)
408
    {
409
        $this->data['SpaceId'] = $value;
410
        $this->options['form_params']['SpaceId'] = $value;
411
412
        return $this;
413
    }
414
}
415
416
/**
417
 * @method string getSpaceId()
418
 * @method string getAppId()
419
 */
420
class DeleteWechatOpenPlatformConfig extends Rpc
421
{
422
423
    /**
424
     * @param string $value
425
     *
426
     * @return $this
427
     */
428
    public function withSpaceId($value)
429
    {
430
        $this->data['SpaceId'] = $value;
431
        $this->options['form_params']['SpaceId'] = $value;
432
433
        return $this;
434
    }
435
436
    /**
437
     * @param string $value
438
     *
439
     * @return $this
440
     */
441
    public function withAppId($value)
442
    {
443
        $this->data['AppId'] = $value;
444
        $this->options['form_params']['AppId'] = $value;
445
446
        return $this;
447
    }
448
}
449
450
/**
451
 * @method string getSpaceId()
452
 * @method string getDeploymentId()
453
 */
454
class DeployFunction extends Rpc
455
{
456
457
    /**
458
     * @param string $value
459
     *
460
     * @return $this
461
     */
462
    public function withSpaceId($value)
463
    {
464
        $this->data['SpaceId'] = $value;
465
        $this->options['form_params']['SpaceId'] = $value;
466
467
        return $this;
468
    }
469
470
    /**
471
     * @param string $value
472
     *
473
     * @return $this
474
     */
475
    public function withDeploymentId($value)
476
    {
477
        $this->data['DeploymentId'] = $value;
478
        $this->options['form_params']['DeploymentId'] = $value;
479
480
        return $this;
481
    }
482
}
483
484
class DescribeFCOpenStatus extends Rpc
485
{
486
}
487
488
/**
489
 * @method string getSpaceId()
490
 * @method string getId()
491
 */
492
class DescribeFile extends Rpc
493
{
494
495
    /**
496
     * @param string $value
497
     *
498
     * @return $this
499
     */
500
    public function withSpaceId($value)
501
    {
502
        $this->data['SpaceId'] = $value;
503
        $this->options['form_params']['SpaceId'] = $value;
504
505
        return $this;
506
    }
507
508
    /**
509
     * @param string $value
510
     *
511
     * @return $this
512
     */
513
    public function withId($value)
514
    {
515
        $this->data['Id'] = $value;
516
        $this->options['form_params']['Id'] = $value;
517
518
        return $this;
519
    }
520
}
521
522
/**
523
 * @method string getContentType()
524
 * @method string getSpaceId()
525
 * @method string getFilename()
526
 * @method string getSize()
527
 * @method string getTargetPath()
528
 */
529
class DescribeFileUploadSignedUrl extends Rpc
530
{
531
532
    /**
533
     * @param string $value
534
     *
535
     * @return $this
536
     */
537
    public function withContentType($value)
538
    {
539
        $this->data['ContentType'] = $value;
540
        $this->options['form_params']['ContentType'] = $value;
541
542
        return $this;
543
    }
544
545
    /**
546
     * @param string $value
547
     *
548
     * @return $this
549
     */
550
    public function withSpaceId($value)
551
    {
552
        $this->data['SpaceId'] = $value;
553
        $this->options['form_params']['SpaceId'] = $value;
554
555
        return $this;
556
    }
557
558
    /**
559
     * @param string $value
560
     *
561
     * @return $this
562
     */
563
    public function withFilename($value)
564
    {
565
        $this->data['Filename'] = $value;
566
        $this->options['form_params']['Filename'] = $value;
567
568
        return $this;
569
    }
570
571
    /**
572
     * @param string $value
573
     *
574
     * @return $this
575
     */
576
    public function withSize($value)
577
    {
578
        $this->data['Size'] = $value;
579
        $this->options['form_params']['Size'] = $value;
580
581
        return $this;
582
    }
583
584
    /**
585
     * @param string $value
586
     *
587
     * @return $this
588
     */
589
    public function withTargetPath($value)
590
    {
591
        $this->data['TargetPath'] = $value;
592
        $this->options['form_params']['TargetPath'] = $value;
593
594
        return $this;
595
    }
596
}
597
598
/**
599
 * @method string getSpaceId()
600
 * @method string getName()
601
 */
602
class DescribeFunction extends Rpc
603
{
604
605
    /**
606
     * @param string $value
607
     *
608
     * @return $this
609
     */
610
    public function withSpaceId($value)
611
    {
612
        $this->data['SpaceId'] = $value;
613
        $this->options['form_params']['SpaceId'] = $value;
614
615
        return $this;
616
    }
617
618
    /**
619
     * @param string $value
620
     *
621
     * @return $this
622
     */
623
    public function withName($value)
624
    {
625
        $this->data['Name'] = $value;
626
        $this->options['form_params']['Name'] = $value;
627
628
        return $this;
629
    }
630
}
631
632
/**
633
 * @method string getFilename()
634
 * @method string getBucketName()
635
 * @method string getTenantId()
636
 */
637
class DescribeISVFileUploadSignedUrl extends Rpc
638
{
639
640
    /**
641
     * @param string $value
642
     *
643
     * @return $this
644
     */
645
    public function withFilename($value)
646
    {
647
        $this->data['Filename'] = $value;
648
        $this->options['form_params']['Filename'] = $value;
649
650
        return $this;
651
    }
652
653
    /**
654
     * @param string $value
655
     *
656
     * @return $this
657
     */
658
    public function withBucketName($value)
659
    {
660
        $this->data['BucketName'] = $value;
661
        $this->options['form_params']['BucketName'] = $value;
662
663
        return $this;
664
    }
665
666
    /**
667
     * @param string $value
668
     *
669
     * @return $this
670
     */
671
    public function withTenantId($value)
672
    {
673
        $this->data['TenantId'] = $value;
674
        $this->options['form_params']['TenantId'] = $value;
675
676
        return $this;
677
    }
678
}
679
680
/**
681
 * @method array getLabels()
682
 * @method string getName()
683
 * @method string getDesc()
684
 */
685
class DescribeProductOpenStatus extends Rpc
686
{
687
688
    /**
689
     * @param array $labels
690
     *
691
     * @return $this
692
     */
693
	public function withLabels(array $labels)
694
	{
695
	    $this->data['Labels'] = $labels;
696
		foreach ($labels as $depth1 => $depth1Value) {
697
			$this->options['form_params']['Labels.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
698
			$this->options['form_params']['Labels.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
699
		}
700
701
		return $this;
702
    }
703
704
    /**
705
     * @param string $value
706
     *
707
     * @return $this
708
     */
709
    public function withName($value)
710
    {
711
        $this->data['Name'] = $value;
712
        $this->options['form_params']['Name'] = $value;
713
714
        return $this;
715
    }
716
717
    /**
718
     * @param string $value
719
     *
720
     * @return $this
721
     */
722
    public function withDesc($value)
723
    {
724
        $this->data['Desc'] = $value;
725
        $this->options['form_params']['Desc'] = $value;
726
727
        return $this;
728
    }
729
}
730
731
/**
732
 * @method string getSpaceId()
733
 * @method string getServiceName()
734
 */
735
class DescribeServicePolicy extends Rpc
736
{
737
738
    /**
739
     * @param string $value
740
     *
741
     * @return $this
742
     */
743
    public function withSpaceId($value)
744
    {
745
        $this->data['SpaceId'] = $value;
746
        $this->options['form_params']['SpaceId'] = $value;
747
748
        return $this;
749
    }
750
751
    /**
752
     * @param string $value
753
     *
754
     * @return $this
755
     */
756
    public function withServiceName($value)
757
    {
758
        $this->data['ServiceName'] = $value;
759
        $this->options['form_params']['ServiceName'] = $value;
760
761
        return $this;
762
    }
763
}
764
765
/**
766
 * @method string getSpaceId()
767
 */
768
class DescribeSpace extends Rpc
769
{
770
771
    /**
772
     * @param string $value
773
     *
774
     * @return $this
775
     */
776
    public function withSpaceId($value)
777
    {
778
        $this->data['SpaceId'] = $value;
779
        $this->options['form_params']['SpaceId'] = $value;
780
781
        return $this;
782
    }
783
}
784
785
/**
786
 * @method string getSpaceId()
787
 */
788
class DescribeSpaceClientConfig extends Rpc
789
{
790
791
    /**
792
     * @param string $value
793
     *
794
     * @return $this
795
     */
796
    public function withSpaceId($value)
797
    {
798
        $this->data['SpaceId'] = $value;
799
        $this->options['form_params']['SpaceId'] = $value;
800
801
        return $this;
802
    }
803
}
804
805
/**
806
 * @method string getExtensionId()
807
 */
808
class EnableExtension extends Rpc
809
{
810
811
    /**
812
     * @param string $value
813
     *
814
     * @return $this
815
     */
816
    public function withExtensionId($value)
817
    {
818
        $this->data['ExtensionId'] = $value;
819
        $this->options['form_params']['ExtensionId'] = $value;
820
821
        return $this;
822
    }
823
}
824
825
/**
826
 * @method string getSpaceId()
827
 */
828
class ListDingtalkOpenPlatformConfigs extends Rpc
829
{
830
831
    /**
832
     * @param string $value
833
     *
834
     * @return $this
835
     */
836
    public function withSpaceId($value)
837
    {
838
        $this->data['SpaceId'] = $value;
839
        $this->options['form_params']['SpaceId'] = $value;
840
841
        return $this;
842
    }
843
}
844
845
/**
846
 * @method string getPageNumber()
847
 * @method string getPageSize()
848
 */
849
class ListExtensions extends Rpc
850
{
851
852
    /**
853
     * @param string $value
854
     *
855
     * @return $this
856
     */
857
    public function withPageNumber($value)
858
    {
859
        $this->data['PageNumber'] = $value;
860
        $this->options['form_params']['PageNumber'] = $value;
861
862
        return $this;
863
    }
864
865
    /**
866
     * @param string $value
867
     *
868
     * @return $this
869
     */
870
    public function withPageSize($value)
871
    {
872
        $this->data['PageSize'] = $value;
873
        $this->options['form_params']['PageSize'] = $value;
874
875
        return $this;
876
    }
877
}
878
879
/**
880
 * @method string getPageNum()
881
 * @method string getSpaceId()
882
 * @method string getPageSize()
883
 * @method string getKeyword()
884
 */
885
class ListFile extends Rpc
886
{
887
888
    /**
889
     * @param string $value
890
     *
891
     * @return $this
892
     */
893
    public function withPageNum($value)
894
    {
895
        $this->data['PageNum'] = $value;
896
        $this->options['form_params']['PageNum'] = $value;
897
898
        return $this;
899
    }
900
901
    /**
902
     * @param string $value
903
     *
904
     * @return $this
905
     */
906
    public function withSpaceId($value)
907
    {
908
        $this->data['SpaceId'] = $value;
909
        $this->options['form_params']['SpaceId'] = $value;
910
911
        return $this;
912
    }
913
914
    /**
915
     * @param string $value
916
     *
917
     * @return $this
918
     */
919
    public function withPageSize($value)
920
    {
921
        $this->data['PageSize'] = $value;
922
        $this->options['form_params']['PageSize'] = $value;
923
924
        return $this;
925
    }
926
927
    /**
928
     * @param string $value
929
     *
930
     * @return $this
931
     */
932
    public function withKeyword($value)
933
    {
934
        $this->data['Keyword'] = $value;
935
        $this->options['form_params']['Keyword'] = $value;
936
937
        return $this;
938
    }
939
}
940
941
/**
942
 * @method string getPageNum()
943
 * @method string getFilterBy()
944
 * @method string getSpaceId()
945
 * @method string getPageSize()
946
 */
947
class ListFunction extends Rpc
948
{
949
950
    /**
951
     * @param string $value
952
     *
953
     * @return $this
954
     */
955
    public function withPageNum($value)
956
    {
957
        $this->data['PageNum'] = $value;
958
        $this->options['form_params']['PageNum'] = $value;
959
960
        return $this;
961
    }
962
963
    /**
964
     * @param string $value
965
     *
966
     * @return $this
967
     */
968
    public function withFilterBy($value)
969
    {
970
        $this->data['FilterBy'] = $value;
971
        $this->options['form_params']['FilterBy'] = $value;
972
973
        return $this;
974
    }
975
976
    /**
977
     * @param string $value
978
     *
979
     * @return $this
980
     */
981
    public function withSpaceId($value)
982
    {
983
        $this->data['SpaceId'] = $value;
984
        $this->options['form_params']['SpaceId'] = $value;
985
986
        return $this;
987
    }
988
989
    /**
990
     * @param string $value
991
     *
992
     * @return $this
993
     */
994
    public function withPageSize($value)
995
    {
996
        $this->data['PageSize'] = $value;
997
        $this->options['form_params']['PageSize'] = $value;
998
999
        return $this;
1000
    }
1001
}
1002
1003
/**
1004
 * @method string getPageNum()
1005
 * @method string getSpaceId()
1006
 * @method string getPageSize()
1007
 * @method string getName()
1008
 * @method string getStatus()
1009
 */
1010
class ListFunctionDeployment extends Rpc
1011
{
1012
1013
    /**
1014
     * @param string $value
1015
     *
1016
     * @return $this
1017
     */
1018
    public function withPageNum($value)
1019
    {
1020
        $this->data['PageNum'] = $value;
1021
        $this->options['form_params']['PageNum'] = $value;
1022
1023
        return $this;
1024
    }
1025
1026
    /**
1027
     * @param string $value
1028
     *
1029
     * @return $this
1030
     */
1031
    public function withSpaceId($value)
1032
    {
1033
        $this->data['SpaceId'] = $value;
1034
        $this->options['form_params']['SpaceId'] = $value;
1035
1036
        return $this;
1037
    }
1038
1039
    /**
1040
     * @param string $value
1041
     *
1042
     * @return $this
1043
     */
1044
    public function withPageSize($value)
1045
    {
1046
        $this->data['PageSize'] = $value;
1047
        $this->options['form_params']['PageSize'] = $value;
1048
1049
        return $this;
1050
    }
1051
1052
    /**
1053
     * @param string $value
1054
     *
1055
     * @return $this
1056
     */
1057
    public function withName($value)
1058
    {
1059
        $this->data['Name'] = $value;
1060
        $this->options['form_params']['Name'] = $value;
1061
1062
        return $this;
1063
    }
1064
1065
    /**
1066
     * @param string $value
1067
     *
1068
     * @return $this
1069
     */
1070
    public function withStatus($value)
1071
    {
1072
        $this->data['Status'] = $value;
1073
        $this->options['form_params']['Status'] = $value;
1074
1075
        return $this;
1076
    }
1077
}
1078
1079
/**
1080
 * @method string getLogRequestId()
1081
 * @method string getPageNum()
1082
 * @method string getFromDate()
1083
 * @method string getSpaceId()
1084
 * @method string getToDate()
1085
 * @method string getPageSize()
1086
 * @method string getName()
1087
 * @method string getStatus()
1088
 */
1089
class ListFunctionLog extends Rpc
1090
{
1091
1092
    /**
1093
     * @param string $value
1094
     *
1095
     * @return $this
1096
     */
1097
    public function withLogRequestId($value)
1098
    {
1099
        $this->data['LogRequestId'] = $value;
1100
        $this->options['form_params']['LogRequestId'] = $value;
1101
1102
        return $this;
1103
    }
1104
1105
    /**
1106
     * @param string $value
1107
     *
1108
     * @return $this
1109
     */
1110
    public function withPageNum($value)
1111
    {
1112
        $this->data['PageNum'] = $value;
1113
        $this->options['form_params']['PageNum'] = $value;
1114
1115
        return $this;
1116
    }
1117
1118
    /**
1119
     * @param string $value
1120
     *
1121
     * @return $this
1122
     */
1123
    public function withFromDate($value)
1124
    {
1125
        $this->data['FromDate'] = $value;
1126
        $this->options['form_params']['FromDate'] = $value;
1127
1128
        return $this;
1129
    }
1130
1131
    /**
1132
     * @param string $value
1133
     *
1134
     * @return $this
1135
     */
1136
    public function withSpaceId($value)
1137
    {
1138
        $this->data['SpaceId'] = $value;
1139
        $this->options['form_params']['SpaceId'] = $value;
1140
1141
        return $this;
1142
    }
1143
1144
    /**
1145
     * @param string $value
1146
     *
1147
     * @return $this
1148
     */
1149
    public function withToDate($value)
1150
    {
1151
        $this->data['ToDate'] = $value;
1152
        $this->options['form_params']['ToDate'] = $value;
1153
1154
        return $this;
1155
    }
1156
1157
    /**
1158
     * @param string $value
1159
     *
1160
     * @return $this
1161
     */
1162
    public function withPageSize($value)
1163
    {
1164
        $this->data['PageSize'] = $value;
1165
        $this->options['form_params']['PageSize'] = $value;
1166
1167
        return $this;
1168
    }
1169
1170
    /**
1171
     * @param string $value
1172
     *
1173
     * @return $this
1174
     */
1175
    public function withName($value)
1176
    {
1177
        $this->data['Name'] = $value;
1178
        $this->options['form_params']['Name'] = $value;
1179
1180
        return $this;
1181
    }
1182
1183
    /**
1184
     * @param string $value
1185
     *
1186
     * @return $this
1187
     */
1188
    public function withStatus($value)
1189
    {
1190
        $this->data['Status'] = $value;
1191
        $this->options['form_params']['Status'] = $value;
1192
1193
        return $this;
1194
    }
1195
}
1196
1197
class ListFunctionSpec extends Rpc
1198
{
1199
}
1200
1201
/**
1202
 * @method string getPlatform()
1203
 * @method string getSpaceId()
1204
 */
1205
class ListOpenPlatformConfig extends Rpc
1206
{
1207
1208
    /**
1209
     * @param string $value
1210
     *
1211
     * @return $this
1212
     */
1213
    public function withPlatform($value)
1214
    {
1215
        $this->data['Platform'] = $value;
1216
        $this->options['form_params']['Platform'] = $value;
1217
1218
        return $this;
1219
    }
1220
1221
    /**
1222
     * @param string $value
1223
     *
1224
     * @return $this
1225
     */
1226
    public function withSpaceId($value)
1227
    {
1228
        $this->data['SpaceId'] = $value;
1229
        $this->options['form_params']['SpaceId'] = $value;
1230
1231
        return $this;
1232
    }
1233
}
1234
1235
/**
1236
 * @method string getPageNum()
1237
 * @method string getPageSize()
1238
 */
1239
class ListSpace extends Rpc
1240
{
1241
1242
    /**
1243
     * @param string $value
1244
     *
1245
     * @return $this
1246
     */
1247
    public function withPageNum($value)
1248
    {
1249
        $this->data['PageNum'] = $value;
1250
        $this->options['form_params']['PageNum'] = $value;
1251
1252
        return $this;
1253
    }
1254
1255
    /**
1256
     * @param string $value
1257
     *
1258
     * @return $this
1259
     */
1260
    public function withPageSize($value)
1261
    {
1262
        $this->data['PageSize'] = $value;
1263
        $this->options['form_params']['PageSize'] = $value;
1264
1265
        return $this;
1266
    }
1267
}
1268
1269
/**
1270
 * @method string getLabelName()
1271
 * @method string getLabelValue()
1272
 */
1273
class ListSpaceOfLabel extends Rpc
1274
{
1275
1276
    /**
1277
     * @param string $value
1278
     *
1279
     * @return $this
1280
     */
1281
    public function withLabelName($value)
1282
    {
1283
        $this->data['LabelName'] = $value;
1284
        $this->options['form_params']['LabelName'] = $value;
1285
1286
        return $this;
1287
    }
1288
1289
    /**
1290
     * @param string $value
1291
     *
1292
     * @return $this
1293
     */
1294
    public function withLabelValue($value)
1295
    {
1296
        $this->data['LabelValue'] = $value;
1297
        $this->options['form_params']['LabelValue'] = $value;
1298
1299
        return $this;
1300
    }
1301
}
1302
1303
/**
1304
 * @method string getData()
1305
 */
1306
class OpenProduct extends Rpc
1307
{
1308
1309
    /**
1310
     * @param string $value
1311
     *
1312
     * @return $this
1313
     */
1314
    public function withData($value)
1315
    {
1316
        $this->data['Data'] = $value;
1317
        $this->options['query']['data'] = $value;
1318
1319
        return $this;
1320
    }
1321
}
1322
1323
/**
1324
 * @method string getSpaceId()
1325
 * @method string getId()
1326
 */
1327
class RegisterFile extends Rpc
1328
{
1329
1330
    /**
1331
     * @param string $value
1332
     *
1333
     * @return $this
1334
     */
1335
    public function withSpaceId($value)
1336
    {
1337
        $this->data['SpaceId'] = $value;
1338
        $this->options['form_params']['SpaceId'] = $value;
1339
1340
        return $this;
1341
    }
1342
1343
    /**
1344
     * @param string $value
1345
     *
1346
     * @return $this
1347
     */
1348
    public function withId($value)
1349
    {
1350
        $this->data['Id'] = $value;
1351
        $this->options['form_params']['Id'] = $value;
1352
1353
        return $this;
1354
    }
1355
}
1356
1357
/**
1358
 * @method string getBody()
1359
 * @method string getSpaceId()
1360
 */
1361
class RunDBCommand extends Rpc
1362
{
1363
1364
    /**
1365
     * @param string $value
1366
     *
1367
     * @return $this
1368
     */
1369
    public function withBody($value)
1370
    {
1371
        $this->data['Body'] = $value;
1372
        $this->options['form_params']['Body'] = $value;
1373
1374
        return $this;
1375
    }
1376
1377
    /**
1378
     * @param string $value
1379
     *
1380
     * @return $this
1381
     */
1382
    public function withSpaceId($value)
1383
    {
1384
        $this->data['SpaceId'] = $value;
1385
        $this->options['form_params']['SpaceId'] = $value;
1386
1387
        return $this;
1388
    }
1389
}
1390
1391
/**
1392
 * @method string getBody()
1393
 * @method string getSpaceId()
1394
 */
1395
class RunFunction extends Rpc
1396
{
1397
1398
    /**
1399
     * @param string $value
1400
     *
1401
     * @return $this
1402
     */
1403
    public function withBody($value)
1404
    {
1405
        $this->data['Body'] = $value;
1406
        $this->options['form_params']['Body'] = $value;
1407
1408
        return $this;
1409
    }
1410
1411
    /**
1412
     * @param string $value
1413
     *
1414
     * @return $this
1415
     */
1416
    public function withSpaceId($value)
1417
    {
1418
        $this->data['SpaceId'] = $value;
1419
        $this->options['form_params']['SpaceId'] = $value;
1420
1421
        return $this;
1422
    }
1423
}
1424
1425
/**
1426
 * @method string getPublicKey()
1427
 * @method string getSpaceId()
1428
 * @method string getPrivateKey()
1429
 * @method string getAppId()
1430
 */
1431
class SaveAntOpenPlatformConfig extends Rpc
1432
{
1433
1434
    /**
1435
     * @param string $value
1436
     *
1437
     * @return $this
1438
     */
1439
    public function withPublicKey($value)
1440
    {
1441
        $this->data['PublicKey'] = $value;
1442
        $this->options['form_params']['PublicKey'] = $value;
1443
1444
        return $this;
1445
    }
1446
1447
    /**
1448
     * @param string $value
1449
     *
1450
     * @return $this
1451
     */
1452
    public function withSpaceId($value)
1453
    {
1454
        $this->data['SpaceId'] = $value;
1455
        $this->options['form_params']['SpaceId'] = $value;
1456
1457
        return $this;
1458
    }
1459
1460
    /**
1461
     * @param string $value
1462
     *
1463
     * @return $this
1464
     */
1465
    public function withPrivateKey($value)
1466
    {
1467
        $this->data['PrivateKey'] = $value;
1468
        $this->options['form_params']['PrivateKey'] = $value;
1469
1470
        return $this;
1471
    }
1472
1473
    /**
1474
     * @param string $value
1475
     *
1476
     * @return $this
1477
     */
1478
    public function withAppId($value)
1479
    {
1480
        $this->data['AppId'] = $value;
1481
        $this->options['form_params']['AppId'] = $value;
1482
1483
        return $this;
1484
    }
1485
}
1486
1487
/**
1488
 * @method string getSpaceId()
1489
 * @method string getAppId()
1490
 * @method string getAppSecret()
1491
 */
1492
class SaveWechatOpenPlatformConfig extends Rpc
1493
{
1494
1495
    /**
1496
     * @param string $value
1497
     *
1498
     * @return $this
1499
     */
1500
    public function withSpaceId($value)
1501
    {
1502
        $this->data['SpaceId'] = $value;
1503
        $this->options['form_params']['SpaceId'] = $value;
1504
1505
        return $this;
1506
    }
1507
1508
    /**
1509
     * @param string $value
1510
     *
1511
     * @return $this
1512
     */
1513
    public function withAppId($value)
1514
    {
1515
        $this->data['AppId'] = $value;
1516
        $this->options['form_params']['AppId'] = $value;
1517
1518
        return $this;
1519
    }
1520
1521
    /**
1522
     * @param string $value
1523
     *
1524
     * @return $this
1525
     */
1526
    public function withAppSecret($value)
1527
    {
1528
        $this->data['AppSecret'] = $value;
1529
        $this->options['form_params']['AppSecret'] = $value;
1530
1531
        return $this;
1532
    }
1533
}
1534
1535
/**
1536
 * @method string getSpaceId()
1537
 * @method string getAppId()
1538
 * @method string getAppSecret()
1539
 */
1540
class UpdateDingtalkOpenPlatformConfig extends Rpc
1541
{
1542
1543
    /**
1544
     * @param string $value
1545
     *
1546
     * @return $this
1547
     */
1548
    public function withSpaceId($value)
1549
    {
1550
        $this->data['SpaceId'] = $value;
1551
        $this->options['form_params']['SpaceId'] = $value;
1552
1553
        return $this;
1554
    }
1555
1556
    /**
1557
     * @param string $value
1558
     *
1559
     * @return $this
1560
     */
1561
    public function withAppId($value)
1562
    {
1563
        $this->data['AppId'] = $value;
1564
        $this->options['form_params']['AppId'] = $value;
1565
1566
        return $this;
1567
    }
1568
1569
    /**
1570
     * @param string $value
1571
     *
1572
     * @return $this
1573
     */
1574
    public function withAppSecret($value)
1575
    {
1576
        $this->data['AppSecret'] = $value;
1577
        $this->options['form_params']['AppSecret'] = $value;
1578
1579
        return $this;
1580
    }
1581
}
1582
1583
/**
1584
 * @method string getSpaceId()
1585
 * @method string getName()
1586
 * @method string getDesc()
1587
 */
1588
class UpdateFunction extends Rpc
1589
{
1590
1591
    /**
1592
     * @param string $value
1593
     *
1594
     * @return $this
1595
     */
1596
    public function withSpaceId($value)
1597
    {
1598
        $this->data['SpaceId'] = $value;
1599
        $this->options['form_params']['SpaceId'] = $value;
1600
1601
        return $this;
1602
    }
1603
1604
    /**
1605
     * @param string $value
1606
     *
1607
     * @return $this
1608
     */
1609
    public function withName($value)
1610
    {
1611
        $this->data['Name'] = $value;
1612
        $this->options['form_params']['Name'] = $value;
1613
1614
        return $this;
1615
    }
1616
1617
    /**
1618
     * @param string $value
1619
     *
1620
     * @return $this
1621
     */
1622
    public function withDesc($value)
1623
    {
1624
        $this->data['Desc'] = $value;
1625
        $this->options['form_params']['Desc'] = $value;
1626
1627
        return $this;
1628
    }
1629
}
1630
1631
/**
1632
 * @method string getSpaceId()
1633
 * @method string getServiceName()
1634
 * @method string getPolicy()
1635
 */
1636
class UpdateServicePolicy extends Rpc
1637
{
1638
1639
    /**
1640
     * @param string $value
1641
     *
1642
     * @return $this
1643
     */
1644
    public function withSpaceId($value)
1645
    {
1646
        $this->data['SpaceId'] = $value;
1647
        $this->options['form_params']['SpaceId'] = $value;
1648
1649
        return $this;
1650
    }
1651
1652
    /**
1653
     * @param string $value
1654
     *
1655
     * @return $this
1656
     */
1657
    public function withServiceName($value)
1658
    {
1659
        $this->data['ServiceName'] = $value;
1660
        $this->options['form_params']['ServiceName'] = $value;
1661
1662
        return $this;
1663
    }
1664
1665
    /**
1666
     * @param string $value
1667
     *
1668
     * @return $this
1669
     */
1670
    public function withPolicy($value)
1671
    {
1672
        $this->data['Policy'] = $value;
1673
        $this->options['form_params']['Policy'] = $value;
1674
1675
        return $this;
1676
    }
1677
}
1678