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 ( 60c503...196c64 )
by
unknown
06:17
created

UpdateTrainTask::withDatasetIds()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
c 0
b 0
f 0
dl 0
loc 6
rs 10
cc 1
nc 1
nop 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 getDatasetIds()
372
 * @method string getPreTrainTaskId()
373
 * @method string getAdvancedParameters()
374
 * @method string getLabelId()
375
 * @method string getName()
376
 * @method string getDatasetId()
377
 * @method string getLabelIds()
378
 * @method string getWorkspaceId()
379
 */
380
class CreateTrainTask extends Rpc
381
{
382
383
    /**
384
     * @param string $value
385
     *
386
     * @return $this
387
     */
388
    public function withDescription($value)
389
    {
390
        $this->data['Description'] = $value;
391
        $this->options['form_params']['Description'] = $value;
392
393
        return $this;
394
    }
395
396
    /**
397
     * @param string $value
398
     *
399
     * @return $this
400
     */
401
    public function withTrainMode($value)
402
    {
403
        $this->data['TrainMode'] = $value;
404
        $this->options['form_params']['TrainMode'] = $value;
405
406
        return $this;
407
    }
408
409
    /**
410
     * @param string $value
411
     *
412
     * @return $this
413
     */
414
    public function withDatasetIds($value)
415
    {
416
        $this->data['DatasetIds'] = $value;
417
        $this->options['form_params']['DatasetIds'] = $value;
418
419
        return $this;
420
    }
421
422
    /**
423
     * @param string $value
424
     *
425
     * @return $this
426
     */
427
    public function withPreTrainTaskId($value)
428
    {
429
        $this->data['PreTrainTaskId'] = $value;
430
        $this->options['form_params']['PreTrainTaskId'] = $value;
431
432
        return $this;
433
    }
434
435
    /**
436
     * @param string $value
437
     *
438
     * @return $this
439
     */
440
    public function withAdvancedParameters($value)
441
    {
442
        $this->data['AdvancedParameters'] = $value;
443
        $this->options['form_params']['AdvancedParameters'] = $value;
444
445
        return $this;
446
    }
447
448
    /**
449
     * @param string $value
450
     *
451
     * @return $this
452
     */
453
    public function withLabelId($value)
454
    {
455
        $this->data['LabelId'] = $value;
456
        $this->options['form_params']['LabelId'] = $value;
457
458
        return $this;
459
    }
460
461
    /**
462
     * @param string $value
463
     *
464
     * @return $this
465
     */
466
    public function withName($value)
467
    {
468
        $this->data['Name'] = $value;
469
        $this->options['form_params']['Name'] = $value;
470
471
        return $this;
472
    }
473
474
    /**
475
     * @param string $value
476
     *
477
     * @return $this
478
     */
479
    public function withDatasetId($value)
480
    {
481
        $this->data['DatasetId'] = $value;
482
        $this->options['form_params']['DatasetId'] = $value;
483
484
        return $this;
485
    }
486
487
    /**
488
     * @param string $value
489
     *
490
     * @return $this
491
     */
492
    public function withLabelIds($value)
493
    {
494
        $this->data['LabelIds'] = $value;
495
        $this->options['form_params']['LabelIds'] = $value;
496
497
        return $this;
498
    }
499
500
    /**
501
     * @param string $value
502
     *
503
     * @return $this
504
     */
505
    public function withWorkspaceId($value)
506
    {
507
        $this->data['WorkspaceId'] = $value;
508
        $this->options['form_params']['WorkspaceId'] = $value;
509
510
        return $this;
511
    }
512
}
513
514
/**
515
 * @method string getDescription()
516
 * @method string getType()
517
 * @method string getName()
518
 */
519
class CreateWorkspace extends Rpc
520
{
521
522
    /**
523
     * @param string $value
524
     *
525
     * @return $this
526
     */
527
    public function withDescription($value)
528
    {
529
        $this->data['Description'] = $value;
530
        $this->options['form_params']['Description'] = $value;
531
532
        return $this;
533
    }
534
535
    /**
536
     * @param string $value
537
     *
538
     * @return $this
539
     */
540
    public function withType($value)
541
    {
542
        $this->data['Type'] = $value;
543
        $this->options['form_params']['Type'] = $value;
544
545
        return $this;
546
    }
547
548
    /**
549
     * @param string $value
550
     *
551
     * @return $this
552
     */
553
    public function withName($value)
554
    {
555
        $this->data['Name'] = $value;
556
        $this->options['form_params']['Name'] = $value;
557
558
        return $this;
559
    }
560
}
561
562
/**
563
 * @method string getImageUrl()
564
 * @method string getServiceId()
565
 */
566
class CustomizeClassifyImage extends Rpc
567
{
568
569
    /**
570
     * @param string $value
571
     *
572
     * @return $this
573
     */
574
    public function withImageUrl($value)
575
    {
576
        $this->data['ImageUrl'] = $value;
577
        $this->options['form_params']['ImageUrl'] = $value;
578
579
        return $this;
580
    }
581
582
    /**
583
     * @param string $value
584
     *
585
     * @return $this
586
     */
587
    public function withServiceId($value)
588
    {
589
        $this->data['ServiceId'] = $value;
590
        $this->options['form_params']['ServiceId'] = $value;
591
592
        return $this;
593
    }
594
}
595
596
/**
597
 * @method string getImageUrl()
598
 * @method string getServiceId()
599
 */
600
class CustomizeDetectImage extends Rpc
601
{
602
603
    /**
604
     * @param string $value
605
     *
606
     * @return $this
607
     */
608
    public function withImageUrl($value)
609
    {
610
        $this->data['ImageUrl'] = $value;
611
        $this->options['form_params']['ImageUrl'] = $value;
612
613
        return $this;
614
    }
615
616
    /**
617
     * @param string $value
618
     *
619
     * @return $this
620
     */
621
    public function withServiceId($value)
622
    {
623
        $this->data['ServiceId'] = $value;
624
        $this->options['form_params']['ServiceId'] = $value;
625
626
        return $this;
627
    }
628
}
629
630
/**
631
 * @method string getImageUrl()
632
 * @method string getServiceId()
633
 */
