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 ( d8560b...d152b1 )
by
unknown
06:18
created

ListMergeRequestComments   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 55
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 4
eloc 14
dl 0
loc 55
rs 10
c 0
b 0
f 0

4 Methods

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