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 ( 97785b...8159a2 )
by
unknown
07:48
created

ListOrganizationSecurityScores   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 5
dl 0
loc 16
rs 10
c 0
b 0
f 0

1 Method

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