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 ( 52c013...3bce03 )
by
unknown
06:04
created

ListDeploymentTargets   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 29
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
eloc 8
c 1
b 0
f 0
dl 0
loc 29
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A withWorkspace() 0 6 1
A withNamespace() 0 6 1
1
<?php
2
3
namespace AlibabaCloud\Ververica\V20200501;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method CreateDeployment createDeployment(array $options = [])
9
 * @method CreateSavepoint createSavepoint(array $options = [])
10
 * @method CreateUdfArtifact createUdfArtifact(array $options = [])
11
 * @method DatabaseExists databaseExists(array $options = [])
12
 * @method DeleteArtifact deleteArtifact(array $options = [])
13
 * @method DeleteDeployment deleteDeployment(array $options = [])
14
 * @method DeleteUdfArtifact deleteUdfArtifact(array $options = [])
15
 * @method ExecuteSqlScript executeSqlScript(array $options = [])
16
 * @method ExecuteSqlscriptsStatements executeSqlscriptsStatements(array $options = [])
17
 * @method FunctionExists functionExists(array $options = [])
18
 * @method GetArtifactMetadata getArtifactMetadata(array $options = [])
19
 * @method GetCatalog getCatalog(array $options = [])
20
 * @method GetDatabase getDatabase(array $options = [])
21
 * @method GetDefaultDatabase getDefaultDatabase(array $options = [])
22
 * @method GetDeployment getDeployment(array $options = [])
23
 * @method GetDeploymentDefaults getDeploymentDefaults(array $options = [])
24
 * @method GetFunction getFunction(array $options = [])
25
 * @method GetGlobalDeploymentDefaults getGlobalDeploymentDefaults(array $options = [])
26
 * @method GetTable getTable(array $options = [])
27
 * @method GetUdfArtifact getUdfArtifact(array $options = [])
28
 * @method ListArtifacts listArtifacts(array $options = [])
29
 * @method ListCatalogs listCatalogs(array $options = [])
30
 * @method ListDatabases listDatabases(array $options = [])
31
 * @method ListDeployments listDeployments(array $options = [])
32
 * @method ListDeploymentTargets listDeploymentTargets(array $options = [])
33
 * @method ListFlinkVersions listFlinkVersions(array $options = [])
34
 * @method ListFunctions listFunctions(array $options = [])
35
 * @method ListJobs listJobs(array $options = [])
36
 * @method ListNamespaces listNamespaces(array $options = [])
37
 * @method ListSavepoints listSavepoints(array $options = [])
38
 * @method ListSessionClusters listSessionClusters(array $options = [])
39
 * @method ListTables listTables(array $options = [])
40
 * @method TableExists tableExists(array $options = [])
41
 * @method UpdateDeployment updateDeployment(array $options = [])
42
 * @method UpdateDeploymentDesiredState updateDeploymentDesiredState(array $options = [])
43
 * @method UpdateUdfArtifact updateUdfArtifact(array $options = [])
44
 * @method ValidateSqlScript validateSqlScript(array $options = [])
45
 */
46
class VervericaApiResolver extends ApiResolver
47
{
48
}
49
50
class Roa extends \AlibabaCloud\Client\Resolver\Roa
51
{
52
    /** @var string */
53
    public $product = 'ververica';
54
55
    /** @var string */
56
    public $version = '2020-05-01';
57
}
58
59
/**
60
 * @method string getWorkspace()
61
 * @method string getParamsJson()
62
 * @method string getNamespace()
63
 */
64
class CreateDeployment extends Roa
65
{
66
    /** @var string */
67
    public $pathPattern = '/pop/workspaces/[workspace]/api/v1/namespaces/[namespace]/deployments';
68
69
    /** @var string */
70
    public $method = 'POST';
71
72
    /**
73
     * @param string $value
74
     *
75
     * @return $this
76
     */
77
    public function withWorkspace($value)
78
    {
79
        $this->data['Workspace'] = $value;
80
        $this->pathParameters['workspace'] = $value;
81
82
        return $this;
83
    }
84
85
    /**
86
     * @param string $value
87
     *
88
     * @return $this
89
     */
90
    public function withParamsJson($value)
91
    {
92
        $this->data['ParamsJson'] = $value;
93
        $this->options['form_params']['paramsJson'] = $value;
94
95
        return $this;
96
    }
97
98
    /**
99
     * @param string $value
100
     *
101
     * @return $this
102
     */
103
    public function withNamespace($value)
104
    {
105
        $this->data['Namespace'] = $value;
106
        $this->pathParameters['namespace'] = $value;
107
108
        return $this;
109
    }
110
}
111
112
/**
113
 * @method string getWorkspace()
114
 * @method string getParamsJson()
115
 * @method string getNamespace()
116
 */
117
class CreateSavepoint extends Roa
118
{
119
    /** @var string */
120
    public $pathPattern = '/pop/workspaces/[workspace]/api/v1/namespaces/[namespace]/savepoints';
121
122
    /** @var string */
123
    public $method = 'POST';
124
125
    /**
126
     * @param string $value
127
     *
128
     * @return $this
129
     */
130
    public function withWorkspace($value)
131
    {
132
        $this->data['Workspace'] = $value;
133
        $this->pathParameters['workspace'] = $value;
134
135
        return $this;
136
    }
137
138
    /**
139
     * @param string $value
140
     *
141
     * @return $this
142
     */
143
    public function withParamsJson($value)
144
    {
145
        $this->data['ParamsJson'] = $value;
146
        $this->options['form_params']['paramsJson'] = $value;
147
148
        return $this;
149
    }
150
151
    /**
152
     * @param string $value
153
     *
154
     * @return $this
155
     */
156
    public function withNamespace($value)
157
    {
158
        $this->data['Namespace'] = $value;
159
        $this->pathParameters['namespace'] = $value;
160
161
        return $this;
162
    }
163
}
164
165
/**
166
 * @method string getWorkspace()
167
 * @method string getParamsJson()
168
 * @method string getNamespace()
169
 */