634
class CustomizeInstanceSegmentImage extends Rpc
635
{
636
637
    /**
638
     * @param string $value
639
     *
640
     * @return $this
641
     */
642
    public function withImageUrl($value)
643
    {
644
        $this->data['ImageUrl'] = $value;
645
        $this->options['form_params']['ImageUrl'] = $value;
646
647
        return $this;
648
    }
649
650
    /**
651
     * @param string $value
652
     *
653
     * @return $this
654
     */
655
    public function withServiceId($value)
656
    {
657
        $this->data['ServiceId'] = $value;
658
        $this->options['form_params']['ServiceId'] = $value;
659
660
        return $this;
661
    }
662
}
663
664
/**
665
 * @method string getParam()
666
 * @method string getId()
667
 */
668
class DebugService extends Rpc
669
{
670
671
    /**
672
     * @param string $value
673
     *
674
     * @return $this
675
     */
676
    public function withParam($value)
677
    {
678
        $this->data['Param'] = $value;
679
        $this->options['form_params']['Param'] = $value;
680
681
        return $this;
682
    }
683
684
    /**
685
     * @param string $value
686
     *
687
     * @return $this
688
     */
689
    public function withId($value)
690
    {
691
        $this->data['Id'] = $value;
692
        $this->options['form_params']['Id'] = $value;
693
694
        return $this;
695
    }
696
}
697
698
/**
699
 * @method string getId()
700
 * @method string getServiceId()
701
 */
702
class DeleteDataReflowData extends Rpc
703
{
704
705
    /**
706
     * @param string $value
707
     *
708
     * @return $this
709
     */
710
    public function withId($value)
711
    {
712
        $this->data['Id'] = $value;
713
        $this->options['form_params']['Id'] = $value;
714
715
        return $this;
716
    }
717
718
    /**
719
     * @param string $value
720
     *
721
     * @return $this
722
     */
723
    public function withServiceId($value)
724
    {
725
        $this->data['ServiceId'] = $value;
726
        $this->options['form_params']['ServiceId'] = $value;
727
728
        return $this;
729
    }
730
}
731
732
/**
733
 * @method string getId()
734
 */
735
class DeleteDataset extends Rpc
736
{
737
738
    /**
739
     * @param string $value
740
     *
741
     * @return $this
742
     */
743
    public function withId($value)
744
    {
745
        $this->data['Id'] = $value;
746
        $this->options['form_params']['Id'] = $value;
747
748
        return $this;
749
    }
750
}
751
752
/**
753
 * @method string getId()
754
 */
755
class DeleteLabelset extends Rpc
756
{
757
758
    /**
759
     * @param string $value
760
     *
761
     * @return $this
762
     */
763
    public function withId($value)
764
    {
765
        $this->data['Id'] = $value;
766
        $this->options['form_params']['Id'] = $value;
767
768
        return $this;
769
    }
770
}
771
772
/**
773
 * @method string getId()
774
 * @method string getLabelId()
775
 */
776
class DeleteLabelsetData extends Rpc
777
{
778
779
    /**
780
     * @param string $value
781
     *
782
     * @return $this
783
     */
784
    public function withId($value)
785
    {
786
        $this->data['Id'] = $value;
787
        $this->options['form_params']['Id'] = $value;
788
789
        return $this;
790
    }
791
792
    /**
793
     * @param string $value
794
     *
795
     * @return $this
796
     */
797
    public function withLabelId($value)
798
    {
799
        $this->data['LabelId'] = $value;
800
        $this->options['form_params']['LabelId'] = $value;
801
802
        return $this;
803
    }
804
}
805
806
/**
807
 * @method string getId()
808
 */
809
class DeleteService extends Rpc
810
{
811
812
    /**
813
     * @param string $value
814
     *
815
     * @return $this
816
     */
817
    public function withId($value)
818
    {
819
        $this->data['Id'] = $value;
820
        $this->options['form_params']['Id'] = $value;
821
822
        return $this;
823
    }
824
}
825
826
/**
827
 * @method string getId()
828
 */
829
class DeleteTrainTask extends Rpc
830
{
831
832
    /**
833
     * @param string $value
834
     *
835
     * @return $this
836
     */
837
    public function withId($value)
838
    {
839
        $this->data['Id'] = $value;
840
        $this->options['form_params']['Id'] = $value;
841
842
        return $this;
843
    }
844
}
845
846
/**
847
 * @method string getId()
848
 */
849
class DeleteWorkspace extends Rpc
850
{
851
852
    /**
853
     * @param string $value
854
     *
855
     * @return $this
856
     */
857
    public function withId($value)
858
    {
859
        $this->data['Id'] = $value;
860
        $this->options['form_params']['Id'] = $value;
861
862
        return $this;
863
    }
864
}
865
866
/**
867
 * @method string getServiceId()
868
 */
869
class DisableDataReflow extends Rpc
870
{
871
872
    /**
873
     * @param string $value
874
     *
875
     * @return $this
876
     */
877
    public function withServiceId($value)
878
    {
879
        $this->data['ServiceId'] = $value;
880
        $this->options['form_params']['ServiceId'] = $value;
881
882
        return $this;
883
    }
884
}
885
886
/**
887
 * @method string getIdentity()
888
 * @method string getDatasetId()
889
 */
890
class DownloadFileNameList extends Rpc
891
{
892
893
    /**
894
     * @param string $value
895
     *
896
     * @return $this
897
     */
898
    public function withIdentity($value)
899
    {
900
        $this->data['Identity'] = $value;
901
        $this->options['form_params']['Identity'] = $value;
902
903
        return $this;
904
    }
905
906
    /**
907
     * @param string $value
908
     *
909
     * @return $this
910
     */
911
    public function withDatasetId($value)
912
    {
913
        $this->data['DatasetId'] = $value;
914
        $this->options['form_params']['DatasetId'] = $value;
915
916
        return $this;
917
    }
918
}
919
920
/**
921
 * @method string getLabelId()
922
 */
