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 ( 0e6d1d...5be808 )
by
unknown
06:36
created

UpdateTrainTask   A

Complexity

Total Complexity 9

Size/Duplication

Total Lines 118
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 9
eloc 28
c 1
b 0
f 0
dl 0
loc 118
rs 10

9 Methods

Rating   Name   Duplication   Size   Complexity  
A withId() 0 6 1
A withDatasetId() 0 6 1
A withLabelId() 0 6 1
A withDescription() 0 6 1
A withTrainMode() 0 6 1
A withAdvancedParameters() 0 6 1
A withName() 0 6 1
A withPreTrainTaskId() 0 6 1
A withPreTrainTaskFlag() 0 6 1
1
<?php
2
3
namespace AlibabaCloud\ViapiRegen\V20211119;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method CreateDataset createDataset(array $options = [])
9
 * @method CreateLabelset createLabelset(array $options = [])
10
 * @method CreateService createService(array $options = [])
11
 * @method CreateTagTask createTagTask(array $options = [])
12
 * @method CreateTrainTask createTrainTask(array $options = [])
13
 * @method CreateWorkspace createWorkspace(array $options = [])
14
 * @method CustomizeClassifyImage customizeClassifyImage(array $options = [])
15
 * @method CustomizeDetectImage customizeDetectImage(array $options = [])
16
 * @method CustomizeInstanceSegmentImage customizeInstanceSegmentImage(array $options = [])
17
 * @method DebugService debugService(array $options = [])
18
 * @method DeleteDataReflowData deleteDataReflowData(array $options = [])
19
 * @method DeleteDataset deleteDataset(array $options = [])
20
 * @method DeleteLabelset deleteLabelset(array $options = [])
21
 * @method DeleteLabelsetData deleteLabelsetData(array $options = [])
22
 * @method DeleteService deleteService(array $options = [])
23
 * @method DeleteTrainTask deleteTrainTask(array $options = [])
24
 * @method DeleteWorkspace deleteWorkspace(array $options = [])
25
 * @method DisableDataReflow disableDataReflow(array $options = [])
26
 * @method DownloadFileNameList downloadFileNameList(array $options = [])
27
 * @method DownloadLabelFile downloadLabelFile(array $options = [])
28
 * @method EnableDataReflow enableDataReflow(array $options = [])
29
 * @method ExportDataReflowDataList exportDataReflowDataList(array $options = [])
30
 * @method GetDataset getDataset(array $options = [])
31
 * @method GetDiffCountLabelsetAndDataset getDiffCountLabelsetAndDataset(array $options = [])
32
 * @method GetLabelDetail getLabelDetail(array $options = [])
33
 * @method GetLabelset getLabelset(array $options = [])
34
 * @method GetService getService(array $options = [])
35
 * @method GetTrainModel getTrainModel(array $options = [])
36
 * @method GetTrainTask getTrainTask(array $options = [])
37
 * @method GetTrainTaskEstimatedTime getTrainTaskEstimatedTime(array $options = [])
38
 * @method GetUploadPolicy getUploadPolicy(array $options = [])
39
 * @method GetWorkspace getWorkspace(array $options = [])
40
 * @method ListDataReflowDatas listDataReflowDatas(array $options = [])
41
 * @method ListDatasetDatas listDatasetDatas(array $options = [])
42
 * @method ListDatasets listDatasets(array $options = [])
43
 * @method ListLabelsetDatas listLabelsetDatas(array $options = [])
44
 * @method ListLabelsets listLabelsets(array $options = [])
45
 * @method ListServices listServices(array $options = [])
46
 * @method ListTrainTasks listTrainTasks(array $options = [])
47
 * @method ListWorkspaces listWorkspaces(array $options = [])
48
 * @method SetDatasetUserOssPath setDatasetUserOssPath(array $options = [])
49
 * @method StartService startService(array $options = [])
50
 * @method StartTrainTask startTrainTask(array $options = [])
51
 * @method StopService stopService(array $options = [])
52
 * @method StopTrainTask stopTrainTask(array $options = [])
53
 * @method UpdateDataset updateDataset(array $options = [])
54
 * @method UpdateLabelset updateLabelset(array $options = [])
55
 * @method UpdateService updateService(array $options = [])
56
 * @method UpdateTrainTask updateTrainTask(array $options = [])
57
 * @method UpdateWorkspace updateWorkspace(array $options = [])
58
 */
59
class ViapiRegenApiResolver extends ApiResolver
60
{
61
}
62
63
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
64
{
65
    /** @var string */
66
    public $product = 'viapi-regen';
67
68
    /** @var string */
69
    public $version = '2021-11-19';
70
71
    /** @var string */
72
    public $method = 'POST';
73
74
    /** @var string */
75
    public $serviceCode = 'selflearning';
76
}
77
78
/**
79
 * @method string getDescription()
80
 * @method string getType()
81
 * @method string getName()
82
 * @method string getWorkspaceId()
83
 */
84
class CreateDataset extends Rpc
85
{
86
87
    /**
88
     * @param string $value
89
     *
90
     * @return $this
91
     */
92
    public function withDescription($value)
93
    {
94
        $this->data['Description'] = $value;
95
        $this->options['form_params']['Description'] = $value;
96
97
        return $this;
98
    }
99
100
    /**
101
     * @param string $value
102
     *
103
     * @return $this
104
     */
105
    public function withType($value)
106
    {
107
        $this->data['Type'] = $value;
108
        $this->options['form_params']['Type'] = $value;
109
110
        return $this;
111
    }
112
113
    /**
114
     * @param string $value
115
     *
116
     * @return $this
117
     */
118
    public function withName($value)
119
    {
120
        $this->data['Name'] = $value;
121
        $this->options['form_params']['Name'] = $value;
122
123
        return $this;
124
    }
125
126
    /**
127
     * @param string $value
128
     *
129
     * @return $this
130
     */
131
    public function withWorkspaceId($value)
132
    {
133
        $this->data['WorkspaceId'] = $value;
134
        $this->options['form_params']['WorkspaceId'] = $value;
135
136
        return $this;
137
    }
138
}
139
140
/**
141
 * @method string getDescription()
142
 * @method string getType()
143
 * @method string getPreLabelId()
144
 * @method string getTagUserList()
145
 * @method string getUserOssUrl()
146
 * @method string getObjectKey()
147
 * @method string getName()
148
 * @method string getDatasetId()
149
 * @method string getTagSettings()
150
 */