170
class CreateUdfArtifact extends Roa
171
{
172
    /** @var string */
173
    public $pathPattern = '/pop/workspaces/[workspace]/sql/v1beta1/namespaces/[namespace]/udfartifacts';
174
175
    /** @var string */
176
    public $method = 'POST';
177
178
    /**
179
     * @param string $value
180
     *
181
     * @return $this
182
     */
183
    public function withWorkspace($value)
184
    {
185
        $this->data['Workspace'] = $value;
186
        $this->pathParameters['workspace'] = $value;
187
188
        return $this;
189
    }
190
191
    /**
192
     * @param string $value
193
     *
194
     * @return $this
195
     */
196
    public function withParamsJson($value)
197
    {
198
        $this->data['ParamsJson'] = $value;
199
        $this->options['form_params']['paramsJson'] = $value;
200
201
        return $this;
202
    }
203
204
    /**
205
     * @param string $value
206
     *
207
     * @return $this
208
     */
209
    public function withNamespace($value)
210
    {
211
        $this->data['Namespace'] = $value;
212
        $this->pathParameters['namespace'] = $value;
213
214
        return $this;
215
    }
216
}
217
218
/**
219
 * @method string getWorkspace()
220
 * @method string getDatabase()
221
 * @method string getCat()
222
 * @method string getNamespace()
223
 */
224
class DatabaseExists extends Roa
225
{
226
    /** @var string */
227
    public $pathPattern = '/pop/workspaces/[workspace]/catalog/v1beta2/namespaces/[namespace]/catalogs/[cat]:databaseExists';
228
229
    /**
230
     * @param string $value
231
     *
232
     * @return $this
233
     */
234
    public function withWorkspace($value)
235
    {
236
        $this->data['Workspace'] = $value;
237
        $this->pathParameters['workspace'] = $value;
238
239
        return $this;
240
    }
241
242
    /**
243
     * @param string $value
244
     *
245
     * @return $this
246
     */
247
    public function withDatabase($value)
248
    {
249
        $this->data['Database'] = $value;
250
        $this->options['query']['database'] = $value;
251
252
        return $this;
253
    }
254
255
    /**
256
     * @param string $value
257
     *
258
     * @return $this
259
     */
260
    public function withCat($value)
261
    {
262
        $this->data['Cat'] = $value;
263
        $this->pathParameters['cat'] = $value;
264
265
        return $this;
266
    }
267
268
    /**
269
     * @param string $value
270
     *
271
     * @return $this
272
     */
273
    public function withNamespace($value)
274
    {
275
        $this->data['Namespace'] = $value;
276
        $this->pathParameters['namespace'] = $value;
277
278
        return $this;
279
    }
280
}
281
282
/**
283
 * @method string getWorkspace()
284
 * @method string getFilename()
285
 * @method string getNamespace()
286
 */
287
class DeleteArtifact extends Roa
288
{
289
    /** @var string */
290
    public $pathPattern = '/pop/workspaces/[workspace]/artifacts/v1/namespaces/[namespace]/artifacts:delete';
291
292
    /** @var string */
293
    public $method = 'DELETE';
294
295
    /**
296
     * @param string $value
297
     *
298
     * @return $this
299
     */
300
    public function withWorkspace($value)
301
    {
302
        $this->data['Workspace'] = $value;
303
        $this->pathParameters['workspace'] = $value;
304
305
        return $this;
306
    }
307
308
    /**
309
     * @param string $value
310
     *
311
     * @return $this
312
     */
313
    public function withFilename($value)
314
    {
315
        $this->data['Filename'] = $value;
316
        $this->options['query']['filename'] = $value;
317
318
        return $this;
319
    }
320
321
    /**
322
     * @param string $value
323
     *
324
     * @return $this
325
     */
326
    public function withNamespace($value)
327
    {
328
        $this->data['Namespace'] = $value;
329
        $this->pathParameters['namespace'] = $value;
330
331
        return $this;
332
    }
333
}
334
335
/**
336
 * @method string getWorkspace()
337
 * @method string getDeploymentId()
338
 * @method string getNamespace()
339
 */
340
class DeleteDeployment extends Roa
341
{
342
    /** @var string */
343
    public $pathPattern = '/pop/workspaces/[workspace]/api/v1/namespaces/[namespace]/deployments/[deploymentId]';
344
345
    /** @var string */
346
    public $method = 'DELETE';
347
348
    /**
349
     * @param string $value
350
     *
351
     * @return $this
352
     */
353
    public function withWorkspace($value)
354
    {
355
        $this->data['Workspace'] = $value;
356
        $this->pathParameters['workspace'] = $value;
357
358
        return $this;
359
    }
360
361
    /**
362
     * @param string $value
363
     *
364
     * @return $this
365
     */
366
    public function withDeploymentId($value)
367
    {
368
        $this->data['DeploymentId'] = $value;
369
        $this->pathParameters['deploymentId'] = $value;
370
371
        return $this;
372
    }
373
374
    /**
375
     * @param string $value
376
     *
377
     * @return $this
378
     */
379
    public function withNamespace($value)
380
    {
381
        $this->data['Namespace'] = $value;
382
        $this->pathParameters['namespace'] = $value;
383
384
        return $this;
385
    }
386
}
387
388
/**
389
 * @method string getWorkspace()
390
 * @method string getNamespace()
391
 * @method string getUdfArtifactName()
392
 */
393
class DeleteUdfArtifact extends Roa
394
{
395
    /** @var string */
396
    public $pathPattern = '/pop/workspaces/[workspace]/sql/v1beta1/namespaces/[namespace]/udfartifacts/[udfArtifactName]';
397
398
    /** @var string */
399
    public $method = 'DELETE';
400
401
    /**
402
     * @param string $value
403
     *
404
     * @return $this
405
     */
406
    public function withWorkspace($value)
407
    {
408
        $this->data['Workspace'] = $value;
409
        $this->pathParameters['workspace'] = $value;
410
411
        return $this;
412
    }
413
414
    /**
415
     * @param string $value
416
     *
417
     * @return $this
418
     */
419
    public function withNamespace($value)
420
    {
421
        $this->data['Namespace'] = $value;
422
        $this->pathParameters['namespace'] = $value;
423
424
        return $this;
425
    }
426
427
    /**
428
     * @param string $value
429
     *
430
     * @return $this
431
     */
432
    public function withUdfArtifactName($value)
433
    {
434
        $this->data['UdfArtifactName'] = $value;
435
        $this->pathParameters['udfArtifactName'] = $value;
436
437
        return $this;
438
    }
439
}
440
441
/**
442
 * @method string getWorkspace()
443
 * @method string getParamsJson()
444
 * @method string getNamespace()
445
 */
