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 ( 96d7c3...9b1b57 )
by
unknown
07:54
created

ListRepositoryCommitDiff::withOrganizationId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

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