151
class CreateLabelset extends Rpc
152
{
153
154
    /**
155
     * @param string $value
156
     *
157
     * @return $this
158
     */
159
    public function withDescription($value)
160
    {
161
        $this->data['Description'] = $value;
162
        $this->options['form_params']['Description'] = $value;
163
164
        return $this;
165
    }
166
167
    /**
168
     * @param string $value
169
     *
170
     * @return $this
171
     */
172
    public function withType($value)
173
    {
174
        $this->data['Type'] = $value;
175
        $this->options['form_params']['Type'] = $value;
176
177
        return $this;
178
    }
179
180
    /**
181
     * @param string $value
182
     *
183
     * @return $this
184
     */
185
    public function withPreLabelId($value)
186
    {
187
        $this->data['PreLabelId'] = $value;
188
        $this->options['form_params']['PreLabelId'] = $value;
189
190
        return $this;
191
    }
192
193
    /**
194
     * @param string $value
195
     *
196
     * @return $this
197
     */
198
    public function withTagUserList($value)
199
    {
200
        $this->data['TagUserList'] = $value;
201
        $this->options['form_params']['TagUserList'] = $value;
202
203
        return $this;
204
    }
205
206
    /**
207
     * @param string $value
208
     *
209
     * @return $this
210
     */
211
    public function withUserOssUrl($value)
212
    {
213
        $this->data['UserOssUrl'] = $value;
214
        $this->options['form_params']['UserOssUrl'] = $value;
215
216
        return $this;
217
    }
218
219
    /**
220
     * @param string $value
221
     *
222
     * @return $this
223
     */
224
    public function withObjectKey($value)
225
    {
226
        $this->data['ObjectKey'] = $value;
227
        $this->options['form_params']['ObjectKey'] = $value;
228
229
        return $this;
230
    }
231
232
    /**
233
     * @param string $value
234
     *
235
     * @return $this
236
     */
237
    public function withName($value)
238
    {
239
        $this->data['Name'] = $value;
240
        $this->options['form_params']['Name'] = $value;
241
242
        return $this;
243
    }
244
245
    /**
246
     * @param string $value
247
     *
248
     * @return $this
249
     */
250
    public function withDatasetId($value)
251
    {
252
        $this->data['DatasetId'] = $value;
253
        $this->options['form_params']['DatasetId'] = $value;
254
255
        return $this;
256
    }
257
258
    /**
259
     * @param string $value
260
     *
261
     * @return $this
262
     */
263
    public function withTagSettings($value)
264
    {
265
        $this->data['TagSettings'] = $value;
266
        $this->options['form_params']['TagSettings'] = $value;
267
268
        return $this;
269
    }
270
}
271
272
/**
273
 * @method string getDescription()
274
 * @method string getTrainTaskId()
275
 * @method string getAuthorizationType()
276
 * @method string getName()
277
 * @method string getAuthorizedAccount()
278
 */
279
class CreateService extends Rpc
280
{
281
282
    /**
283
     * @param string $value
284
     *
285
     * @return $this
286
     */
287
    public function withDescription($value)
288
    {
289
        $this->data['Description'] = $value;
290
        $this->options['form_params']['Description'] = $value;
291
292
        return $this;
293
    }
294
295
    /**
296
     * @param string $value
297
     *
298
     * @return $this
299
     */
300
    public function withTrainTaskId($value)
301
    {
302
        $this->data['TrainTaskId'] = $value;
303
        $this->options['form_params']['TrainTaskId'] = $value;
304
305
        return $this;
306
    }
307
308
    /**
309
     * @param string $value
310
     *
311
     * @return $this
312
     */
313
    public function withAuthorizationType($value)
314
    {
315
        $this->data['AuthorizationType'] = $value;
316
        $this->options['form_params']['AuthorizationType'] = $value;
317
318
        return $this;
319
    }
320
321
    /**
322
     * @param string $value
323
     *
324
     * @return $this
325
     */
326
    public function withName($value)
327
    {
328
        $this->data['Name'] = $value;
329
        $this->options['form_params']['Name'] = $value;
330
331
        return $this;
332
    }
333
334
    /**
335
     * @param string $value
336
     *
337
     * @return $this
338
     */
339
    public function withAuthorizedAccount($value)
340
    {
341
        $this->data['AuthorizedAccount'] = $value;
342
        $this->options['form_params']['AuthorizedAccount'] = $value;
343
344
        return $this;
345
    }
346
}
347
348
/**
349
 * @method string getLabelsetId()
350
 */
351
class CreateTagTask extends Rpc
352
{
353
354
    /**
355
     * @param string $value
356
     *
357
     * @return $this
358
     */
359
    public function withLabelsetId($value)
360
    {
361
        $this->data['LabelsetId'] = $value;
362
        $this->options['form_params']['LabelsetId'] = $value;
363
364
        return $this;
365
    }
366
}
367
368
/**
369
 * @method string getDescription()
370
 * @method string getTrainMode()
371
 * @method string getPreTrainTaskId()
372
 * @method string getAdvancedParameters()
373
 * @method string getLabelId()
374
 * @method string getName()
375
 * @method string getDatasetId()
376
 * @method string getWorkspaceId()
377
 */
378
class CreateTrainTask extends Rpc
379
{
380
381
    /**
382
     * @param string $value
383
     *
384
     * @return $this
385
     */
386
    public function withDescription($value)
387
    {
388
        $this->data['Description'] = $value;
389
        $this->options['form_params']['Description'] = $value;
390
391
        return $this;
392
    }
393
394
    /**
395
     * @param string $value
396
     *
397
     * @return $this
398
     */
399
    public function withTrainMode($value)
400
    {
401
        $this->data['TrainMode'] = $value;
402
        $this->options['form_params']['TrainMode'] = $value;
403
404
        return $this;
405
    }
406
407
    /**
408
     * @param string $value
409
     *
410
     * @return $this
411
     */
412
    public function withPreTrainTaskId($value)
413
    {
414
        $this->data['PreTrainTaskId'] = $value;
415
        $this->options['form_params']['PreTrainTaskId'] = $value;
416
417
        return $this;
418
    }
419
420
    /**
421
     * @param string $value
422
     *
423
     * @return $this
424
     */
425
    public function withAdvancedParameters($value)
426
    {
427
        $this->data['AdvancedParameters'] = $value;
428
        $this->options['form_params']['AdvancedParameters'] = $value;
429
430
        return $this;
431
    }
432
433
    /**
434
     * @param string $value
435
     *
436
     * @return $this
437
     */
438
    public function withLabelId($value)
439
    {
440
        $this->data['LabelId'] = $value;
441
        $this->options['form_params']['LabelId'] = $value;
442
443
        return $this;
444
    }
445
446
    /**
447
     * @param string $value
448
     *
449
     * @return $this
450
     */
451
    public function withName($value)
452
    {
453
        $this->data['Name'] = $value;
454
        $this->options['form_params']['Name'] = $value;
455
456
        return $this;
457
    }
458
459
    /**
460
     * @param string $value
461
     *
462
     * @return $this
463
     */
464
    public function withDatasetId($value)
465
    {
466
        $this->data['DatasetId'] = $value;
467
        $this->options['form_params']['DatasetId'] = $value;
468
469
        return $this;
470
    }
471
472
    /**
473
     * @param string $value
474
     *
475
     * @return $this
476
     */
477
    public function withWorkspaceId($value)
478
    {
479
        $this->data['WorkspaceId'] = $value;
480
        $this->options['form_params']['WorkspaceId'] = $value;
481
482
        return $this;
483
    }
484
}
485
486
/**
487
 * @method string getDescription()
488
 * @method string getType()
489
 * @method string getName()
490
 */