446
class ExecuteSqlScript extends Roa
447
{
448
    /** @var string */
449
    public $pathPattern = '/pop/workspaces/[workspace]/sql/v1beta1/namespaces/[namespace]/sqlscripts:execute';
450
451
    /** @var string */
452
    public $method = 'POST';
453
454
    /**
455
     * @param string $value
456
     *
457
     * @return $this
458
     */
459
    public function withWorkspace($value)
460
    {
461
        $this->data['Workspace'] = $value;
462
        $this->pathParameters['workspace'] = $value;
463
464
        return $this;
465
    }
466
467
    /**
468
     * @param string $value
469
     *
470
     * @return $this
471
     */
472
    public function withParamsJson($value)
473
    {
474
        $this->data['ParamsJson'] = $value;
475
        $this->options['form_params']['paramsJson'] = $value;
476
477
        return $this;
478
    }
479
480
    /**
481
     * @param string $value
482
     *
483
     * @return $this
484
     */
485
    public function withNamespace($value)
486
    {
487
        $this->data['Namespace'] = $value;
488
        $this->pathParameters['namespace'] = $value;
489
490
        return $this;
491
    }
492
}
493
494
/**
495
 * @method string getWorkspace()
496
 * @method string getParamsJson()
497
 * @method string getNamespace()
498
 */
499
class ExecuteSqlscriptsStatements extends Roa
500
{
501
    /** @var string */
502
    public $pathPattern = '/pop/workspaces/[workspace]/sql/v1beta1/namespaces/[namespace]/sqlscripts:execute-multi';
503
504
    /** @var string */
505
    public $method = 'POST';
506
507
    /**
508
     * @param string $value
509
     *
510
     * @return $this
511
     */
512
    public function withWorkspace($value)
513
    {
514
        $this->data['Workspace'] = $value;
515
        $this->pathParameters['workspace'] = $value;
516
517
        return $this;
518
    }
519
520
    /**
521
     * @param string $value
522
     *
523
     * @return $this
524
     */
525
    public function withParamsJson($value)
526
    {
527
        $this->data['ParamsJson'] = $value;
528
        $this->options['form_params']['paramsJson'] = $value;
529
530
        return $this;
531
    }
532
533
    /**
534
     * @param string $value
535
     *
536
     * @return $this
537
     */
538
    public function withNamespace($value)
539
    {
540
        $this->data['Namespace'] = $value;
541
        $this->pathParameters['namespace'] = $value;
542
543
        return $this;
544
    }
545
}
546
547
/**
548
 * @method string getWorkspace()
549
 * @method string getDatabase()
550
 * @method string getCat()
551
 * @method string getFunction()
552
 * @method string getNamespace()
553
 */
554
class FunctionExists extends Roa
555
{
556
    /** @var string */
557
    public $pathPattern = '/pop/workspaces/[workspace]/catalog/v1beta2/namespaces/[namespace]/catalogs/[cat]:functionExists';
558
559
    /**
560
     * @param string $value
561
     *
562
     * @return $this
563
     */
564
    public function withWorkspace($value)
565
    {
566
        $this->data['Workspace'] = $value;
567
        $this->pathParameters['workspace'] = $value;
568
569
        return $this;
570
    }
571
572
    /**
573
     * @param string $value
574
     *
575
     * @return $this
576
     */
577
    public function withDatabase($value)
578
    {
579
        $this->data['Database'] = $value;
580
        $this->options['query']['database'] = $value;
581
582
        return $this;
583
    }
584
585
    /**
586
     * @param string $value
587
     *
588
     * @return $this
589
     */
590
    public function withCat($value)
591
    {
592
        $this->data['Cat'] = $value;
593
        $this->pathParameters['cat'] = $value;
594
595
        return $this;
596
    }
597
598
    /**
599
     * @param string $value
600
     *
601
     * @return $this
602
     */
603
    public function withFunction($value)
604
    {
605
        $this->data['Function'] = $value;
606
        $this->options['query']['function'] = $value;
607
608
        return $this;
609
    }
610
611
    /**
612
     * @param string $value
613
     *
614
     * @return $this
615
     */
616
    public function withNamespace($value)
617
    {
618
        $this->data['Namespace'] = $value;
619
        $this->pathParameters['namespace'] = $value;
620
621
        return $this;
622
    }
623
}
624
625
/**
626
 * @method string getWorkspace()
627
 * @method string getFilename()
628
 * @method string getNamespace()
629
 */
630
class GetArtifactMetadata extends Roa
631
{
632
    /** @var string */
633
    public $pathPattern = '/pop/workspaces/[workspace]/artifacts/v1/namespaces/[namespace]/artifacts:getMetadata';
634
635
    /**
636
     * @param string $value
637
     *
638
     * @return $this
639
     */
640
    public function withWorkspace($value)
641
    {
642
        $this->data['Workspace'] = $value;
643
        $this->pathParameters['workspace'] = $value;
644
645
        return $this;
646
    }
647
648
    /**
649
     * @param string $value
650
     *
651
     * @return $this
652
     */
653
    public function withFilename($value)
654
    {
655
        $this->data['Filename'] = $value;
656
        $this->options['query']['filename'] = $value;
657
658
        return $this;
659
    }
660
661
    /**
662
     * @param string $value
663
     *
664
     * @return $this
665
     */
666
    public function withNamespace($value)
667
    {
668
        $this->data['Namespace'] = $value;
669
        $this->pathParameters['namespace'] = $value;
670
671
        return $this;
672
    }
673
}
674
675
/**
676
 * @method string getWorkspace()
677
 * @method string getCat()
678
 * @method string getNamespace()
679
 */
680
class GetCatalog extends Roa
681
{
682
    /** @var string */
683
    public $pathPattern = '/pop/workspaces/[workspace]/catalog/v1beta2/namespaces/[namespace]/catalogs/[cat]:getCatalog';
684
685
    /**
686
     * @param string $value
687
     *
688
     * @return $this
689
     */
690
    public function withWorkspace($value)
691
    {
692
        $this->data['Workspace'] = $value;
693
        $this->pathParameters['workspace'] = $value;
694
695
        return $this;
696
    }
697
698
    /**
699
     * @param string $value
700
     *
701
     * @return $this
702
     */
703
    public function withCat($value)
704
    {
705
        $this->data['Cat'] = $value;
706
        $this->pathParameters['cat'] = $value;
707
708
        return $this;
709
    }
710
711
    /**
712
     * @param string $value
713
     *
714
     * @return $this
715
     */
716
    public function withNamespace($value)
717
    {
718
        $this->data['Namespace'] = $value;
719
        $this->pathParameters['namespace'] = $value;
720
721
        return $this;
722
    }
723
}
724
725
/**
726
 * @method string getWorkspace()
727
 * @method string getDatabase()
728
 * @method string getCat()
729
 * @method string getNamespace()
730
 */