923
class DownloadLabelFile extends Rpc
924
{
925
926
    /**
927
     * @param string $value
928
     *
929
     * @return $this
930
     */
931
    public function withLabelId($value)
932
    {
933
        $this->data['LabelId'] = $value;
934
        $this->options['form_params']['LabelId'] = $value;
935
936
        return $this;
937
    }
938
}
939
940
/**
941
 * @method string getDataReflowRate()
942
 * @method string getDataReflowOssPath()
943
 * @method string getServiceId()
944
 */
945
class EnableDataReflow extends Rpc
946
{
947
948
    /**
949
     * @param string $value
950
     *
951
     * @return $this
952
     */
953
    public function withDataReflowRate($value)
954
    {
955
        $this->data['DataReflowRate'] = $value;
956
        $this->options['form_params']['DataReflowRate'] = $value;
957
958
        return $this;
959
    }
960
961
    /**
962
     * @param string $value
963
     *
964
     * @return $this
965
     */
966
    public function withDataReflowOssPath($value)
967
    {
968
        $this->data['DataReflowOssPath'] = $value;
969
        $this->options['form_params']['DataReflowOssPath'] = $value;
970
971
        return $this;
972
    }
973
974
    /**
975
     * @param string $value
976
     *
977
     * @return $this
978
     */
979
    public function withServiceId($value)
980
    {
981
        $this->data['ServiceId'] = $value;
982
        $this->options['form_params']['ServiceId'] = $value;
983
984
        return $this;
985
    }
986
}
987
988
/**
989
 * @method string getFileType()
990
 * @method string getStartTime()
991
 * @method string getImageName()
992
 * @method string getEndTime()
993
 * @method string getServiceId()
994
 * @method string getCategory()
995
 */
996
class ExportDataReflowDataList extends Rpc
997
{
998
999
    /**
1000
     * @param string $value
1001
     *
1002
     * @return $this
1003
     */
1004
    public function withFileType($value)
1005
    {
1006
        $this->data['FileType'] = $value;
1007
        $this->options['form_params']['FileType'] = $value;
1008
1009
        return $this;
1010
    }
1011
1012
    /**
1013
     * @param string $value
1014
     *
1015
     * @return $this
1016
     */
1017
    public function withStartTime($value)
1018
    {
1019
        $this->data['StartTime'] = $value;
1020
        $this->options['form_params']['StartTime'] = $value;
1021
1022
        return $this;
1023
    }
1024
1025
    /**
1026
     * @param string $value
1027
     *
1028
     * @return $this
1029
     */
1030
    public function withImageName($value)
1031
    {
1032
        $this->data['ImageName'] = $value;
1033
        $this->options['form_params']['ImageName'] = $value;
1034
1035
        return $this;
1036
    }
1037
1038
    /**
1039
     * @param string $value
1040
     *
1041
     * @return $this
1042
     */
1043
    public function withEndTime($value)
1044
    {
1045
        $this->data['EndTime'] = $value;
1046
        $this->options['form_params']['EndTime'] = $value;
1047
1048
        return $this;
1049
    }
1050
1051
    /**
1052
     * @param string $value
1053
     *
1054
     * @return $this
1055
     */
1056
    public function withServiceId($value)
1057
    {
1058
        $this->data['ServiceId'] = $value;
1059
        $this->options['form_params']['ServiceId'] = $value;
1060
1061
        return $this;
1062
    }
1063
1064
    /**
1065
     * @param string $value
1066
     *
1067
     * @return $this
1068
     */
1069
    public function withCategory($value)
1070
    {
1071
        $this->data['Category'] = $value;
1072
        $this->options['form_params']['Category'] = $value;
1073
1074
        return $this;
1075
    }
1076
}
1077
1078
/**
1079
 * @method string getId()
1080
 */
1081
class GetDataset extends Rpc
1082
{
1083
1084
    /**
1085
     * @param string $value
1086
     *
1087
     * @return $this
1088
     */
1089
    public function withId($value)
1090
    {
1091
        $this->data['Id'] = $value;
1092
        $this->options['form_params']['Id'] = $value;
1093
1094
        return $this;
1095
    }
1096
}
1097
1098
/**
1099
 * @method string getLabelsetId()
1100
 */
1101
class GetDiffCountLabelsetAndDataset extends Rpc
1102
{
1103
1104
    /**
1105
     * @param string $value
1106
     *
1107
     * @return $this
1108
     */
1109
    public function withLabelsetId($value)
1110
    {
1111
        $this->data['LabelsetId'] = $value;
1112
        $this->options['form_params']['LabelsetId'] = $value;
1113
1114
        return $this;
1115
    }
1116
}
1117
1118
/**
1119
 * @method string getId()
1120
 */
1121
class GetLabelDetail extends Rpc
1122
{
1123
1124
    /**
1125
     * @param string $value
1126
     *
1127
     * @return $this
1128
     */
1129
    public function withId($value)
1130
    {
1131
        $this->data['Id'] = $value;
1132
        $this->options['form_params']['Id'] = $value;
1133
1134
        return $this;
1135
    }
1136
}
1137
1138
/**
1139
 * @method string getId()
1140
 */
1141
class GetLabelset extends Rpc
1142
{
1143
1144
    /**
1145
     * @param string $value
1146
     *
1147
     * @return $this
1148
     */
1149
    public function withId($value)
1150
    {
1151
        $this->data['Id'] = $value;
1152
        $this->options['form_params']['Id'] = $value;
1153
1154
        return $this;
1155
    }
1156
}
1157
1158
/**
1159
 * @method string getId()
1160
 */
1161
class GetService extends Rpc
1162
{
1163
1164
    /**
1165
     * @param string $value
1166
     *
1167
     * @return $this
1168
     */
1169
    public function withId($value)
1170
    {
1171
        $this->data['Id'] = $value;
1172
        $this->options['form_params']['Id'] = $value;
1173
1174
        return $this;
1175
    }
1176
}
1177
1178
/**
1179
 * @method string getId()
1180
 */
1181
class GetTrainModel extends Rpc
1182
{
1183
1184
    /**
1185
     * @param string $value
1186
     *
1187
     * @return $this
1188
     */
1189
    public function withId($value)
1190
    {
1191
        $this->data['Id'] = $value;
1192
        $this->options['form_params']['Id'] = $value;
1193
1194
        return $this;
1195
    }
1196
}
1197
1198
/**
1199
 * @method string getId()
1200
 */