491
class CreateWorkspace extends Rpc
492
{
493
494
    /**
495
     * @param string $value
496
     *
497
     * @return $this
498
     */
499
    public function withDescription($value)
500
    {
501
        $this->data['Description'] = $value;
502
        $this->options['form_params']['Description'] = $value;
503
504
        return $this;
505
    }
506
507
    /**
508
     * @param string $value
509
     *
510
     * @return $this
511
     */
512
    public function withType($value)
513
    {
514
        $this->data['Type'] = $value;
515
        $this->options['form_params']['Type'] = $value;
516
517
        return $this;
518
    }
519
520
    /**
521
     * @param string $value
522
     *
523
     * @return $this
524
     */
525
    public function withName($value)
526
    {
527
        $this->data['Name'] = $value;
528
        $this->options['form_params']['Name'] = $value;
529
530
        return $this;
531
    }
532
}
533
534
/**
535
 * @method string getImageUrl()
536
 * @method string getServiceId()
537
 */
538
class CustomizeClassifyImage extends Rpc
539
{
540
541
    /**
542
     * @param string $value
543
     *
544
     * @return $this
545
     */
546
    public function withImageUrl($value)
547
    {
548
        $this->data['ImageUrl'] = $value;
549
        $this->options['form_params']['ImageUrl'] = $value;
550
551
        return $this;
552
    }
553
554
    /**
555
     * @param string $value
556
     *
557
     * @return $this
558
     */
559
    public function withServiceId($value)
560
    {
561
        $this->data['ServiceId'] = $value;
562
        $this->options['form_params']['ServiceId'] = $value;
563
564
        return $this;
565
    }
566
}
567
568
/**
569
 * @method string getImageUrl()
570
 * @method string getServiceId()
571
 */
572
class CustomizeDetectImage extends Rpc
573
{
574
575
    /**
576
     * @param string $value
577
     *
578
     * @return $this
579
     */
580
    public function withImageUrl($value)
581
    {
582
        $this->data['ImageUrl'] = $value;
583
        $this->options['form_params']['ImageUrl'] = $value;
584
585
        return $this;
586
    }
587
588
    /**
589
     * @param string $value
590
     *
591
     * @return $this
592
     */
593
    public function withServiceId($value)
594
    {
595
        $this->data['ServiceId'] = $value;
596
        $this->options['form_params']['ServiceId'] = $value;
597
598
        return $this;
599
    }
600
}
601
602
/**
603
 * @method string getImageUrl()
604
 * @method string getServiceId()
605
 */
606
class CustomizeInstanceSegmentImage extends Rpc
607
{
608
609
    /**
610
     * @param string $value
611
     *
612
     * @return $this
613
     */
614
    public function withImageUrl($value)
615
    {
616
        $this->data['ImageUrl'] = $value;
617
        $this->options['form_params']['ImageUrl'] = $value;
618
619
        return $this;
620
    }
621
622
    /**
623
     * @param string $value
624
     *
625
     * @return $this
626
     */
627
    public function withServiceId($value)
628
    {
629
        $this->data['ServiceId'] = $value;
630
        $this->options['form_params']['ServiceId'] = $value;
631
632
        return $this;
633
    }
634
}
635
636
/**
637
 * @method string getParam()
638
 * @method string getId()
639
 */
640
class DebugService extends Rpc
641
{
642
643
    /**
644
     * @param string $value
645
     *
646
     * @return $this
647
     */
648
    public function withParam($value)
649
    {
650
        $this->data['Param'] = $value;
651
        $this->options['form_params']['Param'] = $value;
652
653
        return $this;
654
    }
655
656
    /**
657
     * @param string $value
658
     *
659
     * @return $this
660
     */
661
    public function withId($value)
662
    {
663
        $this->data['Id'] = $value;
664
        $this->options['form_params']['Id'] = $value;
665
666
        return $this;
667
    }
668
}
669
670
/**
671
 * @method string getId()
672
 * @method string getServiceId()
673
 */
674
class DeleteDataReflowData extends Rpc
675
{
676
677
    /**
678
     * @param string $value
679
     *
680
     * @return $this
681
     */
682
    public function withId($value)
683
    {
684
        $this->data['Id'] = $value;
685
        $this->options['form_params']['Id'] = $value;
686
687
        return $this;
688
    }
689
690
    /**
691
     * @param string $value
692
     *
693
     * @return $this
694
     */
695
    public function withServiceId($value)
696
    {
697
        $this->data['ServiceId'] = $value;
698
        $this->options['form_params']['ServiceId'] = $value;
699
700
        return $this;
701
    }
702
}
703
704
/**
705
 * @method string getId()
706
 */
707
class DeleteDataset extends Rpc
708
{
709
710
    /**
711
     * @param string $value
712
     *
713
     * @return $this
714
     */
715
    public function withId($value)
716
    {
717
        $this->data['Id'] = $value;
718
        $this->options['form_params']['Id'] = $value;
719
720
        return $this;
721
    }
722
}
723
724
/**
725
 * @method string getId()
726
 */
727
class DeleteLabelset extends Rpc
728
{
729
730
    /**
731
     * @param string $value
732
     *
733
     * @return $this
734
     */
735
    public function withId($value)
736
    {
737
        $this->data['Id'] = $value;
738
        $this->options['form_params']['Id'] = $value;
739
740
        return $this;
741
    }
742
}
743
744
/**
745
 * @method string getId()
746
 * @method string getLabelId()
747
 */
748
class DeleteLabelsetData extends Rpc
749
{
750
751
    /**
752
     * @param string $value
753
     *
754
     * @return $this
755
     */
756
    public function withId($value)
757
    {
758
        $this->data['Id'] = $value;
759
        $this->options['form_params']['Id'] = $value;
760
761
        return $this;
762
    }
763
764
    /**
765
     * @param string $value
766
     *
767
     * @return $this
768
     */
769
    public function withLabelId($value)
770
    {
771
        $this->data['LabelId'] = $value;
772
        $this->options['form_params']['LabelId'] = $value;
773
774
        return $this;
775
    }
776
}
777
778
/**
779
 * @method string getId()
780
 */
781
class DeleteService extends Rpc
782
{
783
784
    /**
785
     * @param string $value
786
     *
787
     * @return $this
788
     */
789
    public function withId($value)
790
    {
791
        $this->data['Id'] = $value;
792
        $this->options['form_params']['Id'] = $value;
793
794
        return $this;
795
    }
796
}
797
798
/**
799
 * @method string getId()
800
 */
801
class DeleteTrainTask extends Rpc
802
{
803
804
    /**
805
     * @param string $value
806
     *
807
     * @return $this
808
     */
809
    public function withId($value)
810
    {
811
        $this->data['Id'] = $value;
812
        $this->options['form_params']['Id'] = $value;
813
814
        return $this;
815
    }
816
}
817
818
/**
819
 * @method string getId()
820
 */
821
class DeleteWorkspace extends Rpc
822
{
823
824
    /**
825
     * @param string $value
826
     *
827
     * @return $this
828
     */
829
    public function withId($value)
830
    {
831
        $this->data['Id'] = $value;
832
        $this->options['form_params']['Id'] = $value;
833
834
        return $this;
835
    }
836
}
837
838
/**
839
 * @method string getServiceId()
840
 */
841
class DisableDataReflow extends Rpc
842
{
843
844
    /**
845
     * @param string $value
846
     *
847
     * @return $this
848
     */
849
    public function withServiceId($value)
850
    {
851
        $this->data['ServiceId'] = $value;
852
        $this->options['form_params']['ServiceId'] = $value;
853
854
        return $this;
855
    }
856
}
857
858
/**
859
 * @method string getIdentity()
860
 * @method string getDatasetId()
861
 */