731
class GetDatabase extends Roa
732
{
733
    /** @var string */
734
    public $pathPattern = '/pop/workspaces/[workspace]/catalog/v1beta2/namespaces/[namespace]/catalogs/[cat]:getDatabase';
735
736
    /**
737
     * @param string $value
738
     *
739
     * @return $this
740
     */
741
    public function withWorkspace($value)
742
    {
743
        $this->data['Workspace'] = $value;
744
        $this->pathParameters['workspace'] = $value;
745
746
        return $this;
747
    }
748
749
    /**
750
     * @param string $value
751
     *
752
     * @return $this
753
     */
754
    public function withDatabase($value)
755
    {
756
        $this->data['Database'] = $value;
757
        $this->options['query']['database'] = $value;
758
759
        return $this;
760
    }
761
762
    /**
763
     * @param string $value
764
     *
765
     * @return $this
766
     */
767
    public function withCat($value)
768
    {
769
        $this->data['Cat'] = $value;
770
        $this->pathParameters['cat'] = $value;
771
772
        return $this;
773
    }
774
775
    /**
776
     * @param string $value
777
     *
778
     * @return $this
779
     */
780
    public function withNamespace($value)
781
    {
782
        $this->data['Namespace'] = $value;
783
        $this->pathParameters['namespace'] = $value;
784
785
        return $this;
786
    }
787
}
788
789
/**
790
 * @method string getWorkspace()
791
 * @method string getCat()
792
 * @method string getNamespace()
793
 */
794
class GetDefaultDatabase extends Roa
795
{
796
    /** @var string */
797
    public $pathPattern = '/pop/workspaces/[workspace]/catalog/v1beta2/namespaces/[namespace]/catalogs/[cat]:getDefaultDatabase';
798
799
    /**
800
     * @param string $value
801
     *
802
     * @return $this
803
     */
804
    public function withWorkspace($value)
805
    {
806
        $this->data['Workspace'] = $value;
807
        $this->pathParameters['workspace'] = $value;
808
809
        return $this;
810
    }
811
812
    /**
813
     * @param string $value
814
     *
815
     * @return $this
816
     */
817
    public function withCat($value)
818
    {
819
        $this->data['Cat'] = $value;
820
        $this->pathParameters['cat'] = $value;
821
822
        return $this;
823
    }
824
825
    /**
826
     * @param string $value
827
     *
828
     * @return $this
829
     */
830
    public function withNamespace($value)
831
    {
832
        $this->data['Namespace'] = $value;
833
        $this->pathParameters['namespace'] = $value;
834
835
        return $this;
836
    }
837
}
838
839
/**
840
 * @method string getWorkspace()
841
 * @method string getDeploymentId()
842
 * @method string getNamespace()
843
 */
844
class GetDeployment extends Roa
845
{
846
    /** @var string */
847
    public $pathPattern = '/pop/workspaces/[workspace]/api/v1/namespaces/[namespace]/deployments/[deploymentId]';
848
849
    /**
850
     * @param string $value
851
     *
852
     * @return $this
853
     */
854
    public function withWorkspace($value)
855
    {
856
        $this->data['Workspace'] = $value;
857
        $this->pathParameters['workspace'] = $value;
858
859
        return $this;
860
    }
861
862
    /**
863
     * @param string $value
864
     *
865
     * @return $this
866
     */
867
    public function withDeploymentId($value)
868
    {
869
        $this->data['DeploymentId'] = $value;
870
        $this->pathParameters['deploymentId'] = $value;
871
872
        return $this;
873
    }
874
875
    /**
876
     * @param string $value
877
     *
878
     * @return $this
879
     */
880
    public function withNamespace($value)
881
    {
882
        $this->data['Namespace'] = $value;
883
        $this->pathParameters['namespace'] = $value;
884
885
        return $this;
886
    }
887
}
888
889
/**
890
 * @method string getWorkspace()
891
 * @method string getNamespace()
892
 */
893
class GetDeploymentDefaults extends Roa
894
{
895
    /** @var string */
896
    public $pathPattern = '/pop/workspaces/[workspace]/api/v1/namespaces/[namespace]/deployment-defaults';
897
898
    /**
899
     * @param string $value
900
     *
901
     * @return $this
902
     */
903
    public function withWorkspace($value)
904
    {
905
        $this->data['Workspace'] = $value;
906
        $this->pathParameters['workspace'] = $value;
907
908
        return $this;
909
    }
910
911
    /**
912
     * @param string $value
913
     *
914
     * @return $this
915
     */
916
    public function withNamespace($value)
917
    {
918
        $this->data['Namespace'] = $value;
919
        $this->pathParameters['namespace'] = $value;
920
921
        return $this;
922
    }
923
}
924
925
/**
926
 * @method string getWorkspace()
927
 * @method string getDatabase()
928
 * @method string getCat()
929
 * @method string getFunction()
930
 * @method string getNamespace()
931
 */
932
class GetFunction extends Roa
933
{
934
    /** @var string */
935
    public $pathPattern = '/pop/workspaces/[workspace]/catalog/v1beta2/namespaces/[namespace]/catalogs/[cat]:getFunction';
936
937
    /**
938
     * @param string $value
939
     *
940
     * @return $this
941
     */
942
    public function withWorkspace($value)
943
    {
944
        $this->data['Workspace'] = $value;
945
        $this->pathParameters['workspace'] = $value;
946
947
        return $this;
948
    }
949
950
    /**
951
     * @param string $value
952
     *
953
     * @return $this
954
     */
955
    public function withDatabase($value)
956
    {
957
        $this->data['Database'] = $value;
958
        $this->options['query']['database'] = $value;
959
960
        return $this;
961
    }
962
963
    /**
964
     * @param string $value
965
     *
966
     * @return $this
967
     */
968
    public function withCat($value)
969
    {
970
        $this->data['Cat'] = $value;
971
        $this->pathParameters['cat'] = $value;
972
973
        return $this;
974
    }
975
976
    /**
977
     * @param string $value
978
     *
979
     * @return $this
980
     */
981
    public function withFunction($value)
982
    {
983
        $this->data['Function'] = $value;
984
        $this->options['query']['function'] = $value;
985
986
        return $this;
987
    }
988
989
    /**
990
     * @param string $value
991
     *
992
     * @return $this
993
     */
994
    public function withNamespace($value)
995
    {
996
        $this->data['Namespace'] = $value;
997
        $this->pathParameters['namespace'] = $value;
998
999
        return $this;
1000
    }
1001
}
1002
1003
/**
1004
 * @method string getWorkspace()
1005
 * @method string getNamespace()
1006
 */
