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 ( ee902b...efc6fb )
by
unknown
10:53
created

CreateSshKey   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 6
dl 0
loc 19
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A withAccessToken() 0 6 1
1
<?php
2
3
namespace AlibabaCloud\Codeup\V20200414;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AcceptMergeRequest acceptMergeRequest(array $options = [])
9
 * @method AddGroupMember addGroupMember(array $options = [])
10
 * @method AddRepositoryMember addRepositoryMember(array $options = [])
11
 * @method AddWebhook addWebhook(array $options = [])
12
 * @method CreateBranch createBranch(array $options = [])
13
 * @method CreateFile createFile(array $options = [])
14
 * @method CreateMergeRequest createMergeRequest(array $options = [])
15
 * @method CreateMergeRequestComment createMergeRequestComment(array $options = [])
16
 * @method CreateRepository createRepository(array $options = [])
17
 * @method CreateRepositoryDeployKey createRepositoryDeployKey(array $options = [])
18
 * @method CreateRepositoryGroup createRepositoryGroup(array $options = [])
19
 * @method CreateRepositoryProtectedBranch createRepositoryProtectedBranch(array $options = [])
20
 * @method CreateSshKey createSshKey(array $options = [])
21
 * @method CreateTag createTag(array $options = [])
22
 * @method DeleteBranch deleteBranch(array $options = [])
23
 * @method DeleteFile deleteFile(array $options = [])
24
 * @method DeleteGroupMember deleteGroupMember(array $options = [])
25
 * @method DeleteRepository deleteRepository(array $options = [])
26
 * @method DeleteRepositoryGroup deleteRepositoryGroup(array $options = [])
27
 * @method DeleteRepositoryMember deleteRepositoryMember(array $options = [])
28
 * @method DeleteRepositoryProtectedBranch deleteRepositoryProtectedBranch(array $options = [])
29
 * @method DeleteRepositoryTag deleteRepositoryTag(array $options = [])
30
 * @method DeleteRepositoryTagV2 deleteRepositoryTagV2(array $options = [])
31
 * @method DeleteRepositoryWebhook deleteRepositoryWebhook(array $options = [])
32
 * @method EnableRepositoryDeployKey enableRepositoryDeployKey(array $options = [])
33
 * @method GetBranchInfo getBranchInfo(array $options = [])
34
 * @method GetCodeCompletion getCodeCompletion(array $options = [])
35
 * @method GetCodeupOrganization getCodeupOrganization(array $options = [])
36
 * @method GetFileBlobs getFileBlobs(array $options = [])
37
 * @method GetGroupDetail getGroupDetail(array $options = [])
38
 * @method GetMergeRequestApproveStatus getMergeRequestApproveStatus(array $options = [])
39
 * @method GetMergeRequestDetail getMergeRequestDetail(array $options = [])
40
 * @method GetMergeRequestSetting getMergeRequestSetting(array $options = [])
41
 * @method GetOrganizationSecurityCenterStatus getOrganizationSecurityCenterStatus(array $options = [])
42
 * @method GetProjectMember getProjectMember(array $options = [])
43
 * @method GetRepositoryCommit getRepositoryCommit(array $options = [])
44
 * @method GetRepositoryInfo getRepositoryInfo(array $options = [])
45
 * @method GetRepositoryTag getRepositoryTag(array $options = [])
46
 * @method GetRepositoryTagV2 getRepositoryTagV2(array $options = [])
47
 * @method GetUserInfo getUserInfo(array $options = [])
48
 * @method ListGroupMember listGroupMember(array $options = [])
49
 * @method ListGroupRepositories listGroupRepositories(array $options = [])
50
 * @method ListGroups listGroups(array $options = [])
51
 * @method ListMergeRequestComments listMergeRequestComments(array $options = [])
52
 * @method ListMergeRequests listMergeRequests(array $options = [])
53
 * @method ListOrganizations listOrganizations(array $options = [])
54
 * @method ListOrganizationSecurityScores listOrganizationSecurityScores(array $options = [])
55
 * @method ListRepositories listRepositories(array $options = [])
56
 * @method ListRepositoryBranches listRepositoryBranches(array $options = [])
57
 * @method ListRepositoryCommitDiff listRepositoryCommitDiff(array $options = [])
58
 * @method ListRepositoryCommits listRepositoryCommits(array $options = [])
59
 * @method ListRepositoryMember listRepositoryMember(array $options = [])
60
 * @method ListRepositoryMemberWithInherited listRepositoryMemberWithInherited(array $options = [])
61
 * @method ListRepositoryTags listRepositoryTags(array $options = [])
62
 * @method ListRepositoryTree listRepositoryTree(array $options = [])
63
 * @method ListRepositoryWebhook listRepositoryWebhook(array $options = [])
64
 * @method MergeMergeRequest mergeMergeRequest(array $options = [])
65
 * @method UpdateFile updateFile(array $options = [])
66
 * @method UpdateGroupMember updateGroupMember(array $options = [])
67
 * @method UpdateMergeRequest updateMergeRequest(array $options = [])
68
 * @method UpdateMergeRequestComment updateMergeRequestComment(array $options = [])
69
 * @method UpdateMergeRequestSetting updateMergeRequestSetting(array $options = [])
70
 * @method UpdateRepository updateRepository(array $options = [])
71
 * @method UpdateRepositoryMember updateRepositoryMember(array $options = [])
72
 */
73
class CodeupApiResolver extends ApiResolver
74
{
75
}
76
77
class Roa extends \AlibabaCloud\Client\Resolver\Roa
78
{
79
    /** @var string */
80
    public $product = 'codeup';
81
82
    /** @var string */
83
    public $version = '2020-04-14';
84
}
85
86
/**
87
 * @method string getOrganizationId()
88
 * @method string getMergeRequestId()
89
 * @method $this withMergeRequestId($value)
90
 * @method string getAccessToken()
91
 * @method string getProjectId()
92
 * @method $this withProjectId($value)
93
 */
94
class AcceptMergeRequest extends Roa
95
{
96
    /** @var string */
97
    public $pathPattern = '/api/v3/projects/[ProjectId]/merge_request/[MergeRequestId]/accept';
98
99
    /** @var string */
100
    public $method = 'PUT';
101
102
    /**
103
     * @param string $value
104
     *
105
     * @return $this
106
     */
107
    public function withOrganizationId($value)
108
    {
109
        $this->data['OrganizationId'] = $value;
110
        $this->options['query']['OrganizationId'] = $value;
111
112
        return $this;
113
    }
114
115
    /**
116
     * @param string $value
117
     *
118
     * @return $this
119
     */
120
    public function withAccessToken($value)
121
    {
122
        $this->data['AccessToken'] = $value;
123
        $this->options['query']['AccessToken'] = $value;
124
125
        return $this;
126
    }
127
}
128
129
/**
130
 * @method string getOrganizationId()
131
 * @method string getSubUserId()
132
 * @method string getClientToken()
133
 * @method string getGroupId()
134
 * @method $this withGroupId($value)
135
 * @method string getAccessToken()
136
 */
137
class AddGroupMember extends Roa
138
{
139
    /** @var string */
140
    public $pathPattern = '/api/v4/groups/[GroupId]/members';
141
142
    /** @var string */
143
    public $method = 'POST';
144
145
    /**
146
     * @param string $value
147
     *
148
     * @return $this
149
     */
150
    public function withOrganizationId($value)
151
    {
152
        $this->data['OrganizationId'] = $value;
153
        $this->options['query']['OrganizationId'] = $value;
154
155
        return $this;
156
    }
157
158
    /**
159
     * @param string $value
160
     *
161
     * @return $this
162
     */
163
    public function withSubUserId($value)
164
    {
165
        $this->data['SubUserId'] = $value;
166
        $this->options['query']['SubUserId'] = $value;
167
168
        return $this;
169
    }
170
171
    /**
172
     * @param string $value
173
     *
174
     * @return $this
175
     */
176
    public function withClientToken($value)
177
    {
178
        $this->data['ClientToken'] = $value;
179
        $this->options['query']['ClientToken'] = $value;
180
181
        return $this;
182
    }
183
184
    /**
185
     * @param string $value
186
     *
187
     * @return $this
188
     */
189
    public function withAccessToken($value)
190
    {
191
        $this->data['AccessToken'] = $value;
192
        $this->options['query']['AccessToken'] = $value;
193
194
        return $this;
195
    }
196
}
197
198
/**
199
 * @method string getOrganizationId()
200
 * @method string getSubUserId()
201
 * @method string getClientToken()
202
 * @method string getAccessToken()
203
 * @method string getProjectId()
204
 * @method $this withProjectId($value)
205
 */
206
class AddRepositoryMember extends Roa
207
{
208
    /** @var string */
209
    public $pathPattern = '/api/v4/projects/[ProjectId]/members';
210
211
    /** @var string */
212
    public $method = 'POST';
213
214
    /**
215
     * @param string $value
216
     *
217
     * @return $this
218
     */
219
    public function withOrganizationId($value)
220
    {
221
        $this->data['OrganizationId'] = $value;
222
        $this->options['query']['OrganizationId'] = $value;
223
224
        return $this;
225
    }
226
227
    /**
228
     * @param string $value
229
     *
230
     * @return $this
231
     */
232
    public function withSubUserId($value)
233
    {
234
        $this->data['SubUserId'] = $value;
235
        $this->options['query']['SubUserId'] = $value;
236
237
        return $this;
238
    }
239
240
    /**
241
     * @param string $value
242
     *
243
     * @return $this
244
     */
245
    public function withClientToken($value)
246
    {
247
        $this->data['ClientToken'] = $value;
248
        $this->options['query']['ClientToken'] = $value;
249
250
        return $this;
251
    }
252
253
    /**
254
     * @param string $value
255
     *
256
     * @return $this
257
     */
258
    public function withAccessToken($value)
259
    {
260
        $this->data['AccessToken'] = $value;
261
        $this->options['query']['AccessToken'] = $value;
262
263
        return $this;
264
    }
265
}
266
267
/**
268
 * @method string getOrganizationId()
269
 * @method string getAccessToken()
270
 * @method string getProjectId()
271
 * @method $this withProjectId($value)
272
 */
273
class AddWebhook extends Roa
274
{
275
    /** @var string */
276
    public $pathPattern = '/api/v3/projects/[ProjectId]/hooks';
277
278
    /** @var string */
279
    public $method = 'POST';
280
281
    /**
282
     * @param string $value
283
     *
284
     * @return $this
285
     */
286
    public function withOrganizationId($value)
287
    {
288
        $this->data['OrganizationId'] = $value;
289
        $this->options['query']['OrganizationId'] = $value;
290
291
        return $this;
292
    }
293
294
    /**
295
     * @param string $value
296
     *
297
     * @return $this
298
     */
299
    public function withAccessToken($value)
300
    {
301
        $this->data['AccessToken'] = $value;
302
        $this->options['query']['AccessToken'] = $value;
303
304
        return $this;
305
    }
306
}
307
308
/**
309
 * @method string getOrganizationId()
310
 * @method string getSubUserId()
311
 * @method string getAccessToken()
312
 * @method string getProjectId()
313
 * @method $this withProjectId($value)
314
 */
315
class CreateBranch extends Roa
316
{
317
    /** @var string */
318
    public $pathPattern = '/api/v3/projects/[ProjectId]/repository/branches';
319
320
    /** @var string */
321
    public $method = 'POST';
322
323
    /**
324
     * @param string $value
325
     *
326
     * @return $this
327
     */
328
    public function withOrganizationId($value)
329
    {
330
        $this->data['OrganizationId'] = $value;
331
        $this->options['query']['OrganizationId'] = $value;
332
333
        return $this;
334
    }
335
336
    /**
337
     * @param string $value
338
     *
339
     * @return $this
340
     */
341
    public function withSubUserId($value)
342
    {
343
        $this->data['SubUserId'] = $value;
344
        $this->options['query']['SubUserId'] = $value;
345
346
        return $this;
347
    }
348
349
    /**
350
     * @param string $value
351
     *
352
     * @return $this
353
     */
354
    public function withAccessToken($value)
355
    {
356
        $this->data['AccessToken'] = $value;
357
        $this->options['query']['AccessToken'] = $value;
358
359
        return $this;
360
    }
361
}
362
363
/**
364
 * @method string getOrganizationId()
365
 * @method string getSubUserId()
366
 * @method string getClientToken()
367
 * @method string getAccessToken()
368
 * @method string getProjectId()
369
 * @method $this withProjectId($value)
370
 */
371
class CreateFile extends Roa
372
{
373
    /** @var string */
374
    public $pathPattern = '/api/v3/projects/[ProjectId]/repository/files';
375
376
    /** @var string */
377
    public $method = 'POST';
378
379
    /**
380
     * @param string $value
381
     *
382
     * @return $this
383
     */
384
    public function withOrganizationId($value)
385
    {
386
        $this->data['OrganizationId'] = $value;
387
        $this->options['query']['OrganizationId'] = $value;
388
389
        return $this;
390
    }
391
392
    /**
393
     * @param string $value
394
     *
395
     * @return $this
396
     */
397
    public function withSubUserId($value)
398
    {
399
        $this->data['SubUserId'] = $value;
400
        $this->options['query']['SubUserId'] = $value;
401
402
        return $this;
403
    }
404
405
    /**
406
     * @param string $value
407
     *
408
     * @return $this
409
     */
410
    public function withClientToken($value)
411
    {
412
        $this->data['ClientToken'] = $value;
413
        $this->options['query']['ClientToken'] = $value;
414
415
        return $this;
416
    }
417
418
    /**
419
     * @param string $value
420
     *
421
     * @return $this
422
     */
423
    public function withAccessToken($value)
424
    {
425
        $this->data['AccessToken'] = $value;
426
        $this->options['query']['AccessToken'] = $value;
427
428
        return $this;
429
    }
430
}
431
432
/**
433
 * @method string getOrganizationId()
434
 * @method string getSubUserId()
435
 * @method string getAccessToken()
436
 * @method string getProjectId()
437
 * @method $this withProjectId($value)
438
 */