862
class DownloadFileNameList extends Rpc
863
{
864
865
    /**
866
     * @param string $value
867
     *
868
     * @return $this
869
     */
870
    public function withIdentity($value)
871
    {
872
        $this->data['Identity'] = $value;
873
        $this->options['form_params']['Identity'] = $value;
874
875
        return $this;
876
    }
877
878
    /**
879
     * @param string $value
880
     *
881
     * @return $this
882
     */
883
    public function withDatasetId($value)
884
    {
885
        $this->data['DatasetId'] = $value;
886
        $this->options['form_params']['DatasetId'] = $value;
887
888
        return $this;
889
    }
890
}
891
892
/**
893
 * @method string getLabelId()
894
 */
895
class DownloadLabelFile extends Rpc
896
{
897
898
    /**
899
     * @param string $value
900
     *
901
     * @return $this
902
     */
903
    public function withLabelId($value)
904
    {
905
        $this->data['LabelId'] = $value;
906
        $this->options['form_params']['LabelId'] = $value;
907
908
        return $this;
909
    }
910
}
911
912
/**
913
 * @method string getDataReflowRate()
914
 * @method string getDataReflowOssPath()
915
 * @method string getServiceId()
916
 */
917
class EnableDataReflow extends Rpc
918
{
919
920
    /**
921
     * @param string $value
922
     *
923
     * @return $this
924
     */
925
    public function withDataReflowRate($value)
926
    {
927
        $this->data['DataReflowRate'] = $value;
928
        $this->options['form_params']['DataReflowRate'] = $value;
929
930
        return $this;
931
    }
932
933
    /**
934
     * @param string $value
935
     *
936
     * @return $this
937
     */
938
    public function withDataReflowOssPath($value)
939
    {
940
        $this->data['DataReflowOssPath'] = $value;
941
        $this->options['form_params']['DataReflowOssPath'] = $value;
942
943
        return $this;
944
    }
945
946
    /**
947
     * @param string $value
948
     *
949
     * @return $this
950
     */
951
    public function withServiceId($value)
952
    {
953
        $this->data['ServiceId'] = $value;
954
        $this->options['form_params']['ServiceId'] = $value;
955
956
        return $this;
957
    }
958
}
959
960
/**
961
 * @method string getFileType()
962
 * @method string getStartTime()
963
 * @method string getImageName()
964
 * @method string getEndTime()
965
 * @method string getServiceId()
966
 * @method string getCategory()
967
 */
968
class ExportDataReflowDataList extends Rpc
969
{
970
971
    /**
972
     * @param string $value
973
     *
974
     * @return $this
975
     */
976
    public function withFileType($value)
977
    {
978
        $this->data['FileType'] = $value;
979
        $this->options['form_params']['FileType'] = $value;
980
981
        return $this;
982
    }
983
984
    /**
985
     * @param string $value
986
     *
987
     * @return $this
988
     */
989
    public function withStartTime($value)
990
    {
991
        $this->data['StartTime'] = $value;
992
        $this->options['form_params']['StartTime'] = $value;
993
994
        return $this;
995
    }
996
997
    /**
998
     * @param string $value
999
     *
1000
     * @return $this
1001
     */
1002
    public function withImageName($value)
1003
    {
1004
        $this->data['ImageName'] = $value;
1005
        $this->options['form_params']['ImageName'] = $value;
1006
1007
        return $this;
1008
    }
1009
1010
    /**
1011
     * @param string $value
1012
     *
1013
     * @return $this
1014
     */
1015
    public function withEndTime($value)
1016
    {
1017
        $this->data['EndTime'] = $value;
1018
        $this->options['form_params']['EndTime'] = $value;
1019
1020
        return $this;
1021
    }
1022
1023
    /**
1024
     * @param string $value
1025
     *
1026
     * @return $this
1027
     */
1028
    public function withServiceId($value)
1029
    {
1030
        $this->data['ServiceId'] = $value;
1031
        $this->options['form_params']['ServiceId'] = $value;
1032
1033
        return $this;
1034
    }
1035
1036
    /**
1037
     * @param string $value
1038
     *
1039
     * @return $this
1040
     */
1041
    public function withCategory($value)
1042
    {
1043
        $this->data['Category'] = $value;
1044
        $this->options['form_params']['Category'] = $value;
1045
1046
        return $this;
1047
    }
1048
}
1049
1050
/**
1051
 * @method string getId()
1052
 */
1053
class GetDataset extends Rpc
1054
{
1055
1056
    /**
1057
     * @param string $value
1058
     *
1059
     * @return $this
1060
     */
1061
    public function withId($value)
1062
    {
1063
        $this->data['Id'] = $value;
1064
        $this->options['form_params']['Id'] = $value;
1065
1066
        return $this;
1067
    }
1068
}
1069
1070
/**
1071
 * @method string getLabelsetId()
1072
 */
1073
class GetDiffCountLabelsetAndDataset extends Rpc
1074
{
1075
1076
    /**
1077
     * @param string $value
1078
     *
1079
     * @return $this
1080
     */
1081
    public function withLabelsetId($value)
1082
    {
1083
        $this->data['LabelsetId'] = $value;
1084
        $this->options['form_params']['LabelsetId'] = $value;
1085
1086
        return $this;
1087
    }
1088
}
1089
1090
/**
1091
 * @method string getId()
1092
 */
1093
class GetLabelDetail extends Rpc
1094
{
1095
1096
    /**
1097
     * @param string $value
1098
     *
1099
     * @return $this
1100
     */
1101
    public function withId($value)
1102
    {
1103
        $this->data['Id'] = $value;
1104
        $this->options['form_params']['Id'] = $value;
1105
1106
        return $this;
1107
    }
1108
}
1109
1110
/**
1111
 * @method string getId()
1112
 */
1113
class GetLabelset extends Rpc
1114
{
1115
1116
    /**
1117
     * @param string $value
1118
     *
1119
     * @return $this
1120
     */
1121
    public function withId($value)
1122
    {
1123
        $this->data['Id'] = $value;
1124
        $this->options['form_params']['Id'] = $value;
1125
1126
        return $this;
1127
    }
1128
}
1129
1130
/**
1131
 * @method string getId()
1132
 */
1133
class GetService extends Rpc
1134
{
1135
1136
    /**
1137
     * @param string $value
1138
     *
1139
     * @return $this
1140
     */
1141
    public function withId($value)
1142
    {
1143
        $this->data['Id'] = $value;
1144
        $this->options['form_params']['Id'] = $value;
1145
1146
        return $this;
1147
    }
1148
}
1149
1150
/**
1151
 * @method string getId()
1152
 */
1153
class GetTrainModel extends Rpc
1154
{
1155
1156
    /**
1157
     * @param string $value
1158
     *
1159
     * @return $this
1160
     */
1161
    public function withId($value)
1162
    {
1163
        $this->data['Id'] = $value;
1164
        $this->options['form_params']['Id'] = $value;
1165
1166
        return $this;
1167
    }
1168
}
1169
1170
/**
1171
 * @method string getId()
1172
 */