1007
class GetGlobalDeploymentDefaults extends Roa
1008
{
1009
    /** @var string */
1010
    public $pathPattern = '/pop/workspaces/[workspace]/api/v1/global-deployment-defaults';
1011
1012
    /**
1013
     * @param string $value
1014
     *
1015
     * @return $this
1016
     */
1017
    public function withWorkspace($value)
1018
    {
1019
        $this->data['Workspace'] = $value;
1020
        $this->pathParameters['workspace'] = $value;
1021
1022
        return $this;
1023
    }
1024
1025
    /**
1026
     * @param string $value
1027
     *
1028
     * @return $this
1029
     */
1030
    public function withNamespace($value)
1031
    {
1032
        $this->data['Namespace'] = $value;
1033
        $this->options['headers']['namespace'] = $value;
1034
1035
        return $this;
1036
    }
1037
}
1038
1039
/**
1040
 * @method string getWorkspace()
1041
 * @method string getDatabase()
1042
 * @method string getCat()
1043
 * @method string getNamespace()
1044
 * @method string getTable()
1045
 */
1046
class GetTable extends Roa
1047
{
1048
    /** @var string */
1049
    public $pathPattern = '/pop/workspaces/[workspace]/catalog/v1beta2/namespaces/[namespace]/catalogs/[cat]:getTable';
1050
1051
    /**
1052
     * @param string $value
1053
     *
1054
     * @return $this
1055
     */
1056
    public function withWorkspace($value)
1057
    {
1058
        $this->data['Workspace'] = $value;
1059
        $this->pathParameters['workspace'] = $value;
1060
1061
        return $this;
1062
    }
1063
1064
    /**
1065
     * @param string $value
1066
     *
1067
     * @return $this
1068
     */
1069
    public function withDatabase($value)
1070
    {
1071
        $this->data['Database'] = $value;
1072
        $this->options['query']['database'] = $value;
1073
1074
        return $this;
1075
    }
1076
1077
    /**
1078
     * @param string $value
1079
     *
1080
     * @return $this
1081
     */
1082
    public function withCat($value)
1083
    {
1084
        $this->data['Cat'] = $value;
1085
        $this->pathParameters['cat'] = $value;
1086
1087
        return $this;
1088
    }
1089
1090
    /**
1091
     * @param string $value
1092
     *
1093
     * @return $this
1094
     */
1095
    public function withNamespace($value)
1096
    {
1097
        $this->data['Namespace'] = $value;
1098
        $this->pathParameters['namespace'] = $value;
1099
1100
        return $this;
1101
    }
1102
1103
    /**
1104
     * @param string $value
1105
     *
1106
     * @return $this
1107
     */
1108
    public function withTable($value)
1109
    {
1110
        $this->data['Table'] = $value;
1111
        $this->options['query']['table'] = $value;
1112
1113
        return $this;
1114
    }
1115
}
1116
1117
/**
1118
 * @method string getWorkspace()
1119
 * @method string getRequireFunctionNames()
1120
 * @method string getNamespace()
1121
 * @method string getUdfArtifactName()
1122
 */
1123
class GetUdfArtifact extends Roa
1124
{
1125
    /** @var string */
1126
    public $pathPattern = '/pop/workspaces/[workspace]/sql/v1beta1/namespaces/[namespace]/udfartifacts/[udfArtifactName]';
1127
1128
    /**
1129
     * @param string $value
1130
     *
1131
     * @return $this
1132
     */
1133
    public function withWorkspace($value)
1134
    {
1135
        $this->data['Workspace'] = $value;
1136
        $this->pathParameters['workspace'] = $value;
1137
1138
        return $this;
1139
    }
1140
1141
    /**
1142
     * @param string $value
1143
     *
1144
     * @return $this
1145
     */
1146
    public function withRequireFunctionNames($value)
1147
    {
1148
        $this->data['RequireFunctionNames'] = $value;
1149
        $this->options['query']['requireFunctionNames'] = $value;
1150
1151
        return $this;
1152
    }
1153
1154
    /**
1155
     * @param string $value
1156
     *
1157
     * @return $this
1158
     */
1159
    public function withNamespace($value)
1160
    {
1161
        $this->data['Namespace'] = $value;
1162
        $this->pathParameters['namespace'] = $value;
1163
1164
        return $this;
1165
    }
1166
1167
    /**
1168
     * @param string $value
1169
     *
1170
     * @return $this
1171
     */
1172
    public function withUdfArtifactName($value)
1173
    {
1174
        $this->data['UdfArtifactName'] = $value;
1175
        $this->pathParameters['udfArtifactName'] = $value;
1176
1177
        return $this;
1178
    }
1179
}
1180
1181
/**
1182
 * @method string getWorkspace()
1183
 * @method string getNamespace()
1184
 */
1185
class ListArtifacts extends Roa
1186
{
1187
    /** @var string */
1188
    public $pathPattern = '/pop/workspaces/[workspace]/artifacts/v1/namespaces/[namespace]/artifacts:list';
1189
1190
    /**
1191
     * @param string $value
1192
     *
1193
     * @return $this
1194
     */
1195
    public function withWorkspace($value)
1196
    {
1197
        $this->data['Workspace'] = $value;
1198
        $this->pathParameters['workspace'] = $value;
1199
1200
        return $this;
1201
    }
1202
1203
    /**
1204
     * @param string $value
1205
     *
1206
     * @return $this
1207
     */
1208
    public function withNamespace($value)
1209
    {
1210
        $this->data['Namespace'] = $value;
1211
        $this->pathParameters['namespace'] = $value;
1212
1213
        return $this;
1214
    }
1215
}
1216
1217
/**
1218
 * @method string getWorkspace()
1219
 * @method string getNamespace()
1220
 */
1221
class ListCatalogs extends Roa
1222
{
1223
    /** @var string */
1224
    public $pathPattern = '/pop/workspaces/[workspace]/catalog/v1beta2/namespaces/[namespace]/catalogs';
1225
1226
    /**
1227
     * @param string $value
1228
     *
1229
     * @return $this
1230
     */
1231
    public function withWorkspace($value)
1232
    {
1233
        $this->data['Workspace'] = $value;
1234
        $this->pathParameters['workspace'] = $value;
1235
1236
        return $this;
1237
    }
1238
1239
    /**
1240
     * @param string $value
1241
     *
1242
     * @return $this
1243
     */
1244
    public function withNamespace($value)
1245
    {
1246
        $this->data['Namespace'] = $value;
1247
        $this->pathParameters['namespace'] = $value;
1248
1249
        return $this;
1250
    }
1251
}
1252
1253
/**
1254
 * @method string getWorkspace()
1255
 * @method string getCat()
1256
 * @method string getNamespace()
1257
 */