439
class CreateMergeRequest extends Roa
440
{
441
    /** @var string */
442
    public $pathPattern = '/api/v4/projects/[ProjectId]/merge_requests';
443
444
    /** @var string */
445
    public $method = 'POST';
446
447
    /**
448
     * @param string $value
449
     *
450
     * @return $this
451
     */
452
    public function withOrganizationId($value)
453
    {
454
        $this->data['OrganizationId'] = $value;
455
        $this->options['query']['OrganizationId'] = $value;
456
457
        return $this;
458
    }
459
460
    /**
461
     * @param string $value
462
     *
463
     * @return $this
464
     */
465
    public function withSubUserId($value)
466
    {
467
        $this->data['SubUserId'] = $value;
468
        $this->options['query']['SubUserId'] = $value;
469
470
        return $this;
471
    }
472
473
    /**
474
     * @param string $value
475
     *
476
     * @return $this
477
     */
478
    public function withAccessToken($value)
479
    {
480
        $this->data['AccessToken'] = $value;
481
        $this->options['query']['AccessToken'] = $value;
482
483
        return $this;
484
    }
485
}
486
487
/**
488
 * @method string getOrganizationId()
489
 * @method string getMergeRequestId()
490
 * @method $this withMergeRequestId($value)
491
 * @method string getAccessToken()
492
 * @method string getProjectId()
493
 * @method $this withProjectId($value)
494
 */
495
class CreateMergeRequestComment extends Roa
496
{
497
    /** @var string */
498
    public $pathPattern = '/api/v4/projects/[ProjectId]/merge_request/[MergeRequestId]/comments';
499
500
    /** @var string */
501
    public $method = 'POST';
502
503
    /**
504
     * @param string $value
505
     *
506
     * @return $this
507
     */
508
    public function withOrganizationId($value)
509
    {
510
        $this->data['OrganizationId'] = $value;
511
        $this->options['query']['OrganizationId'] = $value;
512
513
        return $this;
514
    }
515
516
    /**
517
     * @param string $value
518
     *
519
     * @return $this
520
     */
521
    public function withAccessToken($value)
522
    {
523
        $this->data['AccessToken'] = $value;
524
        $this->options['query']['AccessToken'] = $value;
525
526
        return $this;
527
    }
528
}
529
530
/**
531
 * @method string getOrganizationId()
532
 * @method string getSubUserId()
533
 * @method string getClientToken()
534
 * @method string getAccessToken()
535
 * @method string getSync()
536
 * @method string getCreateParentPath()
537
 */
538
class CreateRepository extends Roa
539
{
540
    /** @var string */
541
    public $pathPattern = '/api/v3/projects';
542
543
    /** @var string */
544
    public $method = 'POST';
545
546
    /**
547
     * @param string $value
548
     *
549
     * @return $this
550
     */
551
    public function withOrganizationId($value)
552
    {
553
        $this->data['OrganizationId'] = $value;
554
        $this->options['query']['OrganizationId'] = $value;
555
556
        return $this;
557
    }
558
559
    /**
560
     * @param string $value
561
     *
562
     * @return $this
563
     */
564
    public function withSubUserId($value)
565
    {
566
        $this->data['SubUserId'] = $value;
567
        $this->options['query']['SubUserId'] = $value;
568
569
        return $this;
570
    }
571
572
    /**
573
     * @param string $value
574
     *
575
     * @return $this
576
     */
577
    public function withClientToken($value)
578
    {
579
        $this->data['ClientToken'] = $value;
580
        $this->options['query']['ClientToken'] = $value;
581
582
        return $this;
583
    }
584
585
    /**
586
     * @param string $value
587
     *
588
     * @return $this
589
     */
590
    public function withAccessToken($value)
591
    {
592
        $this->data['AccessToken'] = $value;
593
        $this->options['query']['AccessToken'] = $value;
594
595
        return $this;
596
    }
597
598
    /**
599
     * @param string $value
600
     *
601
     * @return $this
602
     */
603
    public function withSync($value)
604
    {
605
        $this->data['Sync'] = $value;
606
        $this->options['query']['Sync'] = $value;
607
608
        return $this;
609
    }
610
611
    /**
612
     * @param string $value
613
     *
614
     * @return $this
615
     */
616
    public function withCreateParentPath($value)
617
    {
618
        $this->data['CreateParentPath'] = $value;
619
        $this->options['query']['CreateParentPath'] = $value;
620
621
        return $this;
622
    }
623
}
624
625
/**
626
 * @method string getOrganizationId()
627
 * @method string getSubUserId()
628
 * @method string getAccessToken()
629
 * @method string getProjectId()
630
 * @method $this withProjectId($value)
631
 */
632
class CreateRepositoryDeployKey extends Roa
633
{
634
    /** @var string */
635
    public $pathPattern = '/api/v3/projects/[ProjectId]/keys';
636
637
    /** @var string */
638
    public $method = 'POST';
639
640
    /**
641
     * @param string $value
642
     *
643
     * @return $this
644
     */
645
    public function withOrganizationId($value)
646
    {
647
        $this->data['OrganizationId'] = $value;
648
        $this->options['query']['OrganizationId'] = $value;
649
650
        return $this;
651
    }
652
653
    /**
654
     * @param string $value
655
     *
656
     * @return $this
657
     */
658
    public function withSubUserId($value)
659
    {
660
        $this->data['SubUserId'] = $value;
661
        $this->options['query']['SubUserId'] = $value;
662
663
        return $this;
664
    }
665
666
    /**
667
     * @param string $value
668
     *
669
     * @return $this
670
     */
671
    public function withAccessToken($value)
672
    {
673
        $this->data['AccessToken'] = $value;
674
        $this->options['query']['AccessToken'] = $value;
675
676
        return $this;
677
    }
678
}
679
680
/**
681
 * @method string getOrganizationId()
682
 * @method string getSubUserId()
683
 * @method string getClientToken()
684
 * @method string getAccessToken()
685
 */
686
class CreateRepositoryGroup extends Roa
687
{
688
    /** @var string */
689
    public $pathPattern = '/api/v3/groups';
690
691
    /** @var string */
692
    public $method = 'POST';
693
694
    /**
695
     * @param string $value
696
     *
697
     * @return $this
698
     */
699
    public function withOrganizationId($value)
700
    {
701
        $this->data['OrganizationId'] = $value;
702
        $this->options['query']['OrganizationId'] = $value;
703
704
        return $this;
705
    }
706
707
    /**
708
     * @param string $value
709
     *
710
     * @return $this
711
     */
712
    public function withSubUserId($value)
713
    {
714
        $this->data['SubUserId'] = $value;
715
        $this->options['query']['SubUserId'] = $value;
716
717
        return $this;
718
    }
719
720
    /**
721
     * @param string $value
722
     *
723
     * @return $this
724
     */
725
    public function withClientToken($value)
726
    {
727
        $this->data['ClientToken'] = $value;
728
        $this->options['query']['ClientToken'] = $value;
729
730
        return $this;
731
    }
732
733
    /**
734
     * @param string $value
735
     *
736
     * @return $this
737
     */
738
    public function withAccessToken($value)
739
    {
740
        $this->data['AccessToken'] = $value;
741
        $this->options['query']['AccessToken'] = $value;
742
743
        return $this;
744
    }
745
}
746
747
/**
748
 * @method string getOrganizationId()
749
 * @method string getAccessToken()
750
 * @method string getProjectId()
751
 * @method $this withProjectId($value)
752
 */
753
class CreateRepositoryProtectedBranch extends Roa
754
{
755
    /** @var string */
756
    public $pathPattern = '/api/v4/projects/[ProjectId]/repository/protect_branches';
757
758
    /** @var string */
759
    public $method = 'POST';
760
761
    /**
762
     * @param string $value
763
     *
764
     * @return $this
765
     */
766
    public function withOrganizationId($value)
767
    {
768
        $this->data['OrganizationId'] = $value;
769
        $this->options['query']['OrganizationId'] = $value;
770
771
        return $this;
772
    }
773
774
    /**
775
     * @param string $value
776
     *
777
     * @return $this
778
     */
779
    public function withAccessToken($value)
780
    {
781
        $this->data['AccessToken'] = $value;
782
        $this->options['query']['AccessToken'] = $value;
783
784
        return $this;
785
    }
786
}
787
788
/**
789
 * @method string getAccessToken()
790
 */
791
class CreateSshKey extends Roa
792
{
793
    /** @var string */
794
    public $pathPattern = '/api/v3/user/keys';
795
796
    /** @var string */
797
    public $method = 'POST';
798
799
    /**
800
     * @param string $value
801
     *
802
     * @return $this
803
     */
804
    public function withAccessToken($value)
805
    {
806
        $this->data['AccessToken'] = $value;
807
        $this->options['query']['AccessToken'] = $value;
808
809
        return $this;
810
    }
811
}
812
813
/**
814
 * @method string getOrganizationId()
815
 * @method string getSubUserId()
816
 * @method string getAccessToken()
817
 * @method string getProjectId()
818
 * @method $this withProjectId($value)
819
 */
820
class CreateTag extends Roa
821
{
822
    /** @var string */
823
    public $pathPattern = '/api/v3/projects/[ProjectId]/repository/tags';
824
825
    /** @var string */
826
    public $method = 'POST';
827
828
    /**
829
     * @param string $value
830
     *
831
     * @return $this
832
     */
833
    public function withOrganizationId($value)
834
    {
835
        $this->data['OrganizationId'] = $value;
836
        $this->options['query']['OrganizationId'] = $value;
837
838
        return $this;
839
    }
840
841
    /**
842
     * @param string $value
843
     *
844
     * @return $this
845
     */
846
    public function withSubUserId($value)
847
    {
848
        $this->data['SubUserId'] = $value;
849
        $this->options['query']['SubUserId'] = $value;
850
851
        return $this;
852
    }
853
854
    /**
855
     * @param string $value
856
     *
857
     * @return $this
858
     */
859
    public function withAccessToken($value)
860
    {
861
        $this->data['AccessToken'] = $value;
862
        $this->options['query']['AccessToken'] = $value;
863
864
        return $this;
865
    }
866
}
867
868
/**
869
 * @method string getOrganizationId()
870
 * @method string getSubUserId()
871
 * @method string getAccessToken()
872
 * @method string getProjectId()
873
 * @method $this withProjectId($value)
874
 * @method string getBranchName()
875
 */
876
class DeleteBranch extends Roa
877
{
878
    /** @var string */
879
    public $pathPattern = '/api/v3/projects/[ProjectId]/repository/branches/delete';
880
881
    /** @var string */
882
    public $method = 'DELETE';
883
884
    /**
885
     * @param string $value
886
     *
887
     * @return $this
888
     */
889
    public function withOrganizationId($value)
890
    {
891
        $this->data['OrganizationId'] = $value;
892
        $this->options['query']['OrganizationId'] = $value;
893
894
        return $this;
895
    }
896
897
    /**
898
     * @param string $value
899
     *
900
     * @return $this
901
     */
902
    public function withSubUserId($value)
903
    {
904
        $this->data['SubUserId'] = $value;
905
        $this->options['query']['SubUserId'] = $value;
906
907
        return $this;
908
    }
909
910
    /**
911
     * @param string $value
912
     *
913
     * @return $this
914
     */
915
    public function withAccessToken($value)
916
    {
917
        $this->data['AccessToken'] = $value;
918
        $this->options['query']['AccessToken'] = $value;
919
920
        return $this;
921
    }
922
923
    /**
924
     * @param string $value
925
     *
926
     * @return $this
927
     */
928
    public function withBranchName($value)
929
    {
930
        $this->data['BranchName'] = $value;
931
        $this->options['query']['BranchName'] = $value;
932
933
        return $this;
934
    }
935
}
936
937
/**
938
 * @method string getOrganizationId()
939
 * @method string getSubUserId()
940
 * @method string getFilePath()
941
 * @method string getAccessToken()
942
 * @method string getCommitMessage()
943
 * @method string getProjectId()
944
 * @method $this withProjectId($value)
945
 * @method string getBranchName()
946
 */