1173
class GetTrainTask extends Rpc
1174
{
1175
1176
    /**
1177
     * @param string $value
1178
     *
1179
     * @return $this
1180
     */
1181
    public function withId($value)
1182
    {
1183
        $this->data['Id'] = $value;
1184
        $this->options['form_params']['Id'] = $value;
1185
1186
        return $this;
1187
    }
1188
}
1189
1190
/**
1191
 * @method string getId()
1192
 */
1193
class GetTrainTaskEstimatedTime extends Rpc
1194
{
1195
1196
    /**
1197
     * @param string $value
1198
     *
1199
     * @return $this
1200
     */
1201
    public function withId($value)
1202
    {
1203
        $this->data['Id'] = $value;
1204
        $this->options['form_params']['Id'] = $value;
1205
1206
        return $this;
1207
    }
1208
}
1209
1210
/**
1211
 * @method string getType()
1212
 * @method string getId()
1213
 * @method string getFileName()
1214
 */
1215
class GetUploadPolicy extends Rpc
1216
{
1217
1218
    /**
1219
     * @param string $value
1220
     *
1221
     * @return $this
1222
     */
1223
    public function withType($value)
1224
    {
1225
        $this->data['Type'] = $value;
1226
        $this->options['form_params']['Type'] = $value;
1227
1228
        return $this;
1229
    }
1230
1231
    /**
1232
     * @param string $value
1233
     *
1234
     * @return $this
1235
     */
1236
    public function withId($value)
1237
    {
1238
        $this->data['Id'] = $value;
1239
        $this->options['form_params']['Id'] = $value;
1240
1241
        return $this;
1242
    }
1243
1244
    /**
1245
     * @param string $value
1246
     *
1247
     * @return $this
1248
     */
1249
    public function withFileName($value)
1250
    {
1251
        $this->data['FileName'] = $value;
1252
        $this->options['form_params']['FileName'] = $value;
1253
1254
        return $this;
1255
    }
1256
}
1257
1258
/**
1259
 * @method string getId()
1260
 */
1261
class GetWorkspace extends Rpc
1262
{
1263
1264
    /**
1265
     * @param string $value
1266
     *
1267
     * @return $this
1268
     */
1269
    public function withId($value)
1270
    {
1271
        $this->data['Id'] = $value;
1272
        $this->options['form_params']['Id'] = $value;
1273
1274
        return $this;
1275
    }
1276
}
1277
1278
/**
1279
 * @method string getStartTime()
1280
 * @method string getImageName()
1281
 * @method string getPageSize()
1282
 * @method string getEndTime()
1283
 * @method string getCurrentPage()
1284
 * @method string getServiceId()
1285
 * @method string getCategory()
1286
 */
1287
class ListDataReflowDatas extends Rpc
1288
{
1289
1290
    /**
1291
     * @param string $value
1292
     *
1293
     * @return $this
1294
     */
1295
    public function withStartTime($value)
1296
    {
1297
        $this->data['StartTime'] = $value;
1298
        $this->options['form_params']['StartTime'] = $value;
1299
1300
        return $this;
1301
    }
1302
1303
    /**
1304
     * @param string $value
1305
     *
1306
     * @return $this
1307
     */
1308
    public function withImageName($value)
1309
    {
1310
        $this->data['ImageName'] = $value;
1311
        $this->options['form_params']['ImageName'] = $value;
1312
1313
        return $this;
1314
    }
1315
1316
    /**
1317
     * @param string $value
1318
     *
1319
     * @return $this
1320
     */
1321
    public function withPageSize($value)
1322
    {
1323
        $this->data['PageSize'] = $value;
1324
        $this->options['form_params']['PageSize'] = $value;
1325
1326
        return $this;
1327
    }
1328
1329
    /**
1330
     * @param string $value
1331
     *
1332
     * @return $this
1333
     */
1334
    public function withEndTime($value)
1335
    {
1336
        $this->data['EndTime'] = $value;
1337
        $this->options['form_params']['EndTime'] = $value;
1338
1339
        return $this;
1340
    }
1341
1342
    /**
1343
     * @param string $value
1344
     *
1345
     * @return $this
1346
     */
1347
    public function withCurrentPage($value)
1348
    {
1349
        $this->data['CurrentPage'] = $value;
1350
        $this->options['form_params']['CurrentPage'] = $value;
1351
1352
        return $this;
1353
    }
1354
1355
    /**
1356
     * @param string $value
1357
     *
1358
     * @return $this
1359
     */
1360
    public function withServiceId($value)
1361
    {
1362
        $this->data['ServiceId'] = $value;
1363
        $this->options['form_params']['ServiceId'] = $value;
1364
1365
        return $this;
1366
    }
1367
1368
    /**
1369
     * @param string $value
1370
     *
1371
     * @return $this
1372
     */
1373
    public function withCategory($value)
1374
    {
1375
        $this->data['Category'] = $value;
1376
        $this->options['form_params']['Category'] = $value;
1377
1378
        return $this;
1379
    }
1380
}
1381
1382
/**
1383
 * @method string getIdentity()
1384
 * @method string getPageSize()
1385
 * @method string getCurrentPage()
1386
 * @method string getDatasetId()
1387
 */
1388
class ListDatasetDatas extends Rpc
1389
{
1390
1391
    /**
1392
     * @param string $value
1393
     *
1394
     * @return $this
1395
     */
1396
    public function withIdentity($value)
1397
    {
1398
        $this->data['Identity'] = $value;
1399
        $this->options['form_params']['Identity'] = $value;
1400
1401
        return $this;
1402
    }
1403
1404
    /**
1405
     * @param string $value
1406
     *
1407
     * @return $this
1408
     */
1409
    public function withPageSize($value)
1410
    {
1411
        $this->data['PageSize'] = $value;
1412
        $this->options['form_params']['PageSize'] = $value;
1413
1414
        return $this;
1415
    }
1416
1417
    /**
1418
     * @param string $value
1419
     *
1420
     * @return $this
1421
     */
1422
    public function withCurrentPage($value)
1423
    {
1424
        $this->data['CurrentPage'] = $value;
1425
        $this->options['form_params']['CurrentPage'] = $value;
1426
1427
        return $this;
1428
    }
1429
1430
    /**
1431
     * @param string $value
1432
     *
1433
     * @return $this
1434
     */
1435
    public function withDatasetId($value)
1436
    {
1437
        $this->data['DatasetId'] = $value;
1438
        $this->options['form_params']['DatasetId'] = $value;
1439
1440
        return $this;
1441
    }
1442
}
1443
1444
/**
1445
 * @method string getPageSize()
1446
 * @method string getCurrentPage()
1447
 * @method string getWorkspaceId()
1448
 */
1449
class ListDatasets extends Rpc
1450
{
1451
1452
    /**
1453
     * @param string $value
1454
     *
1455
     * @return $this
1456
     */
1457
    public function withPageSize($value)
1458
    {
1459
        $this->data['PageSize'] = $value;
1460
        $this->options['form_params']['PageSize'] = $value;
1461
1462
        return $this;
1463
    }
1464
1465
    /**
1466
     * @param string $value
1467
     *
1468
     * @return $this
1469
     */
1470
    public function withCurrentPage($value)
1471
    {
1472
        $this->data['CurrentPage'] = $value;
1473
        $this->options['form_params']['CurrentPage'] = $value;
1474
1475
        return $this;
1476
    }
1477
1478
    /**
1479
     * @param string $value
1480
     *
1481
     * @return $this
1482
     */
1483
    public function withWorkspaceId($value)
1484
    {
1485
        $this->data['WorkspaceId'] = $value;
1486
        $this->options['form_params']['WorkspaceId'] = $value;
1487
1488
        return $this;
1489
    }
1490
}
1491
1492
/**
1493
 * @method string getPageSize()
1494
 * @method string getValue()
1495
 * @method string getCurrentPage()
1496
 * @method string getLabelId()
1497
 * @method string getName()
1498
 * @method string getOperation()
1499
 */