1201
class GetTrainTask extends Rpc
1202
{
1203
1204
    /**
1205
     * @param string $value
1206
     *
1207
     * @return $this
1208
     */
1209
    public function withId($value)
1210
    {
1211
        $this->data['Id'] = $value;
1212
        $this->options['form_params']['Id'] = $value;
1213
1214
        return $this;
1215
    }
1216
}
1217
1218
/**
1219
 * @method string getId()
1220
 */
1221
class GetTrainTaskEstimatedTime extends Rpc
1222
{
1223
1224
    /**
1225
     * @param string $value
1226
     *
1227
     * @return $this
1228
     */
1229
    public function withId($value)
1230
    {
1231
        $this->data['Id'] = $value;
1232
        $this->options['form_params']['Id'] = $value;
1233
1234
        return $this;
1235
    }
1236
}
1237
1238
/**
1239
 * @method string getType()
1240
 * @method string getId()
1241
 * @method string getFileName()
1242
 */
1243
class GetUploadPolicy extends Rpc
1244
{
1245
1246
    /**
1247
     * @param string $value
1248
     *
1249
     * @return $this
1250
     */
1251
    public function withType($value)
1252
    {
1253
        $this->data['Type'] = $value;
1254
        $this->options['form_params']['Type'] = $value;
1255
1256
        return $this;
1257
    }
1258
1259
    /**
1260
     * @param string $value
1261
     *
1262
     * @return $this
1263
     */
1264
    public function withId($value)
1265
    {
1266
        $this->data['Id'] = $value;
1267
        $this->options['form_params']['Id'] = $value;
1268
1269
        return $this;
1270
    }
1271
1272
    /**
1273
     * @param string $value
1274
     *
1275
     * @return $this
1276
     */
1277
    public function withFileName($value)
1278
    {
1279
        $this->data['FileName'] = $value;
1280
        $this->options['form_params']['FileName'] = $value;
1281
1282
        return $this;
1283
    }
1284
}
1285
1286
/**
1287
 * @method string getId()
1288
 */
1289
class GetWorkspace extends Rpc
1290
{
1291
1292
    /**
1293
     * @param string $value
1294
     *
1295
     * @return $this
1296
     */
1297
    public function withId($value)
1298
    {
1299
        $this->data['Id'] = $value;
1300
        $this->options['form_params']['Id'] = $value;
1301
1302
        return $this;
1303
    }
1304
}
1305
1306
/**
1307
 * @method string getStartTime()
1308
 * @method string getImageName()
1309
 * @method string getPageSize()
1310
 * @method string getEndTime()
1311
 * @method string getCurrentPage()
1312
 * @method string getServiceId()
1313
 * @method string getCategory()
1314
 */
1315
class ListDataReflowDatas extends Rpc
1316
{
1317
1318
    /**
1319
     * @param string $value
1320
     *
1321
     * @return $this
1322
     */
1323
    public function withStartTime($value)
1324
    {
1325
        $this->data['StartTime'] = $value;
1326
        $this->options['form_params']['StartTime'] = $value;
1327
1328
        return $this;
1329
    }
1330
1331
    /**
1332
     * @param string $value
1333
     *
1334
     * @return $this
1335
     */
1336
    public function withImageName($value)
1337
    {
1338
        $this->data['ImageName'] = $value;
1339
        $this->options['form_params']['ImageName'] = $value;
1340
1341
        return $this;
1342
    }
1343
1344
    /**
1345
     * @param string $value
1346
     *
1347
     * @return $this
1348
     */
1349
    public function withPageSize($value)
1350
    {
1351
        $this->data['PageSize'] = $value;
1352
        $this->options['form_params']['PageSize'] = $value;
1353
1354
        return $this;
1355
    }
1356
1357
    /**
1358
     * @param string $value
1359
     *
1360
     * @return $this
1361
     */
1362
    public function withEndTime($value)
1363
    {
1364
        $this->data['EndTime'] = $value;
1365
        $this->options['form_params']['EndTime'] = $value;
1366
1367
        return $this;
1368
    }
1369
1370
    /**
1371
     * @param string $value
1372
     *
1373
     * @return $this
1374
     */
1375
    public function withCurrentPage($value)
1376
    {
1377
        $this->data['CurrentPage'] = $value;
1378
        $this->options['form_params']['CurrentPage'] = $value;
1379
1380
        return $this;
1381
    }
1382
1383
    /**
1384
     * @param string $value
1385
     *
1386
     * @return $this
1387
     */
1388
    public function withServiceId($value)
1389
    {
1390
        $this->data['ServiceId'] = $value;
1391
        $this->options['form_params']['ServiceId'] = $value;
1392
1393
        return $this;
1394
    }
1395
1396
    /**
1397
     * @param string $value
1398
     *
1399
     * @return $this
1400
     */
1401
    public function withCategory($value)
1402
    {
1403
        $this->data['Category'] = $value;
1404
        $this->options['form_params']['Category'] = $value;
1405
1406
        return $this;
1407
    }
1408
}
1409
1410
/**
1411
 * @method string getIdentity()
1412
 * @method string getPageSize()
1413
 * @method string getCurrentPage()
1414
 * @method string getDatasetId()
1415
 */