947
class DeleteFile extends Roa
948
{
949
    /** @var string */
950
    public $pathPattern = '/api/v3/projects/[ProjectId]/repository/files';
951
952
    /** @var string */
953
    public $method = 'DELETE';
954
955
    /**
956
     * @param string $value
957
     *
958
     * @return $this
959
     */
960
    public function withOrganizationId($value)
961
    {
962
        $this->data['OrganizationId'] = $value;
963
        $this->options['query']['OrganizationId'] = $value;
964
965
        return $this;
966
    }
967
968
    /**
969
     * @param string $value
970
     *
971
     * @return $this
972
     */
973
    public function withSubUserId($value)
974
    {
975
        $this->data['SubUserId'] = $value;
976
        $this->options['query']['SubUserId'] = $value;
977
978
        return $this;
979
    }
980
981
    /**
982
     * @param string $value
983
     *
984
     * @return $this
985
     */
986
    public function withFilePath($value)
987
    {
988
        $this->data['FilePath'] = $value;
989
        $this->options['query']['FilePath'] = $value;
990
991
        return $this;
992
    }
993
994
    /**
995
     * @param string $value
996
     *
997
     * @return $this
998
     */
999
    public function withAccessToken($value)
1000
    {
1001
        $this->data['AccessToken'] = $value;
1002
        $this->options['query']['AccessToken'] = $value;
1003
1004
        return $this;
1005
    }
1006
1007
    /**
1008
     * @param string $value
1009
     *
1010
     * @return $this
1011
     */
1012
    public function withCommitMessage($value)
1013
    {
1014
        $this->data['CommitMessage'] = $value;
1015
        $this->options['query']['CommitMessage'] = $value;
1016
1017
        return $this;
1018
    }
1019
1020
    /**
1021
     * @param string $value
1022
     *
1023
     * @return $this
1024
     */
1025
    public function withBranchName($value)
1026
    {
1027
        $this->data['BranchName'] = $value;
1028
        $this->options['query']['BranchName'] = $value;
1029
1030
        return $this;
1031
    }
1032
}
1033
1034
/**
1035
 * @method string getOrganizationId()
1036
 * @method string getSubUserId()
1037
 * @method string getGroupId()
1038
 * @method $this withGroupId($value)
1039
 * @method string getAccessToken()
1040
 * @method string getUserId()
1041
 * @method $this withUserId($value)
1042
 */
1043
class DeleteGroupMember extends Roa
1044
{
1045
    /** @var string */
1046
    public $pathPattern = '/api/v3/groups/[GroupId]/members/[UserId]';
1047
1048
    /** @var string */
1049
    public $method = 'DELETE';
1050
1051
    /**
1052
     * @param string $value
1053
     *
1054
     * @return $this
1055
     */
1056
    public function withOrganizationId($value)
1057
    {
1058
        $this->data['OrganizationId'] = $value;
1059
        $this->options['query']['OrganizationId'] = $value;
1060
1061
        return $this;
1062
    }
1063
1064
    /**
1065
     * @param string $value
1066
     *
1067
     * @return $this
1068
     */
1069
    public function withSubUserId($value)
1070
    {
1071
        $this->data['SubUserId'] = $value;
1072
        $this->options['query']['SubUserId'] = $value;
1073
1074
        return $this;
1075
    }
1076
1077
    /**
1078
     * @param string $value
1079
     *
1080
     * @return $this
1081
     */
1082
    public function withAccessToken($value)
1083
    {
1084
        $this->data['AccessToken'] = $value;
1085
        $this->options['query']['AccessToken'] = $value;
1086
1087
        return $this;
1088
    }
1089
}
1090
1091
/**
1092
 * @method string getOrganizationId()
1093
 * @method string getSubUserId()
1094
 * @method string getAccessToken()
1095
 * @method string getProjectId()
1096
 * @method $this withProjectId($value)
1097
 */
1098
class DeleteRepository extends Roa
1099
{
1100
    /** @var string */
1101
    public $pathPattern = '/api/v3/projects/[ProjectId]/remove';
1102
1103
    /** @var string */
1104
    public $method = 'POST';
1105
1106
    /**
1107
     * @param string $value
1108
     *
1109
     * @return $this
1110
     */
1111
    public function withOrganizationId($value)
1112
    {
1113
        $this->data['OrganizationId'] = $value;
1114
        $this->options['query']['OrganizationId'] = $value;
1115
1116
        return $this;
1117
    }
1118
1119
    /**
1120
     * @param string $value
1121
     *
1122
     * @return $this
1123
     */
1124
    public function withSubUserId($value)
1125
    {
1126
        $this->data['SubUserId'] = $value;
1127
        $this->options['query']['SubUserId'] = $value;
1128
1129
        return $this;
1130
    }
1131
1132
    /**
1133
     * @param string $value
1134
     *
1135
     * @return $this
1136
     */
1137
    public function withAccessToken($value)
1138
    {
1139
        $this->data['AccessToken'] = $value;
1140
        $this->options['query']['AccessToken'] = $value;
1141
1142
        return $this;
1143
    }
1144
}
1145
1146
/**
1147
 * @method string getOrganizationId()
1148
 * @method string getSubUserId()
1149
 * @method string getGroupId()
1150
 * @method $this withGroupId($value)
1151
 * @method string getAccessToken()
1152
 */
1153
class DeleteRepositoryGroup extends Roa
1154
{
1155
    /** @var string */
1156
    public $pathPattern = '/api/v3/groups/[GroupId]/remove';
1157
1158
    /** @var string */
1159
    public $method = 'POST';
1160
1161
    /**
1162
     * @param string $value
1163
     *
1164
     * @return $this
1165
     */
1166
    public function withOrganizationId($value)
1167
    {
1168
        $this->data['OrganizationId'] = $value;
1169
        $this->options['query']['OrganizationId'] = $value;
1170
1171
        return $this;
1172
    }
1173
1174
    /**
1175
     * @param string $value
1176
     *
1177
     * @return $this
1178
     */
1179
    public function withSubUserId($value)
1180
    {
1181
        $this->data['SubUserId'] = $value;
1182
        $this->options['query']['SubUserId'] = $value;
1183
1184
        return $this;
1185
    }
1186
1187
    /**
1188
     * @param string $value
1189
     *
1190
     * @return $this
1191
     */
1192
    public function withAccessToken($value)
1193
    {
1194
        $this->data['AccessToken'] = $value;
1195
        $this->options['query']['AccessToken'] = $value;
1196
1197
        return $this;
1198
    }
1199
}
1200
1201
/**
1202
 * @method string getOrganizationId()
1203
 * @method string getSubUserId()
1204
 * @method string getAccessToken()
1205
 * @method string getProjectId()
1206
 * @method $this withProjectId($value)
1207
 * @method string getUserId()
1208
 * @method $this withUserId($value)
1209
 */
1210
class DeleteRepositoryMember extends Roa
1211
{
1212
    /** @var string */
1213
    public $pathPattern = '/api/v3/projects/[ProjectId]/members/[UserId]';
1214
1215
    /** @var string */
1216
    public $method = 'DELETE';
1217
1218
    /**
1219
     * @param string $value
1220
     *
1221
     * @return $this
1222
     */
1223
    public function withOrganizationId($value)
1224
    {
1225
        $this->data['OrganizationId'] = $value;
1226
        $this->options['query']['OrganizationId'] = $value;
1227
1228
        return $this;
1229
    }
1230
1231
    /**
1232
     * @param string $value
1233
     *
1234
     * @return $this
1235
     */
1236
    public function withSubUserId($value)
1237
    {
1238
        $this->data['SubUserId'] = $value;
1239
        $this->options['query']['SubUserId'] = $value;
1240
1241
        return $this;
1242
    }
1243
1244
    /**
1245
     * @param string $value
1246
     *
1247
     * @return $this
1248
     */
1249
    public function withAccessToken($value)
1250
    {
1251
        $this->data['AccessToken'] = $value;
1252
        $this->options['query']['AccessToken'] = $value;
1253
1254
        return $this;
1255
    }
1256
}
1257
1258
/**
1259
 * @method string getOrganizationId()
1260
 * @method string getProtectedBranchId()
1261
 * @method $this withProtectedBranchId($value)
1262
 * @method string getAccessToken()
1263
 * @method string getProjectId()
1264
 * @method $this withProjectId($value)
1265
 */
1266
class DeleteRepositoryProtectedBranch extends Roa
1267
{
1268
    /** @var string */
1269
    public $pathPattern = '/api/v4/projects/[ProjectId]/repository/protect_branches/[ProtectedBranchId]';
1270
1271
    /** @var string */
1272
    public $method = 'DELETE';
1273
1274
    /**
1275
     * @param string $value
1276
     *
1277
     * @return $this
1278
     */
1279
    public function withOrganizationId($value)
1280
    {
1281
        $this->data['OrganizationId'] = $value;
1282
        $this->options['query']['OrganizationId'] = $value;
1283
1284
        return $this;
1285
    }
1286
1287
    /**
1288
     * @param string $value
1289
     *
1290
     * @return $this
1291
     */
1292
    public function withAccessToken($value)
1293
    {
1294
        $this->data['AccessToken'] = $value;
1295
        $this->options['query']['AccessToken'] = $value;
1296
1297
        return $this;
1298
    }
1299
}
1300
1301
/**
1302
 * @method string getOrganizationId()
1303
 * @method string getTagName()
1304
 * @method $this withTagName($value)
1305
 * @method string getAccessToken()
1306
 * @method string getProjectId()
1307
 * @method $this withProjectId($value)
1308
 */
1309
class DeleteRepositoryTag extends Roa
1310
{
1311
    /** @var string */
1312
    public $pathPattern = '/api/v3/projects/[ProjectId]/repository/tags/[TagName]';
1313
1314
    /** @var string */
1315
    public $method = 'DELETE';
1316
1317
    /**
1318
     * @param string $value
1319
     *
1320
     * @return $this
1321
     */
1322
    public function withOrganizationId($value)
1323
    {
1324
        $this->data['OrganizationId'] = $value;
1325
        $this->options['query']['OrganizationId'] = $value;
1326
1327
        return $this;
1328
    }
1329
1330
    /**
1331
     * @param string $value
1332
     *
1333
     * @return $this
1334
     */
1335
    public function withAccessToken($value)
1336
    {
1337
        $this->data['AccessToken'] = $value;
1338
        $this->options['query']['AccessToken'] = $value;
1339
1340
        return $this;
1341
    }
1342
}
1343
1344
/**
1345
 * @method string getOrganizationId()
1346
 * @method string getTagName()
1347
 * @method string getAccessToken()
1348
 * @method string getProjectId()
1349
 * @method $this withProjectId($value)
1350
 */
1351
class DeleteRepositoryTagV2 extends Roa
1352
{
1353
    /** @var string */
1354
    public $pathPattern = '/api/v3/projects/[ProjectId]/repository/tag/delete';
1355
1356
    /** @var string */
1357
    public $method = 'DELETE';
1358
1359
    /**
1360
     * @param string $value
1361
     *
1362
     * @return $this
1363
     */
1364
    public function withOrganizationId($value)
1365
    {
1366
        $this->data['OrganizationId'] = $value;
1367
        $this->options['query']['OrganizationId'] = $value;
1368
1369
        return $this;
1370
    }
1371
1372
    /**
1373
     * @param string $value
1374
     *
1375
     * @return $this
1376
     */
1377
    public function withTagName($value)
1378
    {
1379
        $this->data['TagName'] = $value;
1380
        $this->options['query']['TagName'] = $value;
1381
1382
        return $this;
1383
    }
1384
1385
    /**
1386
     * @param string $value
1387
     *
1388
     * @return $this
1389
     */
1390
    public function withAccessToken($value)
1391
    {
1392
        $this->data['AccessToken'] = $value;
1393
        $this->options['query']['AccessToken'] = $value;
1394
1395
        return $this;
1396
    }
1397
}
1398
1399
/**
1400
 * @method string getOrganizationId()
1401
 * @method string getWebhookId()
1402
 * @method $this withWebhookId($value)
1403
 * @method string getAccessToken()
1404
 * @method string getProjectId()
1405
 * @method $this withProjectId($value)
1406
 */
1407
class DeleteRepositoryWebhook extends Roa
1408
{
1409
    /** @var string */
1410
    public $pathPattern = '/api/v3/projects/[ProjectId]/hooks/[WebhookId]';
1411
1412
    /** @var string */
1413
    public $method = 'DELETE';
1414
1415
    /**
1416
     * @param string $value
1417
     *
1418
     * @return $this
1419
     */
1420
    public function withOrganizationId($value)
1421
    {
1422
        $this->data['OrganizationId'] = $value;
1423
        $this->options['query']['OrganizationId'] = $value;
1424
1425
        return $this;
1426
    }
1427
1428
    /**
1429
     * @param string $value
1430
     *
1431
     * @return $this
1432
     */
1433
    public function withAccessToken($value)
1434
    {
1435
        $this->data['AccessToken'] = $value;
1436
        $this->options['query']['AccessToken'] = $value;
1437
1438
        return $this;
1439
    }
1440
}
1441
1442
/**
1443
 * @method string getOrganizationId()
1444
 * @method string getSubUserId()
1445
 * @method string getAccessToken()
1446
 * @method string getKeyId()
1447
 * @method $this withKeyId($value)
1448
 * @method string getProjectId()
1449
 * @method $this withProjectId($value)
1450
 */
1451
class EnableRepositoryDeployKey extends Roa
1452
{
1453
    /** @var string */
1454
    public $pathPattern = '/api/v3/projects/[ProjectId]/keys/[KeyId]/enable';
1455
1456
    /** @var string */
1457
    public $method = 'POST';
1458
1459
    /**
1460
     * @param string $value
1461
     *
1462
     * @return $this
1463
     */
1464
    public function withOrganizationId($value)
1465
    {
1466
        $this->data['OrganizationId'] = $value;
1467
        $this->options['query']['OrganizationId'] = $value;
1468
1469
        return $this;
1470
    }
1471
1472
    /**
1473
     * @param string $value
1474
     *
1475
     * @return $this
1476
     */
1477
    public function withSubUserId($value)
1478
    {
1479
        $this->data['SubUserId'] = $value;
1480
        $this->options['query']['SubUserId'] = $value;
1481
1482
        return $this;
1483
    }
1484
1485
    /**
1486
     * @param string $value
1487
     *
1488
     * @return $this
1489
     */
1490
    public function withAccessToken($value)
1491
    {
1492
        $this->data['AccessToken'] = $value;
1493
        $this->options['query']['AccessToken'] = $value;
1494
1495
        return $this;
1496
    }
1497
}
1498
1499
/**
1500
 * @method string getOrganizationId()
1501
 * @method string getSubUserId()
1502
 * @method string getAccessToken()
1503
 * @method string getProjectId()
1504
 * @method $this withProjectId($value)
1505
 * @method string getBranchName()
1506
 */