1258
class ListDatabases extends Roa
1259
{
1260
    /** @var string */
1261
    public $pathPattern = '/pop/workspaces/[workspace]/catalog/v1beta2/namespaces/[namespace]/catalogs/[cat]:listDatabases';
1262
1263
    /**
1264
     * @param string $value
1265
     *
1266
     * @return $this
1267
     */
1268
    public function withWorkspace($value)
1269
    {
1270
        $this->data['Workspace'] = $value;
1271
        $this->pathParameters['workspace'] = $value;
1272
1273
        return $this;
1274
    }
1275
1276
    /**
1277
     * @param string $value
1278
     *
1279
     * @return $this
1280
     */
1281
    public function withCat($value)
1282
    {
1283
        $this->data['Cat'] = $value;
1284
        $this->pathParameters['cat'] = $value;
1285
1286
        return $this;
1287
    }
1288
1289
    /**
1290
     * @param string $value
1291
     *
1292
     * @return $this
1293
     */
1294
    public function withNamespace($value)
1295
    {
1296
        $this->data['Namespace'] = $value;
1297
        $this->pathParameters['namespace'] = $value;
1298
1299
        return $this;
1300
    }
1301
}
1302
1303
/**
1304
 * @method string getWorkspace()
1305
 * @method string getNamespace()
1306
 */
1307
class ListDeployments extends Roa
1308
{
1309
    /** @var string */
1310
    public $pathPattern = '/pop/workspaces/[workspace]/api/v1/namespaces/[namespace]/deployments';
1311
1312
    /**
1313
     * @param string $value
1314
     *
1315
     * @return $this
1316
     */
1317
    public function withWorkspace($value)
1318
    {
1319
        $this->data['Workspace'] = $value;
1320
        $this->pathParameters['workspace'] = $value;
1321
1322
        return $this;
1323
    }
1324
1325
    /**
1326
     * @param string $value
1327
     *
1328
     * @return $this
1329
     */
1330
    public function withNamespace($value)
1331
    {
1332
        $this->data['Namespace'] = $value;
1333
        $this->pathParameters['namespace'] = $value;
1334
1335
        return $this;
1336
    }
1337
}
1338
1339
/**
1340
 * @method string getWorkspace()
1341
 * @method string getNamespace()
1342
 */
1343
class ListDeploymentTargets extends Roa
1344
{
1345
    /** @var string */
1346
    public $pathPattern = '/pop/workspaces/[workspace]/api/v1/namespaces/[namespace]/deployment-targets';
1347
1348
    /**
1349
     * @param string $value
1350
     *
1351
     * @return $this
1352
     */
1353
    public function withWorkspace($value)
1354
    {
1355
        $this->data['Workspace'] = $value;
1356
        $this->pathParameters['workspace'] = $value;
1357
1358
        return $this;
1359
    }
1360
1361
    /**
1362
     * @param string $value
1363
     *
1364
     * @return $this
1365
     */
1366
    public function withNamespace($value)
1367
    {
1368
        $this->data['Namespace'] = $value;
1369
        $this->pathParameters['namespace'] = $value;
1370
1371
        return $this;
1372
    }
1373
}
1374
1375
/**
1376
 * @method string getWorkspace()
1377
 */
1378
class ListFlinkVersions extends Roa
1379
{
1380
    /** @var string */
1381
    public $pathPattern = '/pop/workspaces/[workspace]/api/v1/flink-version-meta.json';
1382
1383
    /**
1384
     * @param string $value
1385
     *
1386
     * @return $this
1387
     */
1388
    public function withWorkspace($value)
1389
    {
1390
        $this->data['Workspace'] = $value;
1391
        $this->pathParameters['workspace'] = $value;
1392
1393
        return $this;
1394
    }
1395
}
1396
1397
/**
1398
 * @method string getWorkspace()
1399
 * @method string getDatabase()
1400
 * @method string getCat()
1401
 * @method string getNamespace()
1402
 */
1403
class ListFunctions extends Roa
1404
{
1405
    /** @var string */
1406
    public $pathPattern = '/pop/workspaces/[workspace]/catalog/v1beta2/namespaces/[namespace]/catalogs/[cat]:listFunctions';
1407
1408
    /**
1409
     * @param string $value
1410
     *
1411
     * @return $this
1412
     */
1413
    public function withWorkspace($value)
1414
    {
1415
        $this->data['Workspace'] = $value;
1416
        $this->pathParameters['workspace'] = $value;
1417
1418
        return $this;
1419
    }
1420
1421
    /**
1422
     * @param string $value
1423
     *
1424
     * @return $this
1425
     */
1426
    public function withDatabase($value)
1427
    {
1428
        $this->data['Database'] = $value;
1429
        $this->options['query']['database'] = $value;
1430
1431
        return $this;
1432
    }
1433
1434
    /**
1435
     * @param string $value
1436
     *
1437
     * @return $this
1438
     */
1439
    public function withCat($value)
1440
    {
1441
        $this->data['Cat'] = $value;
1442
        $this->pathParameters['cat'] = $value;
1443
1444
        return $this;
1445
    }
1446
1447
    /**
1448
     * @param string $value
1449
     *
1450
     * @return $this
1451
     */
1452
    public function withNamespace($value)
1453
    {
1454
        $this->data['Namespace'] = $value;
1455
        $this->pathParameters['namespace'] = $value;
1456
1457
        return $this;
1458
    }
1459
}
1460
1461
/**
1462
 * @method string getWorkspace()
1463
 * @method string getDeploymentId()
1464
 * @method string getNamespace()
1465
 */
1466
class ListJobs extends Roa
1467
{
1468
    /** @var string */
1469
    public $pathPattern = '/pop/workspaces/[workspace]/api/v1/namespaces/[namespace]/jobs';
1470
1471
    /**
1472
     * @param string $value
1473
     *
1474
     * @return $this
1475
     */
1476
    public function withWorkspace($value)
1477
    {
1478
        $this->data['Workspace'] = $value;
1479
        $this->pathParameters['workspace'] = $value;
1480
1481
        return $this;
1482
    }
1483
1484
    /**
1485
     * @param string $value
1486
     *
1487
     * @return $this
1488
     */
1489
    public function withDeploymentId($value)
1490
    {
1491
        $this->data['DeploymentId'] = $value;
1492
        $this->options['query']['deploymentId'] = $value;
1493
1494
        return $this;
1495
    }
1496
1497
    /**
1498
     * @param string $value
1499
     *
1500
     * @return $this
1501
     */
1502
    public function withNamespace($value)
1503
    {
1504
        $this->data['Namespace'] = $value;
1505
        $this->pathParameters['namespace'] = $value;
1506
1507
        return $this;
1508
    }
1509
}
1510
1511
class ListNamespaces extends Roa
1512
{
1513
    /** @var string */
1514
    public $pathPattern = '/pop/namespaces/v1/namespaces';
1515
}
1516
1517
/**
1518
 * @method string getJobId()
1519
 * @method string getWorkspace()
1520
 * @method string getDeploymentId()
1521
 * @method string getNamespace()
1522
 */