1416
class ListDatasetDatas extends Rpc
1417
{
1418
1419
    /**
1420
     * @param string $value
1421
     *
1422
     * @return $this
1423
     */
1424
    public function withIdentity($value)
1425
    {
1426
        $this->data['Identity'] = $value;
1427
        $this->options['form_params']['Identity'] = $value;
1428
1429
        return $this;
1430
    }
1431
1432
    /**
1433
     * @param string $value
1434
     *
1435
     * @return $this
1436
     */
1437
    public function withPageSize($value)
1438
    {
1439
        $this->data['PageSize'] = $value;
1440
        $this->options['form_params']['PageSize'] = $value;
1441
1442
        return $this;
1443
    }
1444
1445
    /**
1446
     * @param string $value
1447
     *
1448
     * @return $this
1449
     */
1450
    public function withCurrentPage($value)
1451
    {
1452
        $this->data['CurrentPage'] = $value;
1453
        $this->options['form_params']['CurrentPage'] = $value;
1454
1455
        return $this;
1456
    }
1457
1458
    /**
1459
     * @param string $value
1460
     *
1461
     * @return $this
1462
     */
1463
    public function withDatasetId($value)
1464
    {
1465
        $this->data['DatasetId'] = $value;
1466
        $this->options['form_params']['DatasetId'] = $value;
1467
1468
        return $this;
1469
    }
1470
}
1471
1472
/**
1473
 * @method string getPageSize()
1474
 * @method string getCurrentPage()
1475
 * @method string getWorkspaceId()
1476
 */
1477
class ListDatasets extends Rpc
1478
{
1479
1480
    /**
1481
     * @param string $value
1482
     *
1483
     * @return $this
1484
     */
1485
    public function withPageSize($value)
1486
    {
1487
        $this->data['PageSize'] = $value;
1488
        $this->options['form_params']['PageSize'] = $value;
1489
1490
        return $this;
1491
    }
1492
1493
    /**
1494
     * @param string $value
1495
     *
1496
     * @return $this
1497
     */
1498
    public function withCurrentPage($value)
1499
    {
1500
        $this->data['CurrentPage'] = $value;
1501
        $this->options['form_params']['CurrentPage'] = $value;
1502
1503
        return $this;
1504
    }
1505
1506
    /**
1507
     * @param string $value
1508
     *
1509
     * @return $this
1510
     */
1511
    public function withWorkspaceId($value)
1512
    {
1513
        $this->data['WorkspaceId'] = $value;
1514
        $this->options['form_params']['WorkspaceId'] = $value;
1515
1516
        return $this;
1517
    }
1518
}
1519
1520
/**
1521
 * @method string getPageSize()
1522
 * @method string getValue()
1523
 * @method string getCurrentPage()
1524
 * @method string getIsAbandon()
1525
 * @method string getLabelId()
1526
 * @method string getName()
1527
 * @method string getOperation()
1528
 */
1529
class ListLabelsetDatas extends Rpc
1530
{
1531
1532
    /**
1533
     * @param string $value
1534
     *
1535
     * @return $this
1536
     */
1537
    public function withPageSize($value)
1538
    {
1539
        $this->data['PageSize'] = $value;
1540
        $this->options['form_params']['PageSize'] = $value;
1541
1542
        return $this;
1543
    }
1544
1545
    /**
1546
     * @param string $value
1547
     *
1548
     * @return $this
1549
     */
1550
    public function withValue($value)
1551
    {
1552
        $this->data['Value'] = $value;
1553
        $this->options['form_params']['Value'] = $value;
1554
1555
        return $this;
1556
    }
1557
1558
    /**
1559
     * @param string $value
1560
     *
1561
     * @return $this
1562
     */
1563
    public function withCurrentPage($value)
1564
    {
1565
        $this->data['CurrentPage'] = $value;
1566
        $this->options['form_params']['CurrentPage'] = $value;
1567
1568
        return $this;
1569
    }
1570
1571
    /**
1572
     * @param string $value
1573
     *
1574
     * @return $this
1575
     */
1576
    public function withIsAbandon($value)
1577
    {
1578
        $this->data['IsAbandon'] = $value;
1579
        $this->options['form_params']['IsAbandon'] = $value;
1580
1581
        return $this;
1582
    }
1583
1584
    /**
1585
     * @param string $value
1586
     *
1587
     * @return $this
1588
     */
1589
    public function withLabelId($value)
1590
    {
1591
        $this->data['LabelId'] = $value;
1592
        $this->options['form_params']['LabelId'] = $value;
1593
1594
        return $this;
1595
    }
1596
1597
    /**
1598
     * @param string $value
1599
     *
1600
     * @return $this
1601
     */
1602
    public function withName($value)
1603
    {
1604
        $this->data['Name'] = $value;
1605
        $this->options['form_params']['Name'] = $value;
1606
1607
        return $this;
1608
    }
1609
1610
    /**
1611
     * @param string $value
1612
     *
1613
     * @return $this
1614
     */
1615
    public function withOperation($value)
1616
    {
1617
        $this->data['Operation'] = $value;
1618
        $this->options['form_params']['Operation'] = $value;
1619
1620
        return $this;
1621
    }
1622
}
1623
1624
/**
1625
 * @method string getPageSize()
1626
 * @method string getCurrentPage()
1627
 * @method string getDatasetId()
1628
 * @method string getStatus()
1629
 */
1630
class ListLabelsets extends Rpc
1631
{
1632
1633
    /**
1634
     * @param string $value
1635
     *
1636
     * @return $this
1637
     */
1638
    public function withPageSize($value)
1639
    {
1640
        $this->data['PageSize'] = $value;
1641
        $this->options['form_params']['PageSize'] = $value;
1642
1643
        return $this;
1644
    }
1645
1646
    /**
1647
     * @param string $value
1648
     *
1649
     * @return $this
1650
     */
1651
    public function withCurrentPage($value)
1652
    {
1653
        $this->data['CurrentPage'] = $value;
1654
        $this->options['form_params']['CurrentPage'] = $value;
1655
1656
        return $this;
1657
    }
1658
1659
    /**
1660
     * @param string $value
1661
     *
1662
     * @return $this
1663
     */
1664
    public function withDatasetId($value)
1665
    {
1666
        $this->data['DatasetId'] = $value;
1667
        $this->options['form_params']['DatasetId'] = $value;
1668
1669
        return $this;
1670
    }
1671
1672
    /**
1673
     * @param string $value
1674
     *
1675
     * @return $this
1676
     */
1677
    public function withStatus($value)
1678
    {
1679
        $this->data['Status'] = $value;
1680
        $this->options['form_params']['Status'] = $value;
1681
1682
        return $this;
1683
    }
1684
}
1685
1686
/**
1687
 * @method string getPageSize()
1688
 * @method string getId()
1689
 * @method string getCurrentPage()
1690
 * @method string getName()
1691
 * @method string getWorkspaceId()
1692
 */