1507
class GetBranchInfo extends Roa
1508
{
1509
    /** @var string */
1510
    public $pathPattern = '/api/v3/projects/[ProjectId]/repository/branches/detail';
1511
1512
    /**
1513
     * @param string $value
1514
     *
1515
     * @return $this
1516
     */
1517
    public function withOrganizationId($value)
1518
    {
1519
        $this->data['OrganizationId'] = $value;
1520
        $this->options['query']['OrganizationId'] = $value;
1521
1522
        return $this;
1523
    }
1524
1525
    /**
1526
     * @param string $value
1527
     *
1528
     * @return $this
1529
     */
1530
    public function withSubUserId($value)
1531
    {
1532
        $this->data['SubUserId'] = $value;
1533
        $this->options['query']['SubUserId'] = $value;
1534
1535
        return $this;
1536
    }
1537
1538
    /**
1539
     * @param string $value
1540
     *
1541
     * @return $this
1542
     */
1543
    public function withAccessToken($value)
1544
    {
1545
        $this->data['AccessToken'] = $value;
1546
        $this->options['query']['AccessToken'] = $value;
1547
1548
        return $this;
1549
    }
1550
1551
    /**
1552
     * @param string $value
1553
     *
1554
     * @return $this
1555
     */
1556
    public function withBranchName($value)
1557
    {
1558
        $this->data['BranchName'] = $value;
1559
        $this->options['query']['BranchName'] = $value;
1560
1561
        return $this;
1562
    }
1563
}
1564
1565
/**
1566
 * @method string getIsEncrypted()
1567
 * @method string getFetchKeys()
1568
 * @method string getServiceName()
1569
 * @method $this withServiceName($value)
1570
 */
1571
class GetCodeCompletion extends Roa
1572
{
1573
    /** @var string */
1574
    public $pathPattern = '/api/v2/service/invoke/[ServiceName]';
1575
1576
    /** @var string */
1577
    public $method = 'POST';
1578
1579
    /**
1580
     * @param string $value
1581
     *
1582
     * @return $this
1583
     */
1584
    public function withIsEncrypted($value)
1585
    {
1586
        $this->data['IsEncrypted'] = $value;
1587
        $this->options['query']['IsEncrypted'] = $value;
1588
1589
        return $this;
1590
    }
1591
1592
    /**
1593
     * @param string $value
1594
     *
1595
     * @return $this
1596
     */
1597
    public function withFetchKeys($value)
1598
    {
1599
        $this->data['FetchKeys'] = $value;
1600
        $this->options['query']['FetchKeys'] = $value;
1601
1602
        return $this;
1603
    }
1604
}
1605
1606
/**
1607
 * @method string getOrganizationId()
1608
 * @method string getSubUserId()
1609
 * @method string getOrganizationIdentity()
1610
 * @method $this withOrganizationIdentity($value)
1611
 * @method string getAccessToken()
1612
 */
1613
class GetCodeupOrganization extends Roa
1614
{
1615
    /** @var string */
1616
    public $pathPattern = '/api/v4/organization/[OrganizationIdentity]';
1617
1618
    /**
1619
     * @param string $value
1620
     *
1621
     * @return $this
1622
     */
1623
    public function withOrganizationId($value)
1624
    {
1625
        $this->data['OrganizationId'] = $value;
1626
        $this->options['query']['OrganizationId'] = $value;
1627
1628
        return $this;
1629
    }
1630
1631
    /**
1632
     * @param string $value
1633
     *
1634
     * @return $this
1635
     */
1636
    public function withSubUserId($value)
1637
    {
1638
        $this->data['SubUserId'] = $value;
1639
        $this->options['query']['SubUserId'] = $value;
1640
1641
        return $this;
1642
    }
1643
1644
    /**
1645
     * @param string $value
1646
     *
1647
     * @return $this
1648
     */
1649
    public function withAccessToken($value)
1650
    {
1651
        $this->data['AccessToken'] = $value;
1652
        $this->options['query']['AccessToken'] = $value;
1653
1654
        return $this;
1655
    }
1656
}
1657
1658
/**
1659
 * @method string getAccessToken()
1660
 * @method string getOrganizationId()
1661
 * @method string getRef()
1662
 * @method string getSubUserId()
1663
 * @method string getFilePath()
1664
 * @method string getFrom()
1665
 * @method string getTo()
1666
 * @method string getProjectId()
1667
 * @method $this withProjectId($value)
1668
 */
1669
class GetFileBlobs extends Roa
1670
{
1671
    /** @var string */
1672
    public $pathPattern = '/api/v4/projects/[ProjectId]/repository/blobs';
1673
1674
    /**
1675
     * @param string $value
1676
     *
1677
     * @return $this
1678
     */
1679
    public function withAccessToken($value)
1680
    {
1681
        $this->data['AccessToken'] = $value;
1682
        $this->options['query']['AccessToken'] = $value;
1683
1684
        return $this;
1685
    }
1686
1687
    /**
1688
     * @param string $value
1689
     *
1690
     * @return $this
1691
     */
1692
    public function withOrganizationId($value)
1693
    {
1694
        $this->data['OrganizationId'] = $value;
1695
        $this->options['query']['OrganizationId'] = $value;
1696
1697
        return $this;
1698
    }
1699
1700
    /**
1701
     * @param string $value
1702
     *
1703
     * @return $this
1704
     */
1705
    public function withRef($value)
1706
    {
1707
        $this->data['Ref'] = $value;
1708
        $this->options['query']['Ref'] = $value;
1709
1710
        return $this;
1711
    }
1712
1713
    /**
1714
     * @param string $value
1715
     *
1716
     * @return $this
1717
     */
1718
    public function withSubUserId($value)
1719
    {
1720
        $this->data['SubUserId'] = $value;
1721
        $this->options['query']['SubUserId'] = $value;
1722
1723
        return $this;
1724
    }
1725
1726
    /**
1727
     * @param string $value
1728
     *
1729
     * @return $this
1730
     */
1731
    public function withFilePath($value)
1732
    {
1733
        $this->data['FilePath'] = $value;
1734
        $this->options['query']['FilePath'] = $value;
1735
1736
        return $this;
1737
    }
1738
1739
    /**
1740
     * @param string $value
1741
     *
1742
     * @return $this
1743
     */
1744
    public function withFrom($value)
1745
    {
1746
        $this->data['From'] = $value;
1747
        $this->options['query']['From'] = $value;
1748
1749
        return $this;
1750
    }
1751
1752
    /**
1753
     * @param string $value
1754
     *
1755
     * @return $this
1756
     */
1757
    public function withTo($value)
1758
    {
1759
        $this->data['To'] = $value;
1760
        $this->options['query']['To'] = $value;
1761
1762
        return $this;
1763
    }
1764
}
1765
1766
/**
1767
 * @method string getOrganizationId()
1768
 * @method string getSubUserId()
1769
 * @method string getGroupId()
1770
 * @method string getAccessToken()
1771
 */
1772
class GetGroupDetail extends Roa
1773
{
1774
    /** @var string */
1775
    public $pathPattern = '/api/v3/groups/detail';
1776
1777
    /**
1778
     * @param string $value
1779
     *
1780
     * @return $this
1781
     */
1782
    public function withOrganizationId($value)
1783
    {
1784
        $this->data['OrganizationId'] = $value;
1785
        $this->options['query']['OrganizationId'] = $value;
1786
1787
        return $this;
1788
    }
1789
1790
    /**
1791
     * @param string $value
1792
     *
1793
     * @return $this
1794
     */
1795
    public function withSubUserId($value)
1796
    {
1797
        $this->data['SubUserId'] = $value;
1798
        $this->options['query']['SubUserId'] = $value;
1799
1800
        return $this;
1801
    }
1802
1803
    /**
1804
     * @param string $value
1805
     *
1806
     * @return $this
1807
     */
1808
    public function withGroupId($value)
1809
    {
1810
        $this->data['GroupId'] = $value;
1811
        $this->options['query']['GroupId'] = $value;
1812
1813
        return $this;
1814
    }
1815
1816
    /**
1817
     * @param string $value
1818
     *
1819
     * @return $this
1820
     */
1821
    public function withAccessToken($value)
1822
    {
1823
        $this->data['AccessToken'] = $value;
1824
        $this->options['query']['AccessToken'] = $value;
1825
1826
        return $this;
1827
    }
1828
}
1829
1830
/**
1831
 * @method string getOrganizationId()
1832
 * @method string getMergeRequestId()
1833
 * @method $this withMergeRequestId($value)
1834
 * @method string getAccessToken()
1835
 * @method string getProjectId()
1836
 * @method $this withProjectId($value)
1837
 */
1838
class GetMergeRequestApproveStatus extends Roa
1839
{
1840
    /** @var string */
1841
    public $pathPattern = '/api/v4/projects/[ProjectId]/merge_request/[MergeRequestId]/approve_status';
1842
1843
    /**
1844
     * @param string $value
1845
     *
1846
     * @return $this
1847
     */
1848
    public function withOrganizationId($value)
1849
    {
1850
        $this->data['OrganizationId'] = $value;
1851
        $this->options['query']['OrganizationId'] = $value;
1852
1853
        return $this;
1854
    }
1855
1856
    /**
1857
     * @param string $value
1858
     *
1859
     * @return $this
1860
     */
1861
    public function withAccessToken($value)
1862
    {
1863
        $this->data['AccessToken'] = $value;
1864
        $this->options['query']['AccessToken'] = $value;
1865
1866
        return $this;
1867
    }
1868
}
1869
1870
/**
1871
 * @method string getOrganizationId()
1872
 * @method string getMergeRequestId()
1873
 * @method $this withMergeRequestId($value)
1874
 * @method string getAccessToken()
1875
 * @method string getProjectId()
1876
 * @method $this withProjectId($value)
1877
 */
1878
class GetMergeRequestDetail extends Roa
1879
{
1880
    /** @var string */
1881
    public $pathPattern = '/api/v4/projects/[ProjectId]/merge_request/[MergeRequestId]';
1882
1883
    /**
1884
     * @param string $value
1885
     *
1886
     * @return $this
1887
     */
1888
    public function withOrganizationId($value)
1889
    {
1890
        $this->data['OrganizationId'] = $value;
1891
        $this->options['query']['OrganizationId'] = $value;
1892
1893
        return $this;
1894
    }
1895
1896
    /**
1897
     * @param string $value
1898
     *
1899
     * @return $this
1900
     */
1901
    public function withAccessToken($value)
1902
    {
1903
        $this->data['AccessToken'] = $value;
1904
        $this->options['query']['AccessToken'] = $value;
1905
1906
        return $this;
1907
    }
1908
}
1909
1910
/**
1911
 * @method string getOrganizationId()
1912
 * @method string getAccessToken()
1913
 * @method string getProjectId()
1914
 * @method $this withProjectId($value)
1915
 */
1916
class GetMergeRequestSetting extends Roa
1917
{
1918
    /** @var string */
1919
    public $pathPattern = '/api/v4/projects/[ProjectId]/settings/merge_requests';
1920
1921
    /**
1922
     * @param string $value
1923
     *
1924
     * @return $this
1925
     */
1926
    public function withOrganizationId($value)
1927
    {
1928
        $this->data['OrganizationId'] = $value;
1929
        $this->options['query']['OrganizationId'] = $value;
1930
1931
        return $this;
1932
    }
1933
1934
    /**
1935
     * @param string $value
1936
     *
1937
     * @return $this
1938
     */
1939
    public function withAccessToken($value)
1940
    {
1941
        $this->data['AccessToken'] = $value;
1942
        $this->options['query']['AccessToken'] = $value;
1943
1944
        return $this;
1945
    }
1946
}
1947
1948
/**
1949
 * @method string getAccessToken()
1950
 */
1951
class GetOrganizationSecurityCenterStatus extends Roa
1952
{
1953
    /** @var string */
1954
    public $pathPattern = '/api/v4/organization/security/status';
1955
1956
    /**
1957
     * @param string $value
1958
     *
1959
     * @return $this
1960
     */
1961
    public function withAccessToken($value)
1962
    {
1963
        $this->data['AccessToken'] = $value;
1964
        $this->options['query']['AccessToken'] = $value;
1965
1966
        return $this;
1967
    }
1968
}
1969
1970
/**
1971
 * @method string getOrganizationId()
1972
 * @method string getSubUserId()
1973
 * @method string getAccessToken()
1974
 * @method string getProjectId()
1975
 * @method $this withProjectId($value)
1976
 * @method string getUserId()
1977
 * @method $this withUserId($value)
1978
 */