1500
class ListLabelsetDatas extends Rpc
1501
{
1502
1503
    /**
1504
     * @param string $value
1505
     *
1506
     * @return $this
1507
     */
1508
    public function withPageSize($value)
1509
    {
1510
        $this->data['PageSize'] = $value;
1511
        $this->options['form_params']['PageSize'] = $value;
1512
1513
        return $this;
1514
    }
1515
1516
    /**
1517
     * @param string $value
1518
     *
1519
     * @return $this
1520
     */
1521
    public function withValue($value)
1522
    {
1523
        $this->data['Value'] = $value;
1524
        $this->options['form_params']['Value'] = $value;
1525
1526
        return $this;
1527
    }
1528
1529
    /**
1530
     * @param string $value
1531
     *
1532
     * @return $this
1533
     */
1534
    public function withCurrentPage($value)
1535
    {
1536
        $this->data['CurrentPage'] = $value;
1537
        $this->options['form_params']['CurrentPage'] = $value;
1538
1539
        return $this;
1540
    }
1541
1542
    /**
1543
     * @param string $value
1544
     *
1545
     * @return $this
1546
     */
1547
    public function withLabelId($value)
1548
    {
1549
        $this->data['LabelId'] = $value;
1550
        $this->options['form_params']['LabelId'] = $value;
1551
1552
        return $this;
1553
    }
1554
1555
    /**
1556
     * @param string $value
1557
     *
1558
     * @return $this
1559
     */
1560
    public function withName($value)
1561
    {
1562
        $this->data['Name'] = $value;
1563
        $this->options['form_params']['Name'] = $value;
1564
1565
        return $this;
1566
    }
1567
1568
    /**
1569
     * @param string $value
1570
     *
1571
     * @return $this
1572
     */
1573
    public function withOperation($value)
1574
    {
1575
        $this->data['Operation'] = $value;
1576
        $this->options['form_params']['Operation'] = $value;
1577
1578
        return $this;
1579
    }
1580
}
1581
1582
/**
1583
 * @method string getPageSize()
1584
 * @method string getCurrentPage()
1585
 * @method string getDatasetId()
1586
 * @method string getStatus()
1587
 */
1588
class ListLabelsets extends Rpc
1589
{
1590
1591
    /**
1592
     * @param string $value
1593
     *
1594
     * @return $this
1595
     */
1596
    public function withPageSize($value)
1597
    {
1598
        $this->data['PageSize'] = $value;
1599
        $this->options['form_params']['PageSize'] = $value;
1600
1601
        return $this;
1602
    }
1603
1604
    /**
1605
     * @param string $value
1606
     *
1607
     * @return $this
1608
     */
1609
    public function withCurrentPage($value)
1610
    {
1611
        $this->data['CurrentPage'] = $value;
1612
        $this->options['form_params']['CurrentPage'] = $value;
1613
1614
        return $this;
1615
    }
1616
1617
    /**
1618
     * @param string $value
1619
     *
1620
     * @return $this
1621
     */
1622
    public function withDatasetId($value)
1623
    {
1624
        $this->data['DatasetId'] = $value;
1625
        $this->options['form_params']['DatasetId'] = $value;
1626
1627
        return $this;
1628
    }
1629
1630
    /**
1631
     * @param string $value
1632
     *
1633
     * @return $this
1634
     */
1635
    public function withStatus($value)
1636
    {
1637
        $this->data['Status'] = $value;
1638
        $this->options['form_params']['Status'] = $value;
1639
1640
        return $this;
1641
    }
1642
}
1643
1644
/**
1645
 * @method string getPageSize()
1646
 * @method string getId()
1647
 * @method string getCurrentPage()
1648
 * @method string getName()
1649
 * @method string getWorkspaceId()
1650
 */
1651
class ListServices extends Rpc
1652
{
1653
1654
    /**
1655
     * @param string $value
1656
     *
1657
     * @return $this
1658
     */
1659
    public function withPageSize($value)
1660
    {
1661
        $this->data['PageSize'] = $value;
1662
        $this->options['form_params']['PageSize'] = $value;
1663
1664
        return $this;
1665
    }
1666
1667
    /**
1668
     * @param string $value
1669
     *
1670
     * @return $this
1671
     */
1672
    public function withId($value)
1673
    {
1674
        $this->data['Id'] = $value;
1675
        $this->options['form_params']['Id'] = $value;
1676
1677
        return $this;
1678
    }
1679
1680
    /**
1681
     * @param string $value
1682
     *
1683
     * @return $this
1684
     */
1685
    public function withCurrentPage($value)
1686
    {
1687
        $this->data['CurrentPage'] = $value;
1688
        $this->options['form_params']['CurrentPage'] = $value;
1689
1690
        return $this;
1691
    }
1692
1693
    /**
1694
     * @param string $value
1695
     *
1696
     * @return $this
1697
     */
1698
    public function withName($value)
1699
    {
1700
        $this->data['Name'] = $value;
1701
        $this->options['form_params']['Name'] = $value;
1702
1703
        return $this;
1704
    }
1705
1706
    /**
1707
     * @param string $value
1708
     *
1709
     * @return $this
1710
     */
1711
    public function withWorkspaceId($value)
1712
    {
1713
        $this->data['WorkspaceId'] = $value;
1714
        $this->options['form_params']['WorkspaceId'] = $value;
1715
1716
        return $this;
1717
    }
1718
}
1719
1720
/**
1721
 * @method string getPageSize()
1722
 * @method string getCurrentPage()
1723
 * @method string getStatus()
1724
 * @method string getWorkspaceId()
1725
 */
1726
class ListTrainTasks extends Rpc
1727
{
1728
1729
    /**
1730
     * @param string $value
1731
     *
1732
     * @return $this
1733
     */
1734
    public function withPageSize($value)
1735
    {
1736
        $this->data['PageSize'] = $value;
1737
        $this->options['form_params']['PageSize'] = $value;
1738
1739
        return $this;
1740
    }
1741
1742
    /**
1743
     * @param string $value
1744
     *
1745
     * @return $this
1746
     */
1747
    public function withCurrentPage($value)
1748
    {
1749
        $this->data['CurrentPage'] = $value;
1750
        $this->options['form_params']['CurrentPage'] = $value;
1751
1752
        return $this;
1753
    }
1754
1755
    /**
1756
     * @param string $value
1757
     *
1758
     * @return $this
1759
     */
1760
    public function withStatus($value)
1761
    {
1762
        $this->data['Status'] = $value;
1763
        $this->options['form_params']['Status'] = $value;
1764
1765
        return $this;
1766
    }
1767
1768
    /**
1769
     * @param string $value
1770
     *
1771
     * @return $this
1772
     */
1773
    public function withWorkspaceId($value)
1774
    {
1775
        $this->data['WorkspaceId'] = $value;
1776
        $this->options['form_params']['WorkspaceId'] = $value;
1777
1778
        return $this;
1779
    }
1780
}
1781
1782
/**
1783
 * @method string getPageSize()
1784
 * @method string getCurrentPage()
1785
 * @method string getName()
1786
 */