1693
class ListServices extends Rpc
1694
{
1695
1696
    /**
1697
     * @param string $value
1698
     *
1699
     * @return $this
1700
     */
1701
    public function withPageSize($value)
1702
    {
1703
        $this->data['PageSize'] = $value;
1704
        $this->options['form_params']['PageSize'] = $value;
1705
1706
        return $this;
1707
    }
1708
1709
    /**
1710
     * @param string $value
1711
     *
1712
     * @return $this
1713
     */
1714
    public function withId($value)
1715
    {
1716
        $this->data['Id'] = $value;
1717
        $this->options['form_params']['Id'] = $value;
1718
1719
        return $this;
1720
    }
1721
1722
    /**
1723
     * @param string $value
1724
     *
1725
     * @return $this
1726
     */
1727
    public function withCurrentPage($value)
1728
    {
1729
        $this->data['CurrentPage'] = $value;
1730
        $this->options['form_params']['CurrentPage'] = $value;
1731
1732
        return $this;
1733
    }
1734
1735
    /**
1736
     * @param string $value
1737
     *
1738
     * @return $this
1739
     */
1740
    public function withName($value)
1741
    {
1742
        $this->data['Name'] = $value;
1743
        $this->options['form_params']['Name'] = $value;
1744
1745
        return $this;
1746
    }
1747
1748
    /**
1749
     * @param string $value
1750
     *
1751
     * @return $this
1752
     */
1753
    public function withWorkspaceId($value)
1754
    {
1755
        $this->data['WorkspaceId'] = $value;
1756
        $this->options['form_params']['WorkspaceId'] = $value;
1757
1758
        return $this;
1759
    }
1760
}
1761
1762
/**
1763
 * @method string getPageSize()
1764
 * @method string getCurrentPage()
1765
 * @method string getStatus()
1766
 * @method string getWorkspaceId()
1767
 */
1768
class ListTrainTasks extends Rpc
1769
{
1770
1771
    /**
1772
     * @param string $value
1773
     *
1774
     * @return $this
1775
     */
1776
    public function withPageSize($value)
1777
    {
1778
        $this->data['PageSize'] = $value;
1779
        $this->options['form_params']['PageSize'] = $value;
1780
1781
        return $this;
1782
    }
1783
1784
    /**
1785
     * @param string $value
1786
     *
1787
     * @return $this
1788
     */
1789
    public function withCurrentPage($value)
1790
    {
1791
        $this->data['CurrentPage'] = $value;
1792
        $this->options['form_params']['CurrentPage'] = $value;
1793
1794
        return $this;
1795
    }
1796
1797
    /**
1798
     * @param string $value
1799
     *
1800
     * @return $this
1801
     */
1802
    public function withStatus($value)
1803
    {
1804
        $this->data['Status'] = $value;
1805
        $this->options['form_params']['Status'] = $value;
1806
1807
        return $this;
1808
    }
1809
1810
    /**
1811
     * @param string $value
1812
     *
1813
     * @return $this
1814
     */
1815
    public function withWorkspaceId($value)
1816
    {
1817
        $this->data['WorkspaceId'] = $value;
1818
        $this->options['form_params']['WorkspaceId'] = $value;
1819
1820
        return $this;
1821
    }
1822
}
1823
1824
/**
1825
 * @method string getPageSize()
1826
 * @method string getCurrentPage()
1827
 * @method string getName()
1828
 */
1829
class ListWorkspaces extends Rpc
1830
{
1831
1832
    /**
1833
     * @param string $value
1834
     *
1835
     * @return $this
1836
     */
1837
    public function withPageSize($value)
1838
    {
1839
        $this->data['PageSize'] = $value;
1840
        $this->options['form_params']['PageSize'] = $value;
1841
1842
        return $this;
1843
    }
1844
1845
    /**
1846
     * @param string $value
1847
     *
1848
     * @return $this
1849
     */
1850
    public function withCurrentPage($value)
1851
    {
1852
        $this->data['CurrentPage'] = $value;
1853
        $this->options['form_params']['CurrentPage'] = $value;
1854
1855
        return $this;
1856
    }
1857
1858
    /**
1859
     * @param string $value
1860
     *
1861
     * @return $this
1862
     */
1863
    public function withName($value)
1864
    {
1865
        $this->data['Name'] = $value;
1866
        $this->options['form_params']['Name'] = $value;
1867
1868
        return $this;
1869
    }
1870
}
1871
1872
/**
1873
 * @method string getUserOssUrl()
1874
 * @method string getDatasetId()
1875
 */
1876
class SetDatasetUserOssPath extends Rpc
1877
{
1878
1879
    /**
1880
     * @param string $value
1881
     *
1882
     * @return $this
1883
     */
1884
    public function withUserOssUrl($value)
1885
    {
1886
        $this->data['UserOssUrl'] = $value;
1887
        $this->options['form_params']['UserOssUrl'] = $value;
1888
1889
        return $this;
1890
    }
1891
1892
    /**
1893
     * @param string $value
1894
     *
1895
     * @return $this
1896
     */
1897
    public function withDatasetId($value)
1898
    {
1899
        $this->data['DatasetId'] = $value;
1900
        $this->options['form_params']['DatasetId'] = $value;
1901
1902
        return $this;
1903
    }
1904
}
1905
1906
/**
1907
 * @method string getId()
1908
 */
1909
class StartService extends Rpc
1910
{
1911
1912
    /**
1913
     * @param string $value
1914
     *
1915
     * @return $this
1916
     */
1917
    public function withId($value)
1918
    {
1919
        $this->data['Id'] = $value;
1920
        $this->options['form_params']['Id'] = $value;
1921
1922
        return $this;
1923
    }
1924
}
1925
1926
/**
1927
 * @method string getRelyOnTaskId()
1928
 * @method string getForceStartFlag()
1929
 * @method string getId()
1930
 */