1979
class GetProjectMember extends Roa
1980
{
1981
    /** @var string */
1982
    public $pathPattern = '/api/v3/projects/[ProjectId]/members/[UserId]';
1983
1984
    /**
1985
     * @param string $value
1986
     *
1987
     * @return $this
1988
     */
1989
    public function withOrganizationId($value)
1990
    {
1991
        $this->data['OrganizationId'] = $value;
1992
        $this->options['query']['OrganizationId'] = $value;
1993
1994
        return $this;
1995
    }
1996
1997
    /**
1998
     * @param string $value
1999
     *
2000
     * @return $this
2001
     */
2002
    public function withSubUserId($value)
2003
    {
2004
        $this->data['SubUserId'] = $value;
2005
        $this->options['query']['SubUserId'] = $value;
2006
2007
        return $this;
2008
    }
2009
2010
    /**
2011
     * @param string $value
2012
     *
2013
     * @return $this
2014
     */
2015
    public function withAccessToken($value)
2016
    {
2017
        $this->data['AccessToken'] = $value;
2018
        $this->options['query']['AccessToken'] = $value;
2019
2020
        return $this;
2021
    }
2022
}
2023
2024
/**
2025
 * @method string getOrganizationId()
2026
 * @method string getAccessToken()
2027
 * @method string getProjectId()
2028
 * @method $this withProjectId($value)
2029
 * @method string getSha()
2030
 * @method $this withSha($value)
2031
 */
2032
class GetRepositoryCommit extends Roa
2033
{
2034
    /** @var string */
2035
    public $pathPattern = '/api/v4/projects/[ProjectId]/repository/commits/[Sha]';
2036
2037
    /**
2038
     * @param string $value
2039
     *
2040
     * @return $this
2041
     */
2042
    public function withOrganizationId($value)
2043
    {
2044
        $this->data['OrganizationId'] = $value;
2045
        $this->options['query']['OrganizationId'] = $value;
2046
2047
        return $this;
2048
    }
2049
2050
    /**
2051
     * @param string $value
2052
     *
2053
     * @return $this
2054
     */
2055
    public function withAccessToken($value)
2056
    {
2057
        $this->data['AccessToken'] = $value;
2058
        $this->options['query']['AccessToken'] = $value;
2059
2060
        return $this;
2061
    }
2062
}
2063
2064
/**
2065
 * @method string getOrganizationId()
2066
 * @method string getIdentity()
2067
 * @method string getAccessToken()
2068
 */
2069
class GetRepositoryInfo extends Roa
2070
{
2071
    /** @var string */
2072
    public $pathPattern = '/api/v3/projects/info';
2073
2074
    /**
2075
     * @param string $value
2076
     *
2077
     * @return $this
2078
     */
2079
    public function withOrganizationId($value)
2080
    {
2081
        $this->data['OrganizationId'] = $value;
2082
        $this->options['query']['OrganizationId'] = $value;
2083
2084
        return $this;
2085
    }
2086
2087
    /**
2088
     * @param string $value
2089
     *
2090
     * @return $this
2091
     */
2092
    public function withIdentity($value)
2093
    {
2094
        $this->data['Identity'] = $value;
2095
        $this->options['query']['Identity'] = $value;
2096
2097
        return $this;
2098
    }
2099
2100
    /**
2101
     * @param string $value
2102
     *
2103
     * @return $this
2104
     */
2105
    public function withAccessToken($value)
2106
    {
2107
        $this->data['AccessToken'] = $value;
2108
        $this->options['query']['AccessToken'] = $value;
2109
2110
        return $this;
2111
    }
2112
}
2113
2114
/**
2115
 * @method string getOrganizationId()
2116
 * @method string getTagName()
2117
 * @method $this withTagName($value)
2118
 * @method string getAccessToken()
2119
 * @method string getProjectId()
2120
 * @method $this withProjectId($value)
2121
 */
2122
class GetRepositoryTag extends Roa
2123
{
2124
    /** @var string */
2125
    public $pathPattern = '/api/v3/projects/[ProjectId]/repository/tags/[TagName]';
2126
2127
    /**
2128
     * @param string $value
2129
     *
2130
     * @return $this
2131
     */
2132
    public function withOrganizationId($value)
2133
    {
2134
        $this->data['OrganizationId'] = $value;
2135
        $this->options['query']['OrganizationId'] = $value;
2136
2137
        return $this;
2138
    }
2139
2140
    /**
2141
     * @param string $value
2142
     *
2143
     * @return $this
2144
     */
2145
    public function withAccessToken($value)
2146
    {
2147
        $this->data['AccessToken'] = $value;
2148
        $this->options['query']['AccessToken'] = $value;
2149
2150
        return $this;
2151
    }
2152
}
2153
2154
/**
2155
 * @method string getOrganizationId()
2156
 * @method string getTagName()
2157
 * @method string getAccessToken()
2158
 * @method string getProjectId()
2159
 * @method $this withProjectId($value)
2160
 */
2161
class GetRepositoryTagV2 extends Roa
2162
{
2163
    /** @var string */
2164
    public $pathPattern = '/api/v3/projects/[ProjectId]/repository/tag/info';
2165
2166
    /**
2167
     * @param string $value
2168
     *
2169
     * @return $this
2170
     */
2171
    public function withOrganizationId($value)
2172
    {
2173
        $this->data['OrganizationId'] = $value;
2174
        $this->options['query']['OrganizationId'] = $value;
2175
2176
        return $this;
2177
    }
2178
2179
    /**
2180
     * @param string $value
2181
     *
2182
     * @return $this
2183
     */
2184
    public function withTagName($value)
2185
    {
2186
        $this->data['TagName'] = $value;
2187
        $this->options['query']['TagName'] = $value;
2188
2189
        return $this;
2190
    }
2191
2192
    /**
2193
     * @param string $value
2194
     *
2195
     * @return $this
2196
     */
2197
    public function withAccessToken($value)
2198
    {
2199
        $this->data['AccessToken'] = $value;
2200
        $this->options['query']['AccessToken'] = $value;
2201
2202
        return $this;
2203
    }
2204
}
2205
2206
/**
2207
 * @method string getOrganizationId()
2208
 * @method string getAccessToken()
2209
 */
2210
class GetUserInfo extends Roa
2211
{
2212
    /** @var string */
2213
    public $pathPattern = '/api/v3/user/current';
2214
2215
    /**
2216
     * @param string $value
2217
     *
2218
     * @return $this
2219
     */
2220
    public function withOrganizationId($value)
2221
    {
2222
        $this->data['OrganizationId'] = $value;
2223
        $this->options['query']['OrganizationId'] = $value;
2224
2225
        return $this;
2226
    }
2227
2228
    /**
2229
     * @param string $value
2230
     *
2231
     * @return $this
2232
     */
2233
    public function withAccessToken($value)
2234
    {
2235
        $this->data['AccessToken'] = $value;
2236
        $this->options['query']['AccessToken'] = $value;
2237
2238
        return $this;
2239
    }
2240
}
2241
2242
/**
2243
 * @method string getOrganizationId()
2244
 * @method string getSubUserId()
2245
 * @method string getGroupId()
2246
 * @method $this withGroupId($value)
2247
 * @method string getPageSize()
2248
 * @method string getAccessToken()
2249
 * @method string getPage()
2250
 */
2251
class ListGroupMember extends Roa
2252
{
2253
    /** @var string */
2254
    public $pathPattern = '/api/v3/groups/[GroupId]/members';
2255
2256
    /**
2257
     * @param string $value
2258
     *
2259
     * @return $this
2260
     */
2261
    public function withOrganizationId($value)
2262
    {
2263
        $this->data['OrganizationId'] = $value;
2264
        $this->options['query']['OrganizationId'] = $value;
2265
2266
        return $this;
2267
    }
2268
2269
    /**
2270
     * @param string $value
2271
     *
2272
     * @return $this
2273
     */
2274
    public function withSubUserId($value)
2275
    {
2276
        $this->data['SubUserId'] = $value;
2277
        $this->options['query']['SubUserId'] = $value;
2278
2279
        return $this;
2280
    }
2281
2282
    /**
2283
     * @param string $value
2284
     *
2285
     * @return $this
2286
     */
2287
    public function withPageSize($value)
2288
    {
2289
        $this->data['PageSize'] = $value;
2290
        $this->options['query']['PageSize'] = $value;
2291
2292
        return $this;
2293
    }
2294
2295
    /**
2296
     * @param string $value
2297
     *
2298
     * @return $this
2299
     */
2300
    public function withAccessToken($value)
2301
    {
2302
        $this->data['AccessToken'] = $value;
2303
        $this->options['query']['AccessToken'] = $value;
2304
2305
        return $this;
2306
    }
2307
2308
    /**
2309
     * @param string $value
2310
     *
2311
     * @return $this
2312
     */
2313
    public function withPage($value)
2314
    {
2315
        $this->data['Page'] = $value;
2316
        $this->options['query']['Page'] = $value;
2317
2318
        return $this;
2319
    }
2320
}
2321
2322
/**
2323
 * @method string getAccessToken()
2324
 * @method string getIsMember()
2325
 * @method string getOrganizationId()
2326
 * @method string getSearch()
2327
 * @method string getSubUserId()
2328
 * @method string getIdentity()
2329
 * @method $this withIdentity($value)
2330
 * @method string getPageSize()
2331
 * @method string getPage()
2332
 */
2333
class ListGroupRepositories extends Roa
2334
{
2335
    /** @var string */
2336
    public $pathPattern = '/api/v3/groups/[Identity]/projects';
2337
2338
    /**
2339
     * @param string $value
2340
     *
2341
     * @return $this
2342
     */
2343
    public function withAccessToken($value)
2344
    {
2345
        $this->data['AccessToken'] = $value;
2346
        $this->options['query']['AccessToken'] = $value;
2347
2348
        return $this;
2349
    }
2350
2351
    /**
2352
     * @param string $value
2353
     *
2354
     * @return $this
2355
     */
2356
    public function withIsMember($value)
2357
    {
2358
        $this->data['IsMember'] = $value;
2359
        $this->options['query']['IsMember'] = $value;
2360
2361
        return $this;
2362
    }
2363
2364
    /**
2365
     * @param string $value
2366
     *
2367
     * @return $this
2368
     */
2369
    public function withOrganizationId($value)
2370
    {
2371
        $this->data['OrganizationId'] = $value;
2372
        $this->options['query']['OrganizationId'] = $value;
2373
2374
        return $this;
2375
    }
2376
2377
    /**
2378
     * @param string $value
2379
     *
2380
     * @return $this
2381
     */
2382
    public function withSearch($value)
2383
    {
2384
        $this->data['Search'] = $value;
2385
        $this->options['query']['Search'] = $value;
2386
2387
        return $this;
2388
    }
2389
2390
    /**
2391
     * @param string $value
2392
     *
2393
     * @return $this
2394
     */
2395
    public function withSubUserId($value)
2396
    {
2397
        $this->data['SubUserId'] = $value;
2398
        $this->options['query']['SubUserId'] = $value;
2399
2400
        return $this;
2401
    }
2402
2403
    /**
2404
     * @param string $value
2405
     *
2406
     * @return $this
2407
     */
2408
    public function withPageSize($value)
2409
    {
2410
        $this->data['PageSize'] = $value;
2411
        $this->options['query']['PageSize'] = $value;
2412
2413
        return $this;
2414
    }
2415
2416
    /**
2417
     * @param string $value
2418
     *
2419
     * @return $this
2420
     */
2421
    public function withPage($value)
2422
    {
2423
        $this->data['Page'] = $value;
2424
        $this->options['query']['Page'] = $value;
2425
2426
        return $this;
2427
    }
2428
}
2429
2430
/**
2431
 * @method string getOrganizationId()
2432
 * @method string getIncludePersonal()
2433
 * @method string getSearch()
2434
 * @method string getSubUserId()
2435
 * @method string getPageSize()
2436
 * @method string getAccessToken()
2437
 * @method string getPage()
2438
 */
2439
class ListGroups extends Roa
2440
{
2441
    /** @var string */
2442
    public $pathPattern = '/api/v3/groups/all';
2443
2444
    /**
2445
     * @param string $value
2446
     *
2447
     * @return $this
2448
     */
2449
    public function withOrganizationId($value)
2450
    {
2451
        $this->data['OrganizationId'] = $value;
2452
        $this->options['query']['OrganizationId'] = $value;
2453
2454
        return $this;
2455
    }
2456
2457
    /**
2458
     * @param string $value
2459
     *
2460
     * @return $this
2461
     */
2462
    public function withIncludePersonal($value)
2463
    {
2464
        $this->data['IncludePersonal'] = $value;
2465
        $this->options['query']['IncludePersonal'] = $value;
2466
2467
        return $this;
2468
    }
2469
2470
    /**
2471
     * @param string $value
2472
     *
2473
     * @return $this
2474
     */
2475
    public function withSearch($value)
2476
    {
2477
        $this->data['Search'] = $value;
2478
        $this->options['query']['Search'] = $value;
2479
2480
        return $this;
2481
    }
2482
2483
    /**
2484
     * @param string $value
2485
     *
2486
     * @return $this
2487
     */
2488
    public function withSubUserId($value)
2489
    {
2490
        $this->data['SubUserId'] = $value;
2491
        $this->options['query']['SubUserId'] = $value;
2492
2493
        return $this;
2494
    }
2495
2496
    /**
2497
     * @param string $value
2498
     *
2499
     * @return $this
2500
     */
2501
    public function withPageSize($value)
2502
    {
2503
        $this->data['PageSize'] = $value;
2504
        $this->options['query']['PageSize'] = $value;
2505
2506
        return $this;
2507
    }
2508
2509
    /**
2510
     * @param string $value
2511
     *
2512
     * @return $this
2513
     */
2514
    public function withAccessToken($value)
2515
    {
2516
        $this->data['AccessToken'] = $value;
2517
        $this->options['query']['AccessToken'] = $value;
2518
2519
        return $this;
2520
    }
2521
2522
    /**
2523
     * @param string $value
2524
     *
2525
     * @return $this
2526
     */
2527
    public function withPage($value)
2528
    {
2529
        $this->data['Page'] = $value;
2530
        $this->options['query']['Page'] = $value;
2531
2532
        return $this;
2533
    }
2534
}
2535
2536
/**
2537
 * @method string getOrganizationId()
2538
 * @method string getMergeRequestId()
2539
 * @method $this withMergeRequestId($value)
2540
 * @method string getFromCommit()
2541
 * @method string getAccessToken()
2542
 * @method string getToCommit()
2543
 * @method string getProjectId()
2544
 * @method $this withProjectId($value)
2545
 */