1787
class ListWorkspaces extends Rpc
1788
{
1789
1790
    /**
1791
     * @param string $value
1792
     *
1793
     * @return $this
1794
     */
1795
    public function withPageSize($value)
1796
    {
1797
        $this->data['PageSize'] = $value;
1798
        $this->options['form_params']['PageSize'] = $value;
1799
1800
        return $this;
1801
    }
1802
1803
    /**
1804
     * @param string $value
1805
     *
1806
     * @return $this
1807
     */
1808
    public function withCurrentPage($value)
1809
    {
1810
        $this->data['CurrentPage'] = $value;
1811
        $this->options['form_params']['CurrentPage'] = $value;
1812
1813
        return $this;
1814
    }
1815
1816
    /**
1817
     * @param string $value
1818
     *
1819
     * @return $this
1820
     */
1821
    public function withName($value)
1822
    {
1823
        $this->data['Name'] = $value;
1824
        $this->options['form_params']['Name'] = $value;
1825
1826
        return $this;
1827
    }
1828
}
1829
1830
/**
1831
 * @method string getUserOssUrl()
1832
 * @method string getDatasetId()
1833
 */
1834
class SetDatasetUserOssPath extends Rpc
1835
{
1836
1837
    /**
1838
     * @param string $value
1839
     *
1840
     * @return $this
1841
     */
1842
    public function withUserOssUrl($value)
1843
    {
1844
        $this->data['UserOssUrl'] = $value;
1845
        $this->options['form_params']['UserOssUrl'] = $value;
1846
1847
        return $this;
1848
    }
1849
1850
    /**
1851
     * @param string $value
1852
     *
1853
     * @return $this
1854
     */
1855
    public function withDatasetId($value)
1856
    {
1857
        $this->data['DatasetId'] = $value;
1858
        $this->options['form_params']['DatasetId'] = $value;
1859
1860
        return $this;
1861
    }
1862
}
1863
1864
/**
1865
 * @method string getId()
1866
 */
1867
class StartService extends Rpc
1868
{
1869
1870
    /**
1871
     * @param string $value
1872
     *
1873
     * @return $this
1874
     */
1875
    public function withId($value)
1876
    {
1877
        $this->data['Id'] = $value;
1878
        $this->options['form_params']['Id'] = $value;
1879
1880
        return $this;
1881
    }
1882
}
1883
1884
/**
1885
 * @method string getRelyOnTaskId()
1886
 * @method string getForceStartFlag()
1887
 * @method string getId()
1888
 */
1889
class StartTrainTask extends Rpc
1890
{
1891
1892
    /**
1893
     * @param string $value
1894
     *
1895
     * @return $this
1896
     */
1897
    public function withRelyOnTaskId($value)
1898
    {
1899
        $this->data['RelyOnTaskId'] = $value;
1900
        $this->options['form_params']['RelyOnTaskId'] = $value;
1901
1902
        return $this;
1903
    }
1904
1905
    /**
1906
     * @param string $value
1907
     *
1908
     * @return $this
1909
     */
1910
    public function withForceStartFlag($value)
1911
    {
1912
        $this->data['ForceStartFlag'] = $value;
1913
        $this->options['form_params']['ForceStartFlag'] = $value;
1914
1915
        return $this;
1916
    }
1917
1918
    /**
1919
     * @param string $value
1920
     *
1921
     * @return $this
1922
     */
1923
    public function withId($value)
1924
    {
1925
        $this->data['Id'] = $value;
1926
        $this->options['form_params']['Id'] = $value;
1927
1928
        return $this;
1929
    }
1930
}
1931
1932
/**
1933
 * @method string getId()
1934
 */
1935
class StopService extends Rpc
1936
{
1937
1938
    /**
1939
     * @param string $value
1940
     *
1941
     * @return $this
1942
     */
1943
    public function withId($value)
1944
    {
1945
        $this->data['Id'] = $value;
1946
        $this->options['form_params']['Id'] = $value;
1947
1948
        return $this;
1949
    }
1950
}
1951
1952
/**
1953
 * @method string getId()
1954
 */
1955
class StopTrainTask extends Rpc
1956
{
1957
1958
    /**
1959
     * @param string $value
1960
     *
1961
     * @return $this
1962
     */
1963
    public function withId($value)
1964
    {
1965
        $this->data['Id'] = $value;
1966
        $this->options['form_params']['Id'] = $value;
1967
1968
        return $this;
1969
    }
1970
}
1971
1972
/**
1973
 * @method string getDescription()
1974
 * @method string getId()
1975
 * @method string getName()
1976
 */
1977
class UpdateDataset extends Rpc
1978
{
1979
1980
    /**
1981
     * @param string $value
1982
     *
1983
     * @return $this
1984
     */
1985
    public function withDescription($value)
1986
    {
1987
        $this->data['Description'] = $value;
1988
        $this->options['form_params']['Description'] = $value;
1989
1990
        return $this;
1991
    }
1992
1993
    /**
1994
     * @param string $value
1995
     *
1996
     * @return $this
1997
     */
1998
    public function withId($value)
1999
    {
2000
        $this->data['Id'] = $value;
2001
        $this->options['form_params']['Id'] = $value;
2002
2003
        return $this;
2004
    }
2005
2006
    /**
2007
     * @param string $value
2008
     *
2009
     * @return $this
2010
     */
2011
    public function withName($value)
2012
    {
2013
        $this->data['Name'] = $value;
2014
        $this->options['form_params']['Name'] = $value;
2015
2016
        return $this;
2017
    }
2018
}
2019
2020
/**
2021
 * @method string getDescription()
2022
 * @method string getId()
2023
 * @method string getTagUserList()
2024
 * @method string getUserOssUrl()
2025
 * @method string getObjectKey()
2026
 * @method string getName()
2027
 */
2028
class UpdateLabelset extends Rpc
2029
{
2030
2031
    /**
2032
     * @param string $value
2033
     *
2034
     * @return $this
2035
     */
2036
    public function withDescription($value)
2037
    {
2038
        $this->data['Description'] = $value;
2039
        $this->options['form_params']['Description'] = $value;
2040
2041
        return $this;
2042
    }
2043
2044
    /**
2045
     * @param string $value
2046
     *
2047
     * @return $this
2048
     */
2049
    public function withId($value)
2050
    {
2051
        $this->data['Id'] = $value;
2052
        $this->options['form_params']['Id'] = $value;
2053
2054
        return $this;
2055
    }
2056
2057
    /**
2058
     * @param string $value
2059
     *
2060
     * @return $this
2061
     */
2062
    public function withTagUserList($value)
2063
    {
2064
        $this->data['TagUserList'] = $value;
2065
        $this->options['form_params']['TagUserList'] = $value;
2066
2067
        return $this;
2068
    }
2069
2070
    /**
2071
     * @param string $value
2072
     *
2073
     * @return $this
2074
     */
2075
    public function withUserOssUrl($value)
2076
    {
2077
        $this->data['UserOssUrl'] = $value;
2078
        $this->options['form_params']['UserOssUrl'] = $value;
2079
2080
        return $this;
2081
    }
2082
2083
    /**
2084
     * @param string $value
2085
     *
2086
     * @return $this
2087
     */
2088
    public function withObjectKey($value)
2089
    {
2090
        $this->data['ObjectKey'] = $value;
2091
        $this->options['form_params']['ObjectKey'] = $value;
2092
2093
        return $this;
2094
    }
2095
2096
    /**
2097
     * @param string $value
2098
     *
2099
     * @return $this
2100
     */
2101
    public function withName($value)
2102
    {
2103
        $this->data['Name'] = $value;
2104
        $this->options['form_params']['Name'] = $value;
2105
2106
        return $this;
2107
    }
2108
}
2109
2110
/**
2111
 * @method string getDescription()
2112
 * @method string getId()
2113
 * @method string getAuthorizationType()
2114
 * @method string getName()
2115
 * @method string getAuthorizedAccount()
2116
 */