1931
class StartTrainTask extends Rpc
1932
{
1933
1934
    /**
1935
     * @param string $value
1936
     *
1937
     * @return $this
1938
     */
1939
    public function withRelyOnTaskId($value)
1940
    {
1941
        $this->data['RelyOnTaskId'] = $value;
1942
        $this->options['form_params']['RelyOnTaskId'] = $value;
1943
1944
        return $this;
1945
    }
1946
1947
    /**
1948
     * @param string $value
1949
     *
1950
     * @return $this
1951
     */
1952
    public function withForceStartFlag($value)
1953
    {
1954
        $this->data['ForceStartFlag'] = $value;
1955
        $this->options['form_params']['ForceStartFlag'] = $value;
1956
1957
        return $this;
1958
    }
1959
1960
    /**
1961
     * @param string $value
1962
     *
1963
     * @return $this
1964
     */
1965
    public function withId($value)
1966
    {
1967
        $this->data['Id'] = $value;
1968
        $this->options['form_params']['Id'] = $value;
1969
1970
        return $this;
1971
    }
1972
}
1973
1974
/**
1975
 * @method string getId()
1976
 */
1977
class StopService extends Rpc
1978
{
1979
1980
    /**
1981
     * @param string $value
1982
     *
1983
     * @return $this
1984
     */
1985
    public function withId($value)
1986
    {
1987
        $this->data['Id'] = $value;
1988
        $this->options['form_params']['Id'] = $value;
1989
1990
        return $this;
1991
    }
1992
}
1993
1994
/**
1995
 * @method string getId()
1996
 */
1997
class StopTrainTask extends Rpc
1998
{
1999
2000
    /**
2001
     * @param string $value
2002
     *
2003
     * @return $this
2004
     */
2005
    public function withId($value)
2006
    {
2007
        $this->data['Id'] = $value;
2008
        $this->options['form_params']['Id'] = $value;
2009
2010
        return $this;
2011
    }
2012
}
2013
2014
/**
2015
 * @method string getDescription()
2016
 * @method string getId()
2017
 * @method string getName()
2018
 */
2019
class UpdateDataset extends Rpc
2020
{
2021
2022
    /**
2023
     * @param string $value
2024
     *
2025
     * @return $this
2026
     */
2027
    public function withDescription($value)
2028
    {
2029
        $this->data['Description'] = $value;
2030
        $this->options['form_params']['Description'] = $value;
2031
2032
        return $this;
2033
    }
2034
2035
    /**
2036
     * @param string $value
2037
     *
2038
     * @return $this
2039
     */
2040
    public function withId($value)
2041
    {
2042
        $this->data['Id'] = $value;
2043
        $this->options['form_params']['Id'] = $value;
2044
2045
        return $this;
2046
    }
2047
2048
    /**
2049
     * @param string $value
2050
     *
2051
     * @return $this
2052
     */
2053
    public function withName($value)
2054
    {
2055
        $this->data['Name'] = $value;
2056
        $this->options['form_params']['Name'] = $value;
2057
2058
        return $this;
2059
    }
2060
}
2061
2062
/**
2063
 * @method string getDescription()
2064
 * @method string getId()
2065
 * @method string getTagUserList()
2066
 * @method string getUserOssUrl()
2067
 * @method string getObjectKey()
2068
 * @method string getName()
2069
 */
2070
class UpdateLabelset extends Rpc
2071
{
2072
2073
    /**
2074
     * @param string $value
2075
     *
2076
     * @return $this
2077
     */
2078
    public function withDescription($value)
2079
    {
2080
        $this->data['Description'] = $value;
2081
        $this->options['form_params']['Description'] = $value;
2082
2083
        return $this;
2084
    }
2085
2086
    /**
2087
     * @param string $value
2088
     *
2089
     * @return $this
2090
     */
2091
    public function withId($value)
2092
    {
2093
        $this->data['Id'] = $value;
2094
        $this->options['form_params']['Id'] = $value;
2095
2096
        return $this;
2097
    }
2098
2099
    /**
2100
     * @param string $value
2101
     *
2102
     * @return $this
2103
     */
2104
    public function withTagUserList($value)
2105
    {
2106
        $this->data['TagUserList'] = $value;
2107
        $this->options['form_params']['TagUserList'] = $value;
2108
2109
        return $this;
2110
    }
2111
2112
    /**
2113
     * @param string $value
2114
     *
2115
     * @return $this
2116
     */
2117
    public function withUserOssUrl($value)
2118
    {
2119
        $this->data['UserOssUrl'] = $value;
2120
        $this->options['form_params']['UserOssUrl'] = $value;
2121
2122
        return $this;
2123
    }
2124
2125
    /**
2126
     * @param string $value
2127
     *
2128
     * @return $this
2129
     */
2130
    public function withObjectKey($value)
2131
    {
2132
        $this->data['ObjectKey'] = $value;
2133
        $this->options['form_params']['ObjectKey'] = $value;
2134
2135
        return $this;
2136
    }
2137
2138
    /**
2139
     * @param string $value
2140
     *
2141
     * @return $this
2142
     */
2143
    public function withName($value)
2144
    {
2145
        $this->data['Name'] = $value;
2146
        $this->options['form_params']['Name'] = $value;
2147
2148
        return $this;
2149
    }
2150
}
2151
2152
/**
2153
 * @method string getDescription()
2154
 * @method string getId()
2155
 * @method string getAuthorizationType()
2156
 * @method string getName()
2157
 * @method string getAuthorizedAccount()
2158
 */
