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 ( 86d4ab...6bd612 )
by
unknown
05:53
created

UpdateRepository   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 32
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 9
dl 0
loc 32
rs 10
c 0
b 0
f 0

2 Methods

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