1523
class ListSavepoints extends Roa
1524
{
1525
    /** @var string */
1526
    public $pathPattern = '/pop/workspaces/[workspace]/api/v1/namespaces/[namespace]/savepoints';
1527
1528
    /**
1529
     * @param string $value
1530
     *
1531
     * @return $this
1532
     */
1533
    public function withJobId($value)
1534
    {
1535
        $this->data['JobId'] = $value;
1536
        $this->options['query']['jobId'] = $value;
1537
1538
        return $this;
1539
    }
1540
1541
    /**
1542
     * @param string $value
1543
     *
1544
     * @return $this
1545
     */
1546
    public function withWorkspace($value)
1547
    {
1548
        $this->data['Workspace'] = $value;
1549
        $this->pathParameters['workspace'] = $value;
1550
1551
        return $this;
1552
    }
1553
1554
    /**
1555
     * @param string $value
1556
     *
1557
     * @return $this
1558
     */
1559
    public function withDeploymentId($value)
1560
    {
1561
        $this->data['DeploymentId'] = $value;
1562
        $this->options['query']['deploymentId'] = $value;
1563
1564
        return $this;
1565
    }
1566
1567
    /**
1568
     * @param string $value
1569
     *
1570
     * @return $this
1571
     */
1572
    public function withNamespace($value)
1573
    {
1574
        $this->data['Namespace'] = $value;
1575
        $this->pathParameters['namespace'] = $value;
1576
1577
        return $this;
1578
    }
1579
}
1580
1581
/**
1582
 * @method string getWorkspace()
1583
 * @method string getNamespace()
1584
 */
1585
class ListSessionClusters extends Roa
1586
{
1587
    /** @var string */
1588
    public $pathPattern = '/pop/workspaces/[workspace]/api/v1/namespaces/[namespace]/sessionclusters';
1589
1590
    /**
1591
     * @param string $value
1592
     *
1593
     * @return $this
1594
     */
1595
    public function withWorkspace($value)
1596
    {
1597
        $this->data['Workspace'] = $value;
1598
        $this->pathParameters['workspace'] = $value;
1599
1600
        return $this;
1601
    }
1602
1603
    /**
1604
     * @param string $value
1605
     *
1606
     * @return $this
1607
     */
1608
    public function withNamespace($value)
1609
    {
1610
        $this->data['Namespace'] = $value;
1611
        $this->pathParameters['namespace'] = $value;
1612
1613
        return $this;
1614
    }
1615
}
1616
1617
/**
1618
 * @method string getWorkspace()
1619
 * @method string getDatabase()
1620
 * @method string getCat()
1621
 * @method string getNamespace()
1622
 */
1623
class ListTables extends Roa
1624
{
1625
    /** @var string */
1626
    public $pathPattern = '/pop/workspaces/[workspace]/catalog/v1beta2/namespaces/[namespace]/catalogs/[cat]:listTables';
1627
1628
    /**
1629
     * @param string $value
1630
     *
1631
     * @return $this
1632
     */
1633
    public function withWorkspace($value)
1634
    {
1635
        $this->data['Workspace'] = $value;
1636
        $this->pathParameters['workspace'] = $value;
1637
1638
        return $this;
1639
    }
1640
1641
    /**
1642
     * @param string $value
1643
     *
1644
     * @return $this
1645
     */
1646
    public function withDatabase($value)
1647
    {
1648
        $this->data['Database'] = $value;
1649
        $this->options['query']['database'] = $value;
1650
1651
        return $this;
1652
    }
1653
1654
    /**
1655
     * @param string $value
1656
     *
1657
     * @return $this
1658
     */
1659
    public function withCat($value)
1660
    {
1661
        $this->data['Cat'] = $value;
1662
        $this->pathParameters['cat'] = $value;
1663
1664
        return $this;
1665
    }
1666
1667
    /**
1668
     * @param string $value
1669
     *
1670
     * @return $this
1671
     */
1672
    public function withNamespace($value)
1673
    {
1674
        $this->data['Namespace'] = $value;
1675
        $this->pathParameters['namespace'] = $value;
1676
1677
        return $this;
1678
    }
1679
}
1680
1681
/**
1682
 * @method string getWorkspace()
1683
 * @method string getDatabase()
1684
 * @method string getCat()
1685
 * @method string getNamespace()
1686
 * @method string getTable()
1687
 */
1688
class TableExists extends Roa
1689
{
1690
    /** @var string */
1691
    public $pathPattern = '/pop/workspaces/[workspace]/catalog/v1beta2/namespaces/[namespace]/catalogs/[cat]:tableExists';
1692
1693
    /**
1694
     * @param string $value
1695
     *
1696
     * @return $this
1697
     */
1698
    public function withWorkspace($value)
1699
    {
1700
        $this->data['Workspace'] = $value;
1701
        $this->pathParameters['workspace'] = $value;
1702
1703
        return $this;
1704
    }
1705
1706
    /**
1707
     * @param string $value
1708
     *
1709
     * @return $this
1710
     */
1711
    public function withDatabase($value)
1712
    {
1713
        $this->data['Database'] = $value;
1714
        $this->options['query']['database'] = $value;
1715
1716
        return $this;
1717
    }
1718
1719
    /**
1720
     * @param string $value
1721
     *
1722
     * @return $this
1723
     */
1724
    public function withCat($value)
1725
    {
1726
        $this->data['Cat'] = $value;
1727
        $this->pathParameters['cat'] = $value;
1728
1729
        return $this;
1730
    }
1731
1732
    /**
1733
     * @param string $value
1734
     *
1735
     * @return $this
1736
     */
1737
    public function withNamespace($value)
1738
    {
1739
        $this->data['Namespace'] = $value;
1740
        $this->pathParameters['namespace'] = $value;
1741
1742
        return $this;
1743
    }
1744
1745
    /**
1746
     * @param string $value
1747
     *
1748
     * @return $this
1749
     */
1750
    public function withTable($value)
1751
    {
1752
        $this->data['Table'] = $value;
1753
        $this->options['query']['table'] = $value;
1754
1755
        return $this;
1756
    }
1757
}
1758
1759
/**
1760
 * @method string getWorkspace()
1761
 * @method string getParamsJson()
1762
 * @method string getDeploymentId()
1763
 * @method string getNamespace()
1764
 */