2546
class ListMergeRequestComments extends Roa
2547
{
2548
    /** @var string */
2549
    public $pathPattern = '/api/v4/projects/[ProjectId]/merge_request/[MergeRequestId]/comments';
2550
2551
    /**
2552
     * @param string $value
2553
     *
2554
     * @return $this
2555
     */
2556
    public function withOrganizationId($value)
2557
    {
2558
        $this->data['OrganizationId'] = $value;
2559
        $this->options['query']['OrganizationId'] = $value;
2560
2561
        return $this;
2562
    }
2563
2564
    /**
2565
     * @param string $value
2566
     *
2567
     * @return $this
2568
     */
2569
    public function withFromCommit($value)
2570
    {
2571
        $this->data['FromCommit'] = $value;
2572
        $this->options['query']['FromCommit'] = $value;
2573
2574
        return $this;
2575
    }
2576
2577
    /**
2578
     * @param string $value
2579
     *
2580
     * @return $this
2581
     */
2582
    public function withAccessToken($value)
2583
    {
2584
        $this->data['AccessToken'] = $value;
2585
        $this->options['query']['AccessToken'] = $value;
2586
2587
        return $this;
2588
    }
2589
2590
    /**
2591
     * @param string $value
2592
     *
2593
     * @return $this
2594
     */
2595
    public function withToCommit($value)
2596
    {
2597
        $this->data['ToCommit'] = $value;
2598
        $this->options['query']['ToCommit'] = $value;
2599
2600
        return $this;
2601
    }
2602
}
2603
2604
/**
2605
 * @method string getBeforeDate()
2606
 * @method string getAssigneeIdList()
2607
 * @method string getAccessToken()
2608
 * @method string getSubscriberCodeupIdList()
2609
 * @method string getAfterDate()
2610
 * @method string getOrganizationId()
2611
 * @method string getGroupIdList()
2612
 * @method string getSearch()
2613
 * @method string getAuthorCodeupIdList()
2614
 * @method string getAuthorIdList()
2615
 * @method string getPageSize()
2616
 * @method string getProjectIdList()
2617
 * @method string getPage()
2618
 * @method string getAssigneeCodeupIdList()
2619
 * @method string getState()
2620
 * @method string getOrder()
2621
 */
2622
class ListMergeRequests extends Roa
2623
{
2624
    /** @var string */
2625
    public $pathPattern = '/api/v4/merge_requests/advanced_search';
2626
2627
    /**
2628
     * @param string $value
2629
     *
2630
     * @return $this
2631
     */
2632
    public function withBeforeDate($value)
2633
    {
2634
        $this->data['BeforeDate'] = $value;
2635
        $this->options['query']['BeforeDate'] = $value;
2636
2637
        return $this;
2638
    }
2639
2640
    /**
2641
     * @param string $value
2642
     *
2643
     * @return $this
2644
     */
2645
    public function withAssigneeIdList($value)
2646
    {
2647
        $this->data['AssigneeIdList'] = $value;
2648
        $this->options['query']['AssigneeIdList'] = $value;
2649
2650
        return $this;
2651
    }
2652
2653
    /**
2654
     * @param string $value
2655
     *
2656
     * @return $this
2657
     */
2658
    public function withAccessToken($value)
2659
    {
2660
        $this->data['AccessToken'] = $value;
2661
        $this->options['query']['AccessToken'] = $value;
2662
2663
        return $this;
2664
    }
2665
2666
    /**
2667
     * @param string $value
2668
     *
2669
     * @return $this
2670
     */
2671
    public function withSubscriberCodeupIdList($value)
2672
    {
2673
        $this->data['SubscriberCodeupIdList'] = $value;
2674
        $this->options['query']['SubscriberCodeupIdList'] = $value;
2675
2676
        return $this;
2677
    }
2678
2679
    /**
2680
     * @param string $value
2681
     *
2682
     * @return $this
2683
     */
2684
    public function withAfterDate($value)
2685
    {
2686
        $this->data['AfterDate'] = $value;
2687
        $this->options['query']['AfterDate'] = $value;
2688
2689
        return $this;
2690
    }
2691
2692
    /**
2693
     * @param string $value
2694
     *
2695
     * @return $this
2696
     */
2697
    public function withOrganizationId($value)
2698
    {
2699
        $this->data['OrganizationId'] = $value;
2700
        $this->options['query']['OrganizationId'] = $value;
2701
2702
        return $this;
2703
    }
2704
2705
    /**
2706
     * @param string $value
2707
     *
2708
     * @return $this
2709
     */
2710
    public function withGroupIdList($value)
2711
    {
2712
        $this->data['GroupIdList'] = $value;
2713
        $this->options['query']['GroupIdList'] = $value;
2714
2715
        return $this;
2716
    }
2717
2718
    /**
2719
     * @param string $value
2720
     *
2721
     * @return $this
2722
     */
2723
    public function withSearch($value)
2724
    {
2725
        $this->data['Search'] = $value;
2726
        $this->options['query']['Search'] = $value;
2727
2728
        return $this;
2729
    }
2730
2731
    /**
2732
     * @param string $value
2733
     *
2734
     * @return $this
2735
     */
2736
    public function withAuthorCodeupIdList($value)
2737
    {
2738
        $this->data['AuthorCodeupIdList'] = $value;
2739
        $this->options['query']['AuthorCodeupIdList'] = $value;
2740
2741
        return $this;
2742
    }
2743
2744
    /**
2745
     * @param string $value
2746
     *
2747
     * @return $this
2748
     */
2749
    public function withAuthorIdList($value)
2750
    {
2751
        $this->data['AuthorIdList'] = $value;
2752
        $this->options['query']['AuthorIdList'] = $value;
2753
2754
        return $this;
2755
    }
2756
2757
    /**
2758
     * @param string $value
2759
     *
2760
     * @return $this
2761
     */
2762
    public function withPageSize($value)
2763
    {
2764
        $this->data['PageSize'] = $value;
2765
        $this->options['query']['PageSize'] = $value;
2766
2767
        return $this;
2768
    }
2769
2770
    /**
2771
     * @param string $value
2772
     *
2773
     * @return $this
2774
     */
2775
    public function withProjectIdList($value)
2776
    {
2777
        $this->data['ProjectIdList'] = $value;
2778
        $this->options['query']['ProjectIdList'] = $value;
2779
2780
        return $this;
2781
    }
2782
2783
    /**
2784
     * @param string $value
2785
     *
2786
     * @return $this
2787
     */
2788
    public function withPage($value)
2789
    {
2790
        $this->data['Page'] = $value;
2791
        $this->options['query']['Page'] = $value;
2792
2793
        return $this;
2794
    }
2795
2796
    /**
2797
     * @param string $value
2798
     *
2799
     * @return $this
2800
     */
2801
    public function withAssigneeCodeupIdList($value)
2802
    {
2803
        $this->data['AssigneeCodeupIdList'] = $value;
2804
        $this->options['query']['AssigneeCodeupIdList'] = $value;
2805
2806
        return $this;
2807
    }
2808
2809
    /**
2810
     * @param string $value
2811
     *
2812
     * @return $this
2813
     */
2814
    public function withState($value)
2815
    {
2816
        $this->data['State'] = $value;
2817
        $this->options['query']['State'] = $value;
2818
2819
        return $this;
2820
    }
2821
2822
    /**
2823
     * @param string $value
2824
     *
2825
     * @return $this
2826
     */
2827
    public function withOrder($value)
2828
    {
2829
        $this->data['Order'] = $value;
2830
        $this->options['query']['Order'] = $value;
2831
2832
        return $this;
2833
    }
2834
}
2835
2836
/**
2837
 * @method string getAccessLevel()
2838
 * @method string getMinAccessLevel()
2839
 * @method string getAccessToken()
2840
 */
2841
class ListOrganizations extends Roa
2842
{
2843
    /** @var string */
2844
    public $pathPattern = '/api/v4/organization';
2845
2846
    /**
2847
     * @param string $value
2848
     *
2849
     * @return $this
2850
     */
2851
    public function withAccessLevel($value)
2852
    {
2853
        $this->data['AccessLevel'] = $value;
2854
        $this->options['query']['AccessLevel'] = $value;
2855
2856
        return $this;
2857
    }
2858
2859
    /**
2860
     * @param string $value
2861
     *
2862
     * @return $this
2863
     */
2864
    public function withMinAccessLevel($value)
2865
    {
2866
        $this->data['MinAccessLevel'] = $value;
2867
        $this->options['query']['MinAccessLevel'] = $value;
2868
2869
        return $this;
2870
    }
2871
2872
    /**
2873
     * @param string $value
2874
     *
2875
     * @return $this
2876
     */
2877
    public function withAccessToken($value)
2878
    {
2879
        $this->data['AccessToken'] = $value;
2880
        $this->options['query']['AccessToken'] = $value;
2881
2882
        return $this;
2883
    }
2884
}
2885
2886
/**
2887
 * @method string getAccessToken()
2888
 */
2889
class ListOrganizationSecurityScores extends Roa
2890
{
2891
    /** @var string */
2892
    public $pathPattern = '/api/v4/organization/security/scores';
2893
2894
    /**
2895
     * @param string $value
2896
     *
2897
     * @return $this
2898
     */
2899
    public function withAccessToken($value)
2900
    {
2901
        $this->data['AccessToken'] = $value;
2902
        $this->options['query']['AccessToken'] = $value;
2903
2904
        return $this;
2905
    }
2906
}
2907
2908
/**
2909
 * @method string getAccessToken()
2910
 * @method string getArchive()
2911
 * @method string getSort()
2912
 * @method string getOrganizationId()
2913
 * @method string getSearch()
2914
 * @method string getPageSize()
2915
 * @method string getPage()
2916
 * @method string getOrder()
2917
 */
2918
class ListRepositories extends Roa
2919
{
2920
    /** @var string */
2921
    public $pathPattern = '/api/v3/projects/all';
2922
2923
    /**
2924
     * @param string $value
2925
     *
2926
     * @return $this
2927
     */
2928
    public function withAccessToken($value)
2929
    {
2930
        $this->data['AccessToken'] = $value;
2931
        $this->options['query']['AccessToken'] = $value;
2932
2933
        return $this;
2934
    }
2935
2936
    /**
2937
     * @param string $value
2938
     *
2939
     * @return $this
2940
     */
2941
    public function withArchive($value)
2942
    {
2943
        $this->data['Archive'] = $value;
2944
        $this->options['query']['Archive'] = $value;
2945
2946
        return $this;
2947
    }
2948
2949
    /**
2950
     * @param string $value
2951
     *
2952
     * @return $this
2953
     */
2954
    public function withSort($value)
2955
    {
2956
        $this->data['Sort'] = $value;
2957
        $this->options['query']['Sort'] = $value;
2958
2959
        return $this;
2960
    }
2961
2962
    /**
2963
     * @param string $value
2964
     *
2965
     * @return $this
2966
     */
2967
    public function withOrganizationId($value)
2968
    {
2969
        $this->data['OrganizationId'] = $value;
2970
        $this->options['query']['OrganizationId'] = $value;
2971
2972
        return $this;
2973
    }
2974
2975
    /**
2976
     * @param string $value
2977
     *
2978
     * @return $this
2979
     */
2980
    public function withSearch($value)
2981
    {
2982
        $this->data['Search'] = $value;
2983
        $this->options['query']['Search'] = $value;
2984
2985
        return $this;
2986
    }
2987
2988
    /**
2989
     * @param string $value
2990
     *
2991
     * @return $this
2992
     */
2993
    public function withPageSize($value)
2994
    {
2995
        $this->data['PageSize'] = $value;
2996
        $this->options['query']['PageSize'] = $value;
2997
2998
        return $this;
2999
    }
3000
3001
    /**
3002
     * @param string $value
3003
     *
3004
     * @return $this
3005
     */
3006
    public function withPage($value)
3007
    {
3008
        $this->data['Page'] = $value;
3009
        $this->options['query']['Page'] = $value;
3010
3011
        return $this;
3012
    }
3013
3014
    /**
3015
     * @param string $value
3016
     *
3017
     * @return $this
3018
     */
3019
    public function withOrder($value)
3020
    {
3021
        $this->data['Order'] = $value;
3022
        $this->options['query']['Order'] = $value;
3023
3024
        return $this;
3025
    }
3026
}
3027
3028
/**
3029
 * @method string getOrganizationId()
3030
 * @method string getSearch()
3031
 * @method string getSubUserId()
3032
 * @method string getPageSize()
3033
 * @method string getAccessToken()
3034
 * @method string getPage()
3035
 * @method string getProjectId()
3036
 * @method $this withProjectId($value)
3037
 */
