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 ( 4b2710...7d8e83 )
by
unknown
38:25
created

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