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 ( 025500...0fdf03 )
by
unknown
06:37
created

ListRepositories   A

Complexity

Total Complexity 8

Size/Duplication

Total Lines 107
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 8
eloc 26
dl 0
loc 107
rs 10
c 0
b 0
f 0

8 Methods

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