3038
class ListRepositoryBranches extends Roa
3039
{
3040
    /** @var string */
3041
    public $pathPattern = '/api/v3/projects/[ProjectId]/repository/branches';
3042
3043
    /**
3044
     * @param string $value
3045
     *
3046
     * @return $this
3047
     */
3048
    public function withOrganizationId($value)
3049
    {
3050
        $this->data['OrganizationId'] = $value;
3051
        $this->options['query']['OrganizationId'] = $value;
3052
3053
        return $this;
3054
    }
3055
3056
    /**
3057
     * @param string $value
3058
     *
3059
     * @return $this
3060
     */
3061
    public function withSearch($value)
3062
    {
3063
        $this->data['Search'] = $value;
3064
        $this->options['query']['Search'] = $value;
3065
3066
        return $this;
3067
    }
3068
3069
    /**
3070
     * @param string $value
3071
     *
3072
     * @return $this
3073
     */
3074
    public function withSubUserId($value)
3075
    {
3076
        $this->data['SubUserId'] = $value;
3077
        $this->options['query']['SubUserId'] = $value;
3078
3079
        return $this;
3080
    }
3081
3082
    /**
3083
     * @param string $value
3084
     *
3085
     * @return $this
3086
     */
3087
    public function withPageSize($value)
3088
    {
3089
        $this->data['PageSize'] = $value;
3090
        $this->options['query']['PageSize'] = $value;
3091
3092
        return $this;
3093
    }
3094
3095
    /**
3096
     * @param string $value
3097
     *
3098
     * @return $this
3099
     */
3100
    public function withAccessToken($value)
3101
    {
3102
        $this->data['AccessToken'] = $value;
3103
        $this->options['query']['AccessToken'] = $value;
3104
3105
        return $this;
3106
    }
3107
3108
    /**
3109
     * @param string $value
3110
     *
3111
     * @return $this
3112
     */
3113
    public function withPage($value)
3114
    {
3115
        $this->data['Page'] = $value;
3116
        $this->options['query']['Page'] = $value;
3117
3118
        return $this;
3119
    }
3120
}
3121
3122
/**
3123
 * @method string getOrganizationId()
3124
 * @method string getAccessToken()
3125
 * @method string getContextLine()
3126
 * @method string getProjectId()
3127
 * @method $this withProjectId($value)
3128
 * @method string getSha()
3129
 * @method $this withSha($value)
3130
 */
3131
class ListRepositoryCommitDiff extends Roa
3132
{
3133
    /** @var string */
3134
    public $pathPattern = '/api/v3/projects/[ProjectId]/repository/commits/[Sha]/diff';
3135
3136
    /**
3137
     * @param string $value
3138
     *
3139
     * @return $this
3140
     */
3141
    public function withOrganizationId($value)
3142
    {
3143
        $this->data['OrganizationId'] = $value;
3144
        $this->options['query']['OrganizationId'] = $value;
3145
3146
        return $this;
3147
    }
3148
3149
    /**
3150
     * @param string $value
3151
     *
3152
     * @return $this
3153
     */
3154
    public function withAccessToken($value)
3155
    {
3156
        $this->data['AccessToken'] = $value;
3157
        $this->options['query']['AccessToken'] = $value;
3158
3159
        return $this;
3160
    }
3161
3162
    /**
3163
     * @param string $value
3164
     *
3165
     * @return $this
3166
     */
3167
    public function withContextLine($value)
3168
    {
3169
        $this->data['ContextLine'] = $value;
3170
        $this->options['query']['ContextLine'] = $value;
3171
3172
        return $this;
3173
    }
3174
}
3175
3176
/**
3177
 * @method string getAccessToken()
3178
 * @method string getShowSignature()
3179
 * @method string getRefName()
3180
 * @method string getOrganizationId()
3181
 * @method string getPath()
3182
 * @method string getSearch()
3183
 * @method string getPageSize()
3184
 * @method string getPage()
3185
 * @method string getProjectId()
3186
 * @method $this withProjectId($value)
3187
 */
3188
class ListRepositoryCommits extends Roa
3189
{
3190
    /** @var string */
3191
    public $pathPattern = '/api/v4/projects/[ProjectId]/repository/commits';
3192
3193
    /**
3194
     * @param string $value
3195
     *
3196
     * @return $this
3197
     */
3198
    public function withAccessToken($value)
3199
    {
3200
        $this->data['AccessToken'] = $value;
3201
        $this->options['query']['AccessToken'] = $value;
3202
3203
        return $this;
3204
    }
3205
3206
    /**
3207
     * @param string $value
3208
     *
3209
     * @return $this
3210
     */
3211
    public function withShowSignature($value)
3212
    {
3213
        $this->data['ShowSignature'] = $value;
3214
        $this->options['query']['ShowSignature'] = $value;
3215
3216
        return $this;
3217
    }
3218
3219
    /**
3220
     * @param string $value
3221
     *
3222
     * @return $this
3223
     */
3224
    public function withRefName($value)
3225
    {
3226
        $this->data['RefName'] = $value;
3227
        $this->options['query']['RefName'] = $value;
3228
3229
        return $this;
3230
    }
3231
3232
    /**
3233
     * @param string $value
3234
     *
3235
     * @return $this
3236
     */
3237
    public function withOrganizationId($value)
3238
    {
3239
        $this->data['OrganizationId'] = $value;
3240
        $this->options['query']['OrganizationId'] = $value;
3241
3242
        return $this;
3243
    }
3244
3245
    /**
3246
     * @param string $value
3247
     *
3248
     * @return $this
3249
     */
3250
    public function withPath($value)
3251
    {
3252
        $this->data['Path'] = $value;
3253
        $this->options['query']['Path'] = $value;
3254
3255
        return $this;
3256
    }
3257
3258
    /**
3259
     * @param string $value
3260
     *
3261
     * @return $this
3262
     */
3263
    public function withSearch($value)
3264
    {
3265
        $this->data['Search'] = $value;
3266
        $this->options['query']['Search'] = $value;
3267
3268
        return $this;
3269
    }
3270
3271
    /**
3272
     * @param string $value
3273
     *
3274
     * @return $this
3275
     */
3276
    public function withPageSize($value)
3277
    {
3278
        $this->data['PageSize'] = $value;
3279
        $this->options['query']['PageSize'] = $value;
3280
3281
        return $this;
3282
    }
3283
3284
    /**
3285
     * @param string $value
3286
     *
3287
     * @return $this
3288
     */
3289
    public function withPage($value)
3290
    {
3291
        $this->data['Page'] = $value;
3292
        $this->options['query']['Page'] = $value;
3293
3294
        return $this;
3295
    }
3296
}
3297
3298
/**
3299
 * @method string getOrganizationId()
3300
 * @method string getSubUserId()
3301
 * @method string getQuery()
3302
 * @method string getPageSize()
3303
 * @method string getAccessToken()
3304
 * @method string getPage()
3305
 * @method string getProjectId()
3306
 * @method $this withProjectId($value)
3307
 */
3308
class ListRepositoryMember extends Roa
3309
{
3310
    /** @var string */
3311
    public $pathPattern = '/api/v3/projects/[ProjectId]/members';
3312
3313
    /**
3314
     * @param string $value
3315
     *
3316
     * @return $this
3317
     */
3318
    public function withOrganizationId($value)
3319
    {
3320
        $this->data['OrganizationId'] = $value;
3321
        $this->options['query']['OrganizationId'] = $value;
3322
3323
        return $this;
3324
    }
3325
3326
    /**
3327
     * @param string $value
3328
     *
3329
     * @return $this
3330
     */
3331
    public function withSubUserId($value)
3332
    {
3333
        $this->data['SubUserId'] = $value;
3334
        $this->options['query']['SubUserId'] = $value;
3335
3336
        return $this;
3337
    }
3338
3339
    /**
3340
     * @param string $value
3341
     *
3342
     * @return $this
3343
     */
3344
    public function withQuery($value)
3345
    {
3346
        $this->data['Query'] = $value;
3347
        $this->options['query']['Query'] = $value;
3348
3349
        return $this;
3350
    }
3351
3352
    /**
3353
     * @param string $value
3354
     *
3355
     * @return $this
3356
     */
3357
    public function withPageSize($value)
3358
    {
3359
        $this->data['PageSize'] = $value;
3360
        $this->options['query']['PageSize'] = $value;
3361
3362
        return $this;
3363
    }
3364
3365
    /**
3366
     * @param string $value
3367
     *
3368
     * @return $this
3369
     */
3370
    public function withAccessToken($value)
3371
    {
3372
        $this->data['AccessToken'] = $value;
3373
        $this->options['query']['AccessToken'] = $value;
3374
3375
        return $this;
3376
    }
3377
3378
    /**
3379
     * @param string $value
3380
     *
3381
     * @return $this
3382
     */
3383
    public function withPage($value)
3384
    {
3385
        $this->data['Page'] = $value;
3386
        $this->options['query']['Page'] = $value;
3387
3388
        return $this;
3389
    }
3390
}
3391
3392
/**
3393
 * @method string getOrganizationId()
3394
 * @method string getAccessToken()
3395
 * @method string getProjectId()
3396
 * @method $this withProjectId($value)
3397
 */
3398
class ListRepositoryMemberWithInherited extends Roa
3399
{
3400
    /** @var string */
3401
    public $pathPattern = '/api/v4/projects/[ProjectId]/all_members';
3402
3403
    /**
3404
     * @param string $value
3405
     *
3406
     * @return $this
3407
     */
3408
    public function withOrganizationId($value)
3409
    {
3410
        $this->data['OrganizationId'] = $value;
3411
        $this->options['query']['OrganizationId'] = $value;
3412
3413
        return $this;
3414
    }
3415
3416
    /**
3417
     * @param string $value
3418
     *
3419
     * @return $this
3420
     */
3421
    public function withAccessToken($value)
3422
    {
3423
        $this->data['AccessToken'] = $value;
3424
        $this->options['query']['AccessToken'] = $value;
3425
3426
        return $this;
3427
    }
3428
}
3429
3430
/**
3431
 * @method string getAccessToken()
3432
 * @method string getShowSignature()
3433
 * @method string getSort()
3434
 * @method string getOrganizationId()
3435
 * @method string getSearch()
3436
 * @method string getPageSize()
3437
 * @method string getPage()
3438
 * @method string getProjectId()
3439
 * @method $this withProjectId($value)
3440
 */
3441
class ListRepositoryTags extends Roa
3442
{
3443
    /** @var string */
3444
    public $pathPattern = '/api/v4/projects/[ProjectId]/repository/tags';
3445
3446
    /**
3447
     * @param string $value
3448
     *
3449
     * @return $this
3450
     */
3451
    public function withAccessToken($value)
3452
    {
3453
        $this->data['AccessToken'] = $value;
3454
        $this->options['query']['AccessToken'] = $value;
3455
3456
        return $this;
3457
    }
3458
3459
    /**
3460
     * @param string $value
3461
     *
3462
     * @return $this
3463
     */
3464
    public function withShowSignature($value)
3465
    {
3466
        $this->data['ShowSignature'] = $value;
3467
        $this->options['query']['ShowSignature'] = $value;
3468
3469
        return $this;
3470
    }
3471
3472
    /**
3473
     * @param string $value
3474
     *
3475
     * @return $this
3476
     */
3477
    public function withSort($value)
3478
    {
3479
        $this->data['Sort'] = $value;
3480
        $this->options['query']['Sort'] = $value;
3481
3482
        return $this;
3483
    }
3484
3485
    /**
3486
     * @param string $value
3487
     *
3488
     * @return $this
3489
     */
3490
    public function withOrganizationId($value)
3491
    {
3492
        $this->data['OrganizationId'] = $value;
3493
        $this->options['query']['OrganizationId'] = $value;
3494
3495
        return $this;
3496
    }
3497
3498
    /**
3499
     * @param string $value
3500
     *
3501
     * @return $this
3502
     */
3503
    public function withSearch($value)
3504
    {
3505
        $this->data['Search'] = $value;
3506
        $this->options['query']['Search'] = $value;
3507
3508
        return $this;
3509
    }
3510
3511
    /**
3512
     * @param string $value
3513
     *
3514
     * @return $this
3515
     */
3516
    public function withPageSize($value)
3517
    {
3518
        $this->data['PageSize'] = $value;
3519
        $this->options['query']['PageSize'] = $value;
3520
3521
        return $this;
3522
    }
3523
3524
    /**
3525
     * @param string $value
3526
     *
3527
     * @return $this
3528
     */
3529
    public function withPage($value)
3530
    {
3531
        $this->data['Page'] = $value;
3532
        $this->options['query']['Page'] = $value;
3533
3534
        return $this;
3535
    }
3536
}
3537
3538
/**
3539
 * @method string getOrganizationId()
3540
 * @method string getPath()
3541
 * @method string getSubUserId()
3542
 * @method string getAccessToken()
3543
 * @method string getType()
3544
 * @method string getProjectId()
3545
 * @method $this withProjectId($value)
3546
 * @method string getRefName()
3547
 */