2159
class UpdateService extends Rpc
2160
{
2161
2162
    /**
2163
     * @param string $value
2164
     *
2165
     * @return $this
2166
     */
2167
    public function withDescription($value)
2168
    {
2169
        $this->data['Description'] = $value;
2170
        $this->options['form_params']['Description'] = $value;
2171
2172
        return $this;
2173
    }
2174
2175
    /**
2176
     * @param string $value
2177
     *
2178
     * @return $this
2179
     */
2180
    public function withId($value)
2181
    {
2182
        $this->data['Id'] = $value;
2183
        $this->options['form_params']['Id'] = $value;
2184
2185
        return $this;
2186
    }
2187
2188
    /**
2189
     * @param string $value
2190
     *
2191
     * @return $this
2192
     */
2193
    public function withAuthorizationType($value)
2194
    {
2195
        $this->data['AuthorizationType'] = $value;
2196
        $this->options['form_params']['AuthorizationType'] = $value;
2197
2198
        return $this;
2199
    }
2200
2201
    /**
2202
     * @param string $value
2203
     *
2204
     * @return $this
2205
     */
2206
    public function withName($value)
2207
    {
2208
        $this->data['Name'] = $value;
2209
        $this->options['form_params']['Name'] = $value;
2210
2211
        return $this;
2212
    }
2213
2214
    /**
2215
     * @param string $value
2216
     *
2217
     * @return $this
2218
     */
2219
    public function withAuthorizedAccount($value)
2220
    {
2221
        $this->data['AuthorizedAccount'] = $value;
2222
        $this->options['form_params']['AuthorizedAccount'] = $value;
2223
2224
        return $this;
2225
    }
2226
}
2227
2228
/**
2229
 * @method string getDescription()
2230
 * @method string getTrainMode()
2231
 * @method string getId()
2232
 * @method string getDatasetIds()
2233
 * @method string getPreTrainTaskId()
2234
 * @method string getPreTrainTaskFlag()
2235
 * @method string getAdvancedParameters()
2236
 * @method string getLabelId()
2237
 * @method string getName()
2238
 * @method string getDatasetId()
2239
 * @method string getLabelIds()
2240
 */
2241
class UpdateTrainTask extends Rpc
2242
{
2243
2244
    /**
2245
     * @param string $value
2246
     *
2247
     * @return $this
2248
     */
2249
    public function withDescription($value)
2250
    {
2251
        $this->data['Description'] = $value;
2252
        $this->options['form_params']['Description'] = $value;
2253
2254
        return $this;
2255
    }
2256
2257
    /**
2258
     * @param string $value
2259
     *
2260
     * @return $this
2261
     */
2262
    public function withTrainMode($value)
2263
    {
2264
        $this->data['TrainMode'] = $value;
2265
        $this->options['form_params']['TrainMode'] = $value;
2266
2267
        return $this;
2268
    }
2269
2270
    /**
2271
     * @param string $value
2272
     *
2273
     * @return $this
2274
     */
2275
    public function withId($value)
2276
    {
2277
        $this->data['Id'] = $value;
2278
        $this->options['form_params']['Id'] = $value;
2279
2280
        return $this;
2281
    }
2282
2283
    /**
2284
     * @param string $value
2285
     *
2286
     * @return $this
2287
     */
2288
    public function withDatasetIds($value)
2289
    {
2290
        $this->data['DatasetIds'] = $value;
2291
        $this->options['form_params']['DatasetIds'] = $value;
2292
2293
        return $this;
2294
    }
2295
2296
    /**
2297
     * @param string $value
2298
     *
2299
     * @return $this
2300
     */
2301
    public function withPreTrainTaskId($value)
2302
    {
2303
        $this->data['PreTrainTaskId'] = $value;
2304
        $this->options['form_params']['PreTrainTaskId'] = $value;
2305
2306
        return $this;
2307
    }
2308
2309
    /**
2310
     * @param string $value
2311
     *
2312
     * @return $this
2313
     */
2314
    public function withPreTrainTaskFlag($value)
2315
    {
2316
        $this->data['PreTrainTaskFlag'] = $value;
2317
        $this->options['form_params']['PreTrainTaskFlag'] = $value;
2318
2319
        return $this;
2320
    }
2321
2322
    /**
2323
     * @param string $value
2324
     *
2325
     * @return $this
2326
     */
2327
    public function withAdvancedParameters($value)
2328
    {
2329
        $this->data['AdvancedParameters'] = $value;
2330
        $this->options['form_params']['AdvancedParameters'] = $value;
2331
2332
        return $this;
2333
    }
2334
2335
    /**
2336
     * @param string $value
2337
     *
2338
     * @return $this
2339
     */
2340
    public function withLabelId($value)
2341
    {
2342
        $this->data['LabelId'] = $value;
2343
        $this->options['form_params']['LabelId'] = $value;
2344
2345
        return $this;
2346
    }
2347
2348
    /**
2349
     * @param string $value
2350
     *
2351
     * @return $this
2352
     */
2353
    public function withName($value)
2354
    {
2355
        $this->data['Name'] = $value;
2356
        $this->options['form_params']['Name'] = $value;
2357
2358
        return $this;
2359
    }
2360
2361
    /**
2362
     * @param string $value
2363
     *
2364
     * @return $this
2365
     */
2366
    public function withDatasetId($value)
2367
    {
2368
        $this->data['DatasetId'] = $value;
2369
        $this->options['form_params']['DatasetId'] = $value;
2370
2371
        return $this;
2372
    }
2373
2374
    /**
2375
     * @param string $value
2376
     *
2377
     * @return $this
2378
     */
2379
    public function withLabelIds($value)
2380
    {
2381
        $this->data['LabelIds'] = $value;
2382
        $this->options['form_params']['LabelIds'] = $value;
2383
2384
        return $this;
2385
    }
2386
}
2387
2388
/**
2389
 * @method string getDescription()
2390
 * @method string getId()
2391
 * @method string getName()
2392
 */
2393
class UpdateWorkspace extends Rpc
2394
{
2395
2396
    /**
2397
     * @param string $value
2398
     *
2399
     * @return $this
2400
     */
2401
    public function withDescription($value)
2402
    {
2403
        $this->data['Description'] = $value;
2404
        $this->options['form_params']['Description'] = $value;
2405
2406
        return $this;
2407
    }
2408
2409
    /**
2410
     * @param string $value
2411
     *
2412
     * @return $this
2413
     */
2414
    public function withId($value)
2415
    {
2416
        $this->data['Id'] = $value;
2417
        $this->options['form_params']['Id'] = $value;
2418
2419
        return $this;
2420
    }
2421
2422
    /**
2423
     * @param string $value
2424
     *
2425
     * @return $this
2426
     */
2427
    public function withName($value)
2428
    {
2429
        $this->data['Name'] = $value;
2430
        $this->options['form_params']['Name'] = $value;
2431
2432
        return $this;
2433
    }
2434
}
2435