1765
class UpdateDeployment extends Roa
1766
{
1767
    /** @var string */
1768
    public $pathPattern = '/pop/workspaces/[workspace]/api/v1/namespaces/[namespace]/deployments/[deploymentId]/patch';
1769
1770
    /** @var string */
1771
    public $method = 'PUT';
1772
1773
    /**
1774
     * @param string $value
1775
     *
1776
     * @return $this
1777
     */
1778
    public function withWorkspace($value)
1779
    {
1780
        $this->data['Workspace'] = $value;
1781
        $this->pathParameters['workspace'] = $value;
1782
1783
        return $this;
1784
    }
1785
1786
    /**
1787
     * @param string $value
1788
     *
1789
     * @return $this
1790
     */
1791
    public function withParamsJson($value)
1792
    {
1793
        $this->data['ParamsJson'] = $value;
1794
        $this->options['form_params']['paramsJson'] = $value;
1795
1796
        return $this;
1797
    }
1798
1799
    /**
1800
     * @param string $value
1801
     *
1802
     * @return $this
1803
     */
1804
    public function withDeploymentId($value)
1805
    {
1806
        $this->data['DeploymentId'] = $value;
1807
        $this->pathParameters['deploymentId'] = $value;
1808
1809
        return $this;
1810
    }
1811
1812
    /**
1813
     * @param string $value
1814
     *
1815
     * @return $this
1816
     */
1817
    public function withNamespace($value)
1818
    {
1819
        $this->data['Namespace'] = $value;
1820
        $this->pathParameters['namespace'] = $value;
1821
1822
        return $this;
1823
    }
1824
}
1825
1826
/**
1827
 * @method string getWorkspace()
1828
 * @method string getParamsJson()
1829
 * @method string getDeploymentId()
1830
 * @method string getNamespace()
1831
 */
1832
class UpdateDeploymentDesiredState extends Roa
1833
{
1834
    /** @var string */
1835
    public $pathPattern = '/pop/workspaces/[workspace]/api/v1/namespaces/[namespace]/deployments/[deploymentId]/state';
1836
1837
    /** @var string */
1838
    public $method = 'PUT';
1839
1840
    /**
1841
     * @param string $value
1842
     *
1843
     * @return $this
1844
     */
1845
    public function withWorkspace($value)
1846
    {
1847
        $this->data['Workspace'] = $value;
1848
        $this->pathParameters['workspace'] = $value;
1849
1850
        return $this;
1851
    }
1852
1853
    /**
1854
     * @param string $value
1855
     *
1856
     * @return $this
1857
     */
1858
    public function withParamsJson($value)
1859
    {
1860
        $this->data['ParamsJson'] = $value;
1861
        $this->options['form_params']['paramsJson'] = $value;
1862
1863
        return $this;
1864
    }
1865
1866
    /**
1867
     * @param string $value
1868
     *
1869
     * @return $this
1870
     */
1871
    public function withDeploymentId($value)
1872
    {
1873
        $this->data['DeploymentId'] = $value;
1874
        $this->pathParameters['deploymentId'] = $value;
1875
1876
        return $this;
1877
    }
1878
1879
    /**
1880
     * @param string $value
1881
     *
1882
     * @return $this
1883
     */
1884
    public function withNamespace($value)
1885
    {
1886
        $this->data['Namespace'] = $value;
1887
        $this->pathParameters['namespace'] = $value;
1888
1889
        return $this;
1890
    }
1891
}
1892
1893
/**
1894
 * @method string getWorkspace()
1895
 * @method string getParamsJson()
1896
 * @method string getNamespace()
1897
 * @method string getUdfArtifactName()
1898
 */
1899
class UpdateUdfArtifact extends Roa
1900
{
1901
    /** @var string */
1902
    public $pathPattern = '/pop/workspaces/[workspace]/sql/v1beta1/namespaces/[namespace]/udfartifacts/[udfArtifactName]';
1903
1904
    /** @var string */
1905
    public $method = 'PUT';
1906
1907
    /**
1908
     * @param string $value
1909
     *
1910
     * @return $this
1911
     */
1912
    public function withWorkspace($value)
1913
    {
1914
        $this->data['Workspace'] = $value;
1915
        $this->pathParameters['workspace'] = $value;
1916
1917
        return $this;
1918
    }
1919
1920
    /**
1921
     * @param string $value
1922
     *
1923
     * @return $this
1924
     */
1925
    public function withParamsJson($value)
1926
    {
1927
        $this->data['ParamsJson'] = $value;
1928
        $this->options['form_params']['paramsJson'] = $value;
1929
1930
        return $this;
1931
    }
1932
1933
    /**
1934
     * @param string $value
1935
     *
1936
     * @return $this
1937
     */
1938
    public function withNamespace($value)
1939
    {
1940
        $this->data['Namespace'] = $value;
1941
        $this->pathParameters['namespace'] = $value;
1942
1943
        return $this;
1944
    }
1945
1946
    /**
1947
     * @param string $value
1948
     *
1949
     * @return $this
1950
     */
1951
    public function withUdfArtifactName($value)
1952
    {
1953
        $this->data['UdfArtifactName'] = $value;
1954
        $this->pathParameters['udfArtifactName'] = $value;
1955
1956
        return $this;
1957
    }
1958
}
1959
1960
/**
1961
 * @method string getWorkspace()
1962
 * @method string getParamsJson()
1963
 * @method string getNamespace()
1964
 */
1965
class ValidateSqlScript extends Roa
1966
{
1967
    /** @var string */
1968
    public $pathPattern = '/pop/workspaces/[workspace]/sql/v1beta1/namespaces/[namespace]/sqlscripts:validate';
1969
1970
    /** @var string */
1971
    public $method = 'POST';
1972
1973
    /**
1974
     * @param string $value
1975
     *
1976
     * @return $this
1977
     */
1978
    public function withWorkspace($value)
1979
    {
1980
        $this->data['Workspace'] = $value;
1981
        $this->pathParameters['workspace'] = $value;
1982
1983
        return $this;
1984
    }
1985
1986
    /**
1987
     * @param string $value
1988
     *
1989
     * @return $this
1990
     */
1991
    public function withParamsJson($value)
1992
    {
1993
        $this->data['ParamsJson'] = $value;
1994
        $this->options['form_params']['paramsJson'] = $value;
1995
1996
        return $this;
1997
    }
1998
1999
    /**
2000
     * @param string $value
2001
     *
2002
     * @return $this
2003
     */
2004
    public function withNamespace($value)
2005
    {
2006
        $this->data['Namespace'] = $value;
2007
        $this->pathParameters['namespace'] = $value;
2008
2009
        return $this;
2010
    }
2011
}
2012