3548
class ListRepositoryTree extends Roa
3549
{
3550
    /** @var string */
3551
    public $pathPattern = '/api/v4/projects/[ProjectId]/repository/tree';
3552
3553
    /**
3554
     * @param string $value
3555
     *
3556
     * @return $this
3557
     */
3558
    public function withOrganizationId($value)
3559
    {
3560
        $this->data['OrganizationId'] = $value;
3561
        $this->options['query']['OrganizationId'] = $value;
3562
3563
        return $this;
3564
    }
3565
3566
    /**
3567
     * @param string $value
3568
     *
3569
     * @return $this
3570
     */
3571
    public function withPath($value)
3572
    {
3573
        $this->data['Path'] = $value;
3574
        $this->options['query']['Path'] = $value;
3575
3576
        return $this;
3577
    }
3578
3579
    /**
3580
     * @param string $value
3581
     *
3582
     * @return $this
3583
     */
3584
    public function withSubUserId($value)
3585
    {
3586
        $this->data['SubUserId'] = $value;
3587
        $this->options['query']['SubUserId'] = $value;
3588
3589
        return $this;
3590
    }
3591
3592
    /**
3593
     * @param string $value
3594
     *
3595
     * @return $this
3596
     */
3597
    public function withAccessToken($value)
3598
    {
3599
        $this->data['AccessToken'] = $value;
3600
        $this->options['query']['AccessToken'] = $value;
3601
3602
        return $this;
3603
    }
3604
3605
    /**
3606
     * @param string $value
3607
     *
3608
     * @return $this
3609
     */
3610
    public function withType($value)
3611
    {
3612
        $this->data['Type'] = $value;
3613
        $this->options['query']['Type'] = $value;
3614
3615
        return $this;
3616
    }
3617
3618
    /**
3619
     * @param string $value
3620
     *
3621
     * @return $this
3622
     */
3623
    public function withRefName($value)
3624
    {
3625
        $this->data['RefName'] = $value;
3626
        $this->options['query']['RefName'] = $value;
3627
3628
        return $this;
3629
    }
3630
}
3631
3632
/**
3633
 * @method string getOrganizationId()
3634
 * @method string getPageSize()
3635
 * @method string getAccessToken()
3636
 * @method string getPage()
3637
 * @method string getProjectId()
3638
 * @method $this withProjectId($value)
3639
 */
3640
class ListRepositoryWebhook extends Roa
3641
{
3642
    /** @var string */
3643
    public $pathPattern = '/api/v3/projects/[ProjectId]/hooks';
3644
3645
    /**
3646
     * @param string $value
3647
     *
3648
     * @return $this
3649
     */
3650
    public function withOrganizationId($value)
3651
    {
3652
        $this->data['OrganizationId'] = $value;
3653
        $this->options['query']['OrganizationId'] = $value;
3654
3655
        return $this;
3656
    }
3657
3658
    /**
3659
     * @param string $value
3660
     *
3661
     * @return $this
3662
     */
3663
    public function withPageSize($value)
3664
    {
3665
        $this->data['PageSize'] = $value;
3666
        $this->options['query']['PageSize'] = $value;
3667
3668
        return $this;
3669
    }
3670
3671
    /**
3672
     * @param string $value
3673
     *
3674
     * @return $this
3675
     */
3676
    public function withAccessToken($value)
3677
    {
3678
        $this->data['AccessToken'] = $value;
3679
        $this->options['query']['AccessToken'] = $value;
3680
3681
        return $this;
3682
    }
3683
3684
    /**
3685
     * @param string $value
3686
     *
3687
     * @return $this
3688
     */
3689
    public function withPage($value)
3690
    {
3691
        $this->data['Page'] = $value;
3692
        $this->options['query']['Page'] = $value;
3693
3694
        return $this;
3695
    }
3696
}
3697
3698
/**
3699
 * @method string getOrganizationId()
3700
 * @method string getSubUserId()
3701
 * @method string getMergeRequestId()
3702
 * @method $this withMergeRequestId($value)
3703
 * @method string getAccessToken()
3704
 * @method string getProjectId()
3705
 * @method $this withProjectId($value)
3706
 */
3707
class MergeMergeRequest extends Roa
3708
{
3709
    /** @var string */
3710
    public $pathPattern = '/api/v3/projects/[ProjectId]/merge_request/[MergeRequestId]/merge';
3711
3712
    /** @var string */
3713
    public $method = 'PUT';
3714
3715
    /**
3716
     * @param string $value
3717
     *
3718
     * @return $this
3719
     */
3720
    public function withOrganizationId($value)
3721
    {
3722
        $this->data['OrganizationId'] = $value;
3723
        $this->options['query']['OrganizationId'] = $value;
3724
3725
        return $this;
3726
    }
3727
3728
    /**
3729
     * @param string $value
3730
     *
3731
     * @return $this
3732
     */
3733
    public function withSubUserId($value)
3734
    {
3735
        $this->data['SubUserId'] = $value;
3736
        $this->options['query']['SubUserId'] = $value;
3737
3738
        return $this;
3739
    }
3740
3741
    /**
3742
     * @param string $value
3743
     *
3744
     * @return $this
3745
     */
3746
    public function withAccessToken($value)
3747
    {
3748
        $this->data['AccessToken'] = $value;
3749
        $this->options['query']['AccessToken'] = $value;
3750
3751
        return $this;
3752
    }
3753
}
3754
3755
/**
3756
 * @method string getOrganizationId()
3757
 * @method string getSubUserId()
3758
 * @method string getAccessToken()
3759
 * @method string getProjectId()
3760
 * @method $this withProjectId($value)
3761
 */
3762
class UpdateFile extends Roa
3763
{
3764
    /** @var string */
3765
    public $pathPattern = '/api/v4/projects/[ProjectId]/repository/files';
3766
3767
    /** @var string */
3768
    public $method = 'PUT';
3769
3770
    /**
3771
     * @param string $value
3772
     *
3773
     * @return $this
3774
     */
3775
    public function withOrganizationId($value)
3776
    {
3777
        $this->data['OrganizationId'] = $value;
3778
        $this->options['query']['OrganizationId'] = $value;
3779
3780
        return $this;
3781
    }
3782
3783
    /**
3784
     * @param string $value
3785
     *
3786
     * @return $this
3787
     */
3788
    public function withSubUserId($value)
3789
    {
3790
        $this->data['SubUserId'] = $value;
3791
        $this->options['query']['SubUserId'] = $value;
3792
3793
        return $this;
3794
    }
3795
3796
    /**
3797
     * @param string $value
3798
     *
3799
     * @return $this
3800
     */
3801
    public function withAccessToken($value)
3802
    {
3803
        $this->data['AccessToken'] = $value;
3804
        $this->options['query']['AccessToken'] = $value;
3805
3806
        return $this;
3807
    }
3808
}
3809
3810
/**
3811
 * @method string getOrganizationId()
3812
 * @method string getSubUserId()
3813
 * @method string getGroupId()
3814
 * @method $this withGroupId($value)
3815
 * @method string getAccessToken()
3816
 * @method string getUserId()
3817
 * @method $this withUserId($value)
3818
 */
3819
class UpdateGroupMember extends Roa
3820
{
3821
    /** @var string */
3822
    public $pathPattern = '/api/v3/groups/[GroupId]/members/[UserId]';
3823
3824
    /** @var string */
3825
    public $method = 'PUT';
3826
3827
    /**
3828
     * @param string $value
3829
     *
3830
     * @return $this
3831
     */
3832
    public function withOrganizationId($value)
3833
    {
3834
        $this->data['OrganizationId'] = $value;
3835
        $this->options['query']['OrganizationId'] = $value;
3836
3837
        return $this;
3838
    }
3839
3840
    /**
3841
     * @param string $value
3842
     *
3843
     * @return $this
3844
     */
3845
    public function withSubUserId($value)
3846
    {
3847
        $this->data['SubUserId'] = $value;
3848
        $this->options['query']['SubUserId'] = $value;
3849
3850
        return $this;
3851
    }
3852
3853
    /**
3854
     * @param string $value
3855
     *
3856
     * @return $this
3857
     */
3858
    public function withAccessToken($value)
3859
    {
3860
        $this->data['AccessToken'] = $value;
3861
        $this->options['query']['AccessToken'] = $value;
3862
3863
        return $this;
3864
    }
3865
}
3866
3867
/**
3868
 * @method string getOrganizationId()
3869
 * @method string getMergeRequestId()
3870
 * @method $this withMergeRequestId($value)
3871
 * @method string getAccessToken()
3872
 * @method string getProjectId()
3873
 * @method $this withProjectId($value)
3874
 */
3875
class UpdateMergeRequest extends Roa
3876
{
3877
    /** @var string */
3878
    public $pathPattern = '/api/v3/projects/[ProjectId]/merge_request/[MergeRequestId]';
3879
3880
    /** @var string */
3881
    public $method = 'PUT';
3882
3883
    /**
3884
     * @param string $value
3885
     *
3886
     * @return $this
3887
     */
3888
    public function withOrganizationId($value)
3889
    {
3890
        $this->data['OrganizationId'] = $value;
3891
        $this->options['query']['OrganizationId'] = $value;
3892
3893
        return $this;
3894
    }
3895
3896
    /**
3897
     * @param string $value
3898
     *
3899
     * @return $this
3900
     */
3901
    public function withAccessToken($value)
3902
    {
3903
        $this->data['AccessToken'] = $value;
3904
        $this->options['query']['AccessToken'] = $value;
3905
3906
        return $this;
3907
    }
3908
}
3909
3910
/**
3911
 * @method string getOrganizationId()
3912
 * @method string getMergeRequestId()
3913
 * @method $this withMergeRequestId($value)
3914
 * @method string getAccessToken()
3915
 * @method string getNoteId()
3916
 * @method $this withNoteId($value)
3917
 * @method string getProjectId()
3918
 * @method $this withProjectId($value)
3919
 */
3920
class UpdateMergeRequestComment extends Roa
3921
{
3922
    /** @var string */
3923
    public $pathPattern = '/api/v3/projects/[ProjectId]/merge_requests/[MergeRequestId]/notes/[NoteId]';
3924
3925
    /** @var string */
3926
    public $method = 'PUT';
3927
3928
    /**
3929
     * @param string $value
3930
     *
3931
     * @return $this
3932
     */
3933
    public function withOrganizationId($value)
3934
    {
3935
        $this->data['OrganizationId'] = $value;
3936
        $this->options['query']['OrganizationId'] = $value;
3937
3938
        return $this;
3939
    }
3940
3941
    /**
3942
     * @param string $value
3943
     *
3944
     * @return $this
3945
     */
3946
    public function withAccessToken($value)
3947
    {
3948
        $this->data['AccessToken'] = $value;
3949
        $this->options['query']['AccessToken'] = $value;
3950
3951
        return $this;
3952
    }
3953
}
3954
3955
/**
3956
 * @method string getOrganizationId()
3957
 * @method string getAccessToken()
3958
 * @method string getProjectId()
3959
 * @method $this withProjectId($value)
3960
 */
3961
class UpdateMergeRequestSetting extends Roa
3962
{
3963
    /** @var string */
3964
    public $pathPattern = '/api/v4/projects/[ProjectId]/settings/merge_requests';
3965
3966
    /** @var string */
3967
    public $method = 'PUT';
3968
3969
    /**
3970
     * @param string $value
3971
     *
3972
     * @return $this
3973
     */
3974
    public function withOrganizationId($value)
3975
    {
3976
        $this->data['OrganizationId'] = $value;
3977
        $this->options['query']['OrganizationId'] = $value;
3978
3979
        return $this;
3980
    }
3981
3982
    /**
3983
     * @param string $value
3984
     *
3985
     * @return $this
3986
     */
3987
    public function withAccessToken($value)
3988
    {
3989
        $this->data['AccessToken'] = $value;
3990
        $this->options['query']['AccessToken'] = $value;
3991
3992
        return $this;
3993
    }
3994
}
3995
3996
/**
3997
 * @method string getOrganizationId()
3998
 * @method string getAccessToken()
3999
 * @method string getProjectId()
4000
 * @method $this withProjectId($value)
4001
 */
4002
class UpdateRepository extends Roa
4003
{
4004
    /** @var string */
4005
    public $pathPattern = '/api/v3/projects/[ProjectId]';
4006
4007
    /** @var string */
4008
    public $method = 'PUT';
4009
4010
    /**
4011
     * @param string $value
4012
     *
4013
     * @return $this
4014
     */
4015
    public function withOrganizationId($value)
4016
    {
4017
        $this->data['OrganizationId'] = $value;
4018
        $this->options['query']['OrganizationId'] = $value;
4019
4020
        return $this;
4021
    }
4022
4023
    /**
4024
     * @param string $value
4025
     *
4026
     * @return $this
4027
     */
4028
    public function withAccessToken($value)
4029
    {
4030
        $this->data['AccessToken'] = $value;
4031
        $this->options['query']['AccessToken'] = $value;
4032
4033
        return $this;
4034
    }
4035
}
4036
4037
/**
4038
 * @method string getOrganizationId()
4039
 * @method string getSubUserId()
4040
 * @method string getAccessToken()
4041
 * @method string getProjectId()
4042
 * @method $this withProjectId($value)
4043
 * @method string getUserId()
4044
 * @method $this withUserId($value)
4045
 */
4046
class UpdateRepositoryMember extends Roa
4047
{
4048
    /** @var string */
4049
    public $pathPattern = '/api/v3/projects/[ProjectId]/members/[UserId]';
4050
4051
    /** @var string */
4052
    public $method = 'PUT';
4053
4054
    /**
4055
     * @param string $value
4056
     *
4057
     * @return $this
4058
     */
4059
    public function withOrganizationId($value)
4060
    {
4061
        $this->data['OrganizationId'] = $value;
4062
        $this->options['query']['OrganizationId'] = $value;
4063
4064
        return $this;
4065
    }
4066
4067
    /**
4068
     * @param string $value
4069
     *
4070
     * @return $this
4071
     */
4072
    public function withSubUserId($value)
4073
    {
4074
        $this->data['SubUserId'] = $value;
4075
        $this->options['query']['SubUserId'] = $value;
4076
4077
        return $this;
4078
    }
4079
4080
    /**
4081
     * @param string $value
4082
     *
4083
     * @return $this
4084
     */
4085
    public function withAccessToken($value)
4086
    {
4087
        $this->data['AccessToken'] = $value;
4088
        $this->options['query']['AccessToken'] = $value;
4089
4090
        return $this;
4091
    }
4092
}
4093