2117
class UpdateService extends Rpc
2118
{
2119
2120
    /**
2121
     * @param string $value
2122
     *
2123
     * @return $this
2124
     */
2125
    public function withDescription($value)
2126
    {
2127
        $this->data['Description'] = $value;
2128
        $this->options['form_params']['Description'] = $value;
2129
2130
        return $this;
2131
    }
2132
2133
    /**
2134
     * @param string $value
2135
     *
2136
     * @return $this
2137
     */
2138
    public function withId($value)
2139
    {
2140
        $this->data['Id'] = $value;
2141
        $this->options['form_params']['Id'] = $value;
2142
2143
        return $this;
2144
    }
2145
2146
    /**
2147
     * @param string $value
2148
     *
2149
     * @return $this
2150
     */
2151
    public function withAuthorizationType($value)
2152
    {
2153
        $this->data['AuthorizationType'] = $value;
2154
        $this->options['form_params']['AuthorizationType'] = $value;
2155
2156
        return $this;
2157
    }
2158
2159
    /**
2160
     * @param string $value
2161
     *
2162
     * @return $this
2163
     */
2164
    public function withName($value)
2165
    {
2166
        $this->data['Name'] = $value;
2167
        $this->options['form_params']['Name'] = $value;
2168
2169
        return $this;
2170
    }
2171
2172
    /**
2173
     * @param string $value
2174
     *
2175
     * @return $this
2176
     */
2177
    public function withAuthorizedAccount($value)
2178
    {
2179
        $this->data['AuthorizedAccount'] = $value;
2180
        $this->options['form_params']['AuthorizedAccount'] = $value;
2181
2182
        return $this;
2183
    }
2184
}
2185
2186
/**
2187
 * @method string getDescription()
2188
 * @method string getTrainMode()
2189
 * @method string getId()
2190
 * @method string getPreTrainTaskId()
2191
 * @method string getPreTrainTaskFlag()
2192
 * @method string getAdvancedParameters()
2193
 * @method string getLabelId()
2194
 * @method string getName()
2195
 * @method string getDatasetId()
2196
 */
2197
class UpdateTrainTask extends Rpc
2198
{
2199
2200
    /**
2201
     * @param string $value
2202
     *
2203
     * @return $this
2204
     */
2205
    public function withDescription($value)
2206
    {
2207
        $this->data['Description'] = $value;
2208
        $this->options['form_params']['Description'] = $value;
2209
2210
        return $this;
2211
    }
2212
2213
    /**
2214
     * @param string $value
2215
     *
2216
     * @return $this
2217
     */
2218
    public function withTrainMode($value)
2219
    {
2220
        $this->data['TrainMode'] = $value;
2221
        $this->options['form_params']['TrainMode'] = $value;
2222
2223
        return $this;
2224
    }
2225
2226
    /**
2227
     * @param string $value
2228
     *
2229
     * @return $this
2230
     */
2231
    public function withId($value)
2232
    {
2233
        $this->data['Id'] = $value;
2234
        $this->options['form_params']['Id'] = $value;
2235
2236
        return $this;
2237
    }
2238
2239
    /**
2240
     * @param string $value
2241
     *
2242
     * @return $this
2243
     */
2244
    public function withPreTrainTaskId($value)
2245
    {
2246
        $this->data['PreTrainTaskId'] = $value;
2247
        $this->options['form_params']['PreTrainTaskId'] = $value;
2248
2249
        return $this;
2250
    }
2251
2252
    /**
2253
     * @param string $value
2254
     *
2255
     * @return $this
2256
     */
2257
    public function withPreTrainTaskFlag($value)
2258
    {
2259
        $this->data['PreTrainTaskFlag'] = $value;
2260
        $this->options['form_params']['PreTrainTaskFlag'] = $value;
2261
2262
        return $this;
2263
    }
2264
2265
    /**
2266
     * @param string $value
2267
     *
2268
     * @return $this
2269
     */
2270
    public function withAdvancedParameters($value)
2271
    {
2272
        $this->data['AdvancedParameters'] = $value;
2273
        $this->options['form_params']['AdvancedParameters'] = $value;
2274
2275
        return $this;
2276
    }
2277
2278
    /**
2279
     * @param string $value
2280
     *
2281
     * @return $this
2282
     */
2283
    public function withLabelId($value)
2284
    {
2285
        $this->data['LabelId'] = $value;
2286
        $this->options['form_params']['LabelId'] = $value;
2287
2288
        return $this;
2289
    }
2290
2291
    /**
2292
     * @param string $value
2293
     *
2294
     * @return $this
2295
     */
2296
    public function withName($value)
2297
    {
2298
        $this->data['Name'] = $value;
2299
        $this->options['form_params']['Name'] = $value;
2300
2301
        return $this;
2302
    }
2303
2304
    /**
2305
     * @param string $value
2306
     *
2307
     * @return $this
2308
     */
2309
    public function withDatasetId($value)
2310
    {
2311
        $this->data['DatasetId'] = $value;
2312
        $this->options['form_params']['DatasetId'] = $value;
2313
2314
        return $this;
2315
    }
2316
}
2317
2318
/**
2319
 * @method string getDescription()
2320
 * @method string getId()
2321
 * @method string getName()
2322
 */
2323
class UpdateWorkspace extends Rpc
2324
{
2325
2326
    /**
2327
     * @param string $value
2328
     *
2329
     * @return $this
2330
     */
2331
    public function withDescription($value)
2332
    {
2333
        $this->data['Description'] = $value;
2334
        $this->options['form_params']['Description'] = $value;
2335
2336
        return $this;
2337
    }
2338
2339
    /**
2340
     * @param string $value
2341
     *
2342
     * @return $this
2343
     */
2344
    public function withId($value)
2345
    {
2346
        $this->data['Id'] = $value;
2347
        $this->options['form_params']['Id'] = $value;
2348
2349
        return $this;
2350
    }
2351
2352
    /**
2353
     * @param string $value
2354
     *
2355
     * @return $this
2356
     */
2357
    public function withName($value)
2358
    {
2359
        $this->data['Name'] = $value;
2360
        $this->options['form_params']['Name'] = $value;
2361
2362
        return $this;
2363
    }
2364
}
2365