1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace AlibabaCloud\Cr\V20160607; |
4
|
|
|
|
5
|
|
|
use AlibabaCloud\Client\Resolver\ApiResolver; |
6
|
|
|
|
7
|
|
|
/** |
8
|
|
|
* @method DeleteUserSourceAccount deleteUserSourceAccount(array $options = []) |
9
|
|
|
* @method GetRepoSyncTaskList getRepoSyncTaskList(array $options = []) |
10
|
|
|
* @method DeleteImage deleteImage(array $options = []) |
11
|
|
|
* @method GetAuthorizationToken getAuthorizationToken(array $options = []) |
12
|
|
|
* @method UpdateRepoSourceRepo updateRepoSourceRepo(array $options = []) |
13
|
|
|
* @method UpdateUserInfo updateUserInfo(array $options = []) |
14
|
|
|
* @method UpdateRepoWebhook updateRepoWebhook(array $options = []) |
15
|
|
|
* @method UpdateRepoBuildRule updateRepoBuildRule(array $options = []) |
16
|
|
|
* @method UpdateRepoAuthorization updateRepoAuthorization(array $options = []) |
17
|
|
|
* @method UpdateRepo updateRepo(array $options = []) |
18
|
|
|
* @method UpdateNamespaceAuthorization updateNamespaceAuthorization(array $options = []) |
19
|
|
|
* @method UpdateNamespace updateNamespace(array $options = []) |
20
|
|
|
* @method StartRepoBuildByRule startRepoBuildByRule(array $options = []) |
21
|
|
|
* @method StartImageScan startImageScan(array $options = []) |
22
|
|
|
* @method SearchRepo searchRepo(array $options = []) |
23
|
|
|
* @method GetUserSourceRepoRefList getUserSourceRepoRefList(array $options = []) |
24
|
|
|
* @method GetUserSourceRepoList getUserSourceRepoList(array $options = []) |
25
|
|
|
* @method GetUserSourceAccount getUserSourceAccount(array $options = []) |
26
|
|
|
* @method GetSubUserList getSubUserList(array $options = []) |
27
|
|
|
* @method GetRepoWebhookLogList getRepoWebhookLogList(array $options = []) |
28
|
|
|
* @method GetRepoSourceRepo getRepoSourceRepo(array $options = []) |
29
|
|
|
* @method GetRepoBuildRuleList getRepoBuildRuleList(array $options = []) |
30
|
|
|
* @method GetRepoBuildList getRepoBuildList(array $options = []) |
31
|
|
|
* @method GetNamespace getNamespace(array $options = []) |
32
|
|
|
* @method GetMirrorList getMirrorList(array $options = []) |
33
|
|
|
* @method GetImageScan getImageScan(array $options = []) |
34
|
|
|
* @method GetImageLayer getImageLayer(array $options = []) |
35
|
|
|
* @method DeleteRepoBuildRule deleteRepoBuildRule(array $options = []) |
36
|
|
|
* @method DeleteNamespace deleteNamespace(array $options = []) |
37
|
|
|
* @method CreateUserSourceAccount createUserSourceAccount(array $options = []) |
38
|
|
|
* @method CreateUserInfo createUserInfo(array $options = []) |
39
|
|
|
* @method CreateRepoBuildRule createRepoBuildRule(array $options = []) |
40
|
|
|
* @method CancelRepoBuild cancelRepoBuild(array $options = []) |
41
|
|
|
* @method GetRepoBatch getRepoBatch(array $options = []) |
42
|
|
|
* @method GetImageManifest getImageManifest(array $options = []) |
43
|
|
|
* @method GetCollection getCollection(array $options = []) |
44
|
|
|
* @method DeleteCollection deleteCollection(array $options = []) |
45
|
|
|
* @method CreateCollection createCollection(array $options = []) |
46
|
|
|
* @method GetSearch getSearch(array $options = []) |
47
|
|
|
* @method CreateNamespace createNamespace(array $options = []) |
48
|
|
|
* @method GetRepoWebhook getRepoWebhook(array $options = []) |
49
|
|
|
* @method DeleteRepoWebhook deleteRepoWebhook(array $options = []) |
50
|
|
|
* @method GetRepo getRepo(array $options = []) |
51
|
|
|
* @method GetNamespaceList getNamespaceList(array $options = []) |
52
|
|
|
* @method GetRepoListByNamespace getRepoListByNamespace(array $options = []) |
53
|
|
|
* @method GetRepoSyncTask getRepoSyncTask(array $options = []) |
54
|
|
|
* @method GetRegion getRegion(array $options = []) |
55
|
|
|
* @method CreateRepoSyncTask createRepoSyncTask(array $options = []) |
56
|
|
|
* @method GetRepoAuthorizationList getRepoAuthorizationList(array $options = []) |
57
|
|
|
* @method GetRegionList getRegionList(array $options = []) |
58
|
|
|
* @method GetNamespaceAuthorizationList getNamespaceAuthorizationList(array $options = []) |
59
|
|
|
* @method DeleteRepoAuthorization deleteRepoAuthorization(array $options = []) |
60
|
|
|
* @method DeleteRepo deleteRepo(array $options = []) |
61
|
|
|
* @method DeleteNamespaceAuthorization deleteNamespaceAuthorization(array $options = []) |
62
|
|
|
* @method CreateRepoWebhook createRepoWebhook(array $options = []) |
63
|
|
|
* @method CreateRepoAuthorization createRepoAuthorization(array $options = []) |
64
|
|
|
* @method CreateNamespaceAuthorization createNamespaceAuthorization(array $options = []) |
65
|
|
|
* @method StartRepoBuild startRepoBuild(array $options = []) |
66
|
|
|
* @method GetUserInfo getUserInfo(array $options = []) |
67
|
|
|
* @method GetRepoTags getRepoTags(array $options = []) |
68
|
|
|
* @method GetRepoList getRepoList(array $options = []) |
69
|
|
|
* @method GetRepoBuildStatus getRepoBuildStatus(array $options = []) |
70
|
|
|
* @method GetRepoBuildLogs getRepoBuildLogs(array $options = []) |
71
|
|
|
* @method CreateRepo createRepo(array $options = []) |
72
|
|
|
*/ |
73
|
|
|
class CrApiResolver extends ApiResolver |
74
|
|
|
{ |
75
|
|
|
} |
76
|
|
|
|
77
|
|
|
class Roa extends \AlibabaCloud\Client\Resolver\Roa |
78
|
|
|
{ |
79
|
|
|
/** @var string */ |
80
|
|
|
public $product = 'cr'; |
81
|
|
|
|
82
|
|
|
/** @var string */ |
83
|
|
|
public $version = '2016-06-07'; |
84
|
|
|
|
85
|
|
|
/** @var string */ |
86
|
|
|
public $serviceCode = 'cr'; |
87
|
|
|
} |
88
|
|
|
|
89
|
|
|
/** |
90
|
|
|
* @method string getSourceAccountId() |
91
|
|
|
* @method $this withSourceAccountId($value) |
92
|
|
|
*/ |
93
|
|
|
class DeleteUserSourceAccount extends Roa |
94
|
|
|
{ |
95
|
|
|
/** @var string */ |
96
|
|
|
public $pathPattern = '/users/sourceAccount/[SourceAccountId]'; |
97
|
|
|
|
98
|
|
|
/** @var string */ |
99
|
|
|
public $method = 'DELETE'; |
100
|
|
|
} |
101
|
|
|
|
102
|
|
|
/** |
103
|
|
|
* @method string getRepoNamespace() |
104
|
|
|
* @method $this withRepoNamespace($value) |
105
|
|
|
* @method string getRepoName() |
106
|
|
|
* @method $this withRepoName($value) |
107
|
|
|
* @method string getPageSize() |
108
|
|
|
* @method string getPage() |
109
|
|
|
*/ |
110
|
|
|
class GetRepoSyncTaskList extends Roa |
111
|
|
|
{ |
112
|
|
|
/** @var string */ |
113
|
|
|
public $pathPattern = '/repos/[RepoNamespace]/[RepoName]/syncTasks'; |
114
|
|
|
|
115
|
|
|
/** |
116
|
|
|
* @param string $value |
117
|
|
|
* |
118
|
|
|
* @return $this |
119
|
|
|
*/ |
120
|
|
|
public function withPageSize($value) |
121
|
|
|
{ |
122
|
|
|
$this->data['PageSize'] = $value; |
123
|
|
|
$this->options['query']['PageSize'] = $value; |
124
|
|
|
|
125
|
|
|
return $this; |
126
|
|
|
} |
127
|
|
|
|
128
|
|
|
/** |
129
|
|
|
* @param string $value |
130
|
|
|
* |
131
|
|
|
* @return $this |
132
|
|
|
*/ |
133
|
|
|
public function withPage($value) |
134
|
|
|
{ |
135
|
|
|
$this->data['Page'] = $value; |
136
|
|
|
$this->options['query']['Page'] = $value; |
137
|
|
|
|
138
|
|
|
return $this; |
139
|
|
|
} |
140
|
|
|
} |
141
|
|
|
|
142
|
|
|
/** |
143
|
|
|
* @method string getRepoNamespace() |
144
|
|
|
* @method $this withRepoNamespace($value) |
145
|
|
|
* @method string getRepoName() |
146
|
|
|
* @method $this withRepoName($value) |
147
|
|
|
* @method string getTag() |
148
|
|
|
* @method $this withTag($value) |
149
|
|
|
*/ |
150
|
|
|
class DeleteImage extends Roa |
151
|
|
|
{ |
152
|
|
|
/** @var string */ |
153
|
|
|
public $pathPattern = '/repos/[RepoNamespace]/[RepoName]/tags/[Tag]'; |
154
|
|
|
|
155
|
|
|
/** @var string */ |
156
|
|
|
public $method = 'DELETE'; |
157
|
|
|
} |
158
|
|
|
|
159
|
|
|
class GetAuthorizationToken extends Roa |
160
|
|
|
{ |
161
|
|
|
/** @var string */ |
162
|
|
|
public $pathPattern = '/tokens'; |
163
|
|
|
} |
164
|
|
|
|
165
|
|
|
/** |
166
|
|
|
* @method string getRepoNamespace() |
167
|
|
|
* @method $this withRepoNamespace($value) |
168
|
|
|
* @method string getRepoName() |
169
|
|
|
* @method $this withRepoName($value) |
170
|
|
|
*/ |
171
|
|
|
class UpdateRepoSourceRepo extends Roa |
172
|
|
|
{ |
173
|
|
|
/** @var string */ |
174
|
|
|
public $pathPattern = '/repos/[RepoNamespace]/[RepoName]/sourceRepo'; |
175
|
|
|
|
176
|
|
|
/** @var string */ |
177
|
|
|
public $method = 'POST'; |
178
|
|
|
} |
179
|
|
|
|
180
|
|
|
class UpdateUserInfo extends Roa |
181
|
|
|
{ |
182
|
|
|
/** @var string */ |
183
|
|
|
public $pathPattern = '/users'; |
184
|
|
|
|
185
|
|
|
/** @var string */ |
186
|
|
|
public $method = 'POST'; |
187
|
|
|
} |
188
|
|
|
|
189
|
|
|
/** |
190
|
|
|
* @method string getRepoNamespace() |
191
|
|
|
* @method $this withRepoNamespace($value) |
192
|
|
|
* @method string getWebhookId() |
193
|
|
|
* @method $this withWebhookId($value) |
194
|
|
|
* @method string getRepoName() |
195
|
|
|
* @method $this withRepoName($value) |
196
|
|
|
*/ |
197
|
|
|
class UpdateRepoWebhook extends Roa |
198
|
|
|
{ |
199
|
|
|
/** @var string */ |
200
|
|
|
public $pathPattern = '/repos/[RepoNamespace]/[RepoName]/webhooks/[WebhookId]'; |
201
|
|
|
|
202
|
|
|
/** @var string */ |
203
|
|
|
public $method = 'POST'; |
204
|
|
|
} |
205
|
|
|
|
206
|
|
|
/** |
207
|
|
|
* @method string getRepoNamespace() |
208
|
|
|
* @method $this withRepoNamespace($value) |
209
|
|
|
* @method string getRepoName() |
210
|
|
|
* @method $this withRepoName($value) |
211
|
|
|
* @method string getBuildRuleId() |
212
|
|
|
* @method $this withBuildRuleId($value) |
213
|
|
|
*/ |
214
|
|
|
class UpdateRepoBuildRule extends Roa |
215
|
|
|
{ |
216
|
|
|
/** @var string */ |
217
|
|
|
public $pathPattern = '/repos/[RepoNamespace]/[RepoName]/rules/[BuildRuleId]'; |
218
|
|
|
|
219
|
|
|
/** @var string */ |
220
|
|
|
public $method = 'POST'; |
221
|
|
|
} |
222
|
|
|
|
223
|
|
|
/** |
224
|
|
|
* @method string getRepoNamespace() |
225
|
|
|
* @method $this withRepoNamespace($value) |
226
|
|
|
* @method string getRepoName() |
227
|
|
|
* @method $this withRepoName($value) |
228
|
|
|
* @method string getAuthorizeId() |
229
|
|
|
* @method $this withAuthorizeId($value) |
230
|
|
|
*/ |
231
|
|
|
class UpdateRepoAuthorization extends Roa |
232
|
|
|
{ |
233
|
|
|
/** @var string */ |
234
|
|
|
public $pathPattern = '/repos/[RepoNamespace]/[RepoName]/authorizations/[AuthorizeId]'; |
235
|
|
|
|
236
|
|
|
/** @var string */ |
237
|
|
|
public $method = 'POST'; |
238
|
|
|
} |
239
|
|
|
|
240
|
|
|
/** |
241
|
|
|
* @method string getRepoNamespace() |
242
|
|
|
* @method $this withRepoNamespace($value) |
243
|
|
|
* @method string getRepoName() |
244
|
|
|
* @method $this withRepoName($value) |
245
|
|
|
*/ |
246
|
|
|
class UpdateRepo extends Roa |
247
|
|
|
{ |
248
|
|
|
/** @var string */ |
249
|
|
|
public $pathPattern = '/repos/[RepoNamespace]/[RepoName]'; |
250
|
|
|
|
251
|
|
|
/** @var string */ |
252
|
|
|
public $method = 'POST'; |
253
|
|
|
} |
254
|
|
|
|
255
|
|
|
/** |
256
|
|
|
* @method string getAuthorizeId() |
257
|
|
|
* @method $this withAuthorizeId($value) |
258
|
|
|
* @method string getNamespace() |
259
|
|
|
* @method $this withNamespace($value) |
260
|
|
|
*/ |
261
|
|
|
class UpdateNamespaceAuthorization extends Roa |
262
|
|
|
{ |
263
|
|
|
/** @var string */ |
264
|
|
|
public $pathPattern = '/namespace/[Namespace]/authorizations/[AuthorizeId]'; |
265
|
|
|
|
266
|
|
|
/** @var string */ |
267
|
|
|
public $method = 'POST'; |
268
|
|
|
} |
269
|
|
|
|
270
|
|
|
/** |
271
|
|
|
* @method string getNamespace() |
272
|
|
|
* @method $this withNamespace($value) |
273
|
|
|
*/ |
274
|
|
|
class UpdateNamespace extends Roa |
275
|
|
|
{ |
276
|
|
|
/** @var string */ |
277
|
|
|
public $pathPattern = '/namespace/[Namespace]'; |
278
|
|
|
|
279
|
|
|
/** @var string */ |
280
|
|
|
public $method = 'POST'; |
281
|
|
|
} |
282
|
|
|
|
283
|
|
|
/** |
284
|
|
|
* @method string getRepoNamespace() |
285
|
|
|
* @method $this withRepoNamespace($value) |
286
|
|
|
* @method string getRepoName() |
287
|
|
|
* @method $this withRepoName($value) |
288
|
|
|
* @method string getBuildRuleId() |
289
|
|
|
* @method $this withBuildRuleId($value) |
290
|
|
|
*/ |
291
|
|
|
class StartRepoBuildByRule extends Roa |
292
|
|
|
{ |
293
|
|
|
/** @var string */ |
294
|
|
|
public $pathPattern = '/repos/[RepoNamespace]/[RepoName]/rules/[BuildRuleId]/build'; |
295
|
|
|
|
296
|
|
|
/** @var string */ |
297
|
|
|
public $method = 'PUT'; |
298
|
|
|
} |
299
|
|
|
|
300
|
|
|
/** |
301
|
|
|
* @method string getRepoNamespace() |
302
|
|
|
* @method $this withRepoNamespace($value) |
303
|
|
|
* @method string getRepoName() |
304
|
|
|
* @method $this withRepoName($value) |
305
|
|
|
* @method string getTag() |
306
|
|
|
* @method $this withTag($value) |
307
|
|
|
*/ |
308
|
|
|
class StartImageScan extends Roa |
309
|
|
|
{ |
310
|
|
|
/** @var string */ |
311
|
|
|
public $pathPattern = '/repos/[RepoNamespace]/[RepoName]/tags/[Tag]/scan'; |
312
|
|
|
|
313
|
|
|
/** @var string */ |
314
|
|
|
public $method = 'PUT'; |
315
|
|
|
} |
316
|
|
|
|
317
|
|
|
/** |
318
|
|
|
* @method string getOrigin() |
319
|
|
|
* @method string getPageSize() |
320
|
|
|
* @method string getPage() |
321
|
|
|
* @method string getKeyword() |
322
|
|
|
*/ |
323
|
|
|
class SearchRepo extends Roa |
324
|
|
|
{ |
325
|
|
|
/** @var string */ |
326
|
|
|
public $pathPattern = '/search'; |
327
|
|
|
|
328
|
|
|
/** |
329
|
|
|
* @param string $value |
330
|
|
|
* |
331
|
|
|
* @return $this |
332
|
|
|
*/ |
333
|
|
|
public function withOrigin($value) |
334
|
|
|
{ |
335
|
|
|
$this->data['Origin'] = $value; |
336
|
|
|
$this->options['query']['Origin'] = $value; |
337
|
|
|
|
338
|
|
|
return $this; |
339
|
|
|
} |
340
|
|
|
|
341
|
|
|
/** |
342
|
|
|
* @param string $value |
343
|
|
|
* |
344
|
|
|
* @return $this |
345
|
|
|
*/ |
346
|
|
|
public function withPageSize($value) |
347
|
|
|
{ |
348
|
|
|
$this->data['PageSize'] = $value; |
349
|
|
|
$this->options['query']['PageSize'] = $value; |
350
|
|
|
|
351
|
|
|
return $this; |
352
|
|
|
} |
353
|
|
|
|
354
|
|
|
/** |
355
|
|
|
* @param string $value |
356
|
|
|
* |
357
|
|
|
* @return $this |
358
|
|
|
*/ |
359
|
|
|
public function withPage($value) |
360
|
|
|
{ |
361
|
|
|
$this->data['Page'] = $value; |
362
|
|
|
$this->options['query']['Page'] = $value; |
363
|
|
|
|
364
|
|
|
return $this; |
365
|
|
|
} |
366
|
|
|
|
367
|
|
|
/** |
368
|
|
|
* @param string $value |
369
|
|
|
* |
370
|
|
|
* @return $this |
371
|
|
|
*/ |
372
|
|
|
public function withKeyword($value) |
373
|
|
|
{ |
374
|
|
|
$this->data['Keyword'] = $value; |
375
|
|
|
$this->options['query']['Keyword'] = $value; |
376
|
|
|
|
377
|
|
|
return $this; |
378
|
|
|
} |
379
|
|
|
} |
380
|
|
|
|
381
|
|
|
/** |
382
|
|
|
* @method string getSourceAccountId() |
383
|
|
|
* @method $this withSourceAccountId($value) |
384
|
|
|
* @method string getSourceRepoName() |
385
|
|
|
* @method $this withSourceRepoName($value) |
386
|
|
|
* @method string getSourceRepoNamespace() |
387
|
|
|
* @method $this withSourceRepoNamespace($value) |
388
|
|
|
*/ |
389
|
|
|
class GetUserSourceRepoRefList extends Roa |
390
|
|
|
{ |
391
|
|
|
/** @var string */ |
392
|
|
|
public $pathPattern = '/users/sourceAccount/[SourceAccountId]/repos/[SourceRepoNamespace]/[SourceRepoName]/refs'; |
393
|
|
|
} |
394
|
|
|
|
395
|
|
|
/** |
396
|
|
|
* @method string getSourceAccountId() |
397
|
|
|
* @method $this withSourceAccountId($value) |
398
|
|
|
*/ |
399
|
|
|
class GetUserSourceRepoList extends Roa |
400
|
|
|
{ |
401
|
|
|
/** @var string */ |
402
|
|
|
public $pathPattern = '/users/sourceAccount/[SourceAccountId]/repos'; |
403
|
|
|
} |
404
|
|
|
|
405
|
|
|
/** |
406
|
|
|
* @method string getSourceOriginType() |
407
|
|
|
*/ |
408
|
|
|
class GetUserSourceAccount extends Roa |
409
|
|
|
{ |
410
|
|
|
/** @var string */ |
411
|
|
|
public $pathPattern = '/users/sourceAccount'; |
412
|
|
|
|
413
|
|
|
/** |
414
|
|
|
* @param string $value |
415
|
|
|
* |
416
|
|
|
* @return $this |
417
|
|
|
*/ |
418
|
|
|
public function withSourceOriginType($value) |
419
|
|
|
{ |
420
|
|
|
$this->data['SourceOriginType'] = $value; |
421
|
|
|
$this->options['query']['SourceOriginType'] = $value; |
422
|
|
|
|
423
|
|
|
return $this; |
424
|
|
|
} |
425
|
|
|
} |
426
|
|
|
|
427
|
|
|
class GetSubUserList extends Roa |
428
|
|
|
{ |
429
|
|
|
/** @var string */ |
430
|
|
|
public $pathPattern = '/users/subAccount'; |
431
|
|
|
} |
432
|
|
|
|
433
|
|
|
/** |
434
|
|
|
* @method string getRepoNamespace() |
435
|
|
|
* @method $this withRepoNamespace($value) |
436
|
|
|
* @method string getWebhookId() |
437
|
|
|
* @method $this withWebhookId($value) |
438
|
|
|
* @method string getRepoName() |
439
|
|
|
* @method $this withRepoName($value) |
440
|
|
|
*/ |
441
|
|
|
class GetRepoWebhookLogList extends Roa |
442
|
|
|
{ |
443
|
|
|
/** @var string */ |
444
|
|
|
public $pathPattern = '/repos/[RepoNamespace]/[RepoName]/webhooks/[WebhookId]/logs'; |
445
|
|
|
} |
446
|
|
|
|
447
|
|
|
/** |
448
|
|
|
* @method string getRepoNamespace() |
449
|
|
|
* @method $this withRepoNamespace($value) |
450
|
|
|
* @method string getRepoName() |
451
|
|
|
* @method $this withRepoName($value) |
452
|
|
|
*/ |
453
|
|
|
class GetRepoSourceRepo extends Roa |
454
|
|
|
{ |
455
|
|
|
/** @var string */ |
456
|
|
|
public $pathPattern = '/repos/[RepoNamespace]/[RepoName]/sourceRepo'; |
457
|
|
|
} |
458
|
|
|
|
459
|
|
|
/** |
460
|
|
|
* @method string getRepoNamespace() |
461
|
|
|
* @method $this withRepoNamespace($value) |
462
|
|
|
* @method string getRepoName() |
463
|
|
|
* @method $this withRepoName($value) |
464
|
|
|
*/ |
465
|
|
|
class GetRepoBuildRuleList extends Roa |
466
|
|
|
{ |
467
|
|
|
/** @var string */ |
468
|
|
|
public $pathPattern = '/repos/[RepoNamespace]/[RepoName]/rules'; |
469
|
|
|
} |
470
|
|
|
|
471
|
|
|
/** |
472
|
|
|
* @method string getRepoNamespace() |
473
|
|
|
* @method $this withRepoNamespace($value) |
474
|
|
|
* @method string getRepoName() |
475
|
|
|
* @method $this withRepoName($value) |
476
|
|
|
* @method string getPageSize() |
477
|
|
|
* @method string getPage() |
478
|
|
|
*/ |
479
|
|
|
class GetRepoBuildList extends Roa |
480
|
|
|
{ |
481
|
|
|
/** @var string */ |
482
|
|
|
public $pathPattern = '/repos/[RepoNamespace]/[RepoName]/build'; |
483
|
|
|
|
484
|
|
|
/** |
485
|
|
|
* @param string $value |
486
|
|
|
* |
487
|
|
|
* @return $this |
488
|
|
|
*/ |
489
|
|
|
public function withPageSize($value) |
490
|
|
|
{ |
491
|
|
|
$this->data['PageSize'] = $value; |
492
|
|
|
$this->options['query']['PageSize'] = $value; |
493
|
|
|
|
494
|
|
|
return $this; |
495
|
|
|
} |
496
|
|
|
|
497
|
|
|
/** |
498
|
|
|
* @param string $value |
499
|
|
|
* |
500
|
|
|
* @return $this |
501
|
|
|
*/ |
502
|
|
|
public function withPage($value) |
503
|
|
|
{ |
504
|
|
|
$this->data['Page'] = $value; |
505
|
|
|
$this->options['query']['Page'] = $value; |
506
|
|
|
|
507
|
|
|
return $this; |
508
|
|
|
} |
509
|
|
|
} |
510
|
|
|
|
511
|
|
|
/** |
512
|
|
|
* @method string getNamespace() |
513
|
|
|
* @method $this withNamespace($value) |
514
|
|
|
*/ |
515
|
|
|
class GetNamespace extends Roa |
516
|
|
|
{ |
517
|
|
|
/** @var string */ |
518
|
|
|
public $pathPattern = '/namespace/[Namespace]'; |
519
|
|
|
} |
520
|
|
|
|
521
|
|
|
class GetMirrorList extends Roa |
522
|
|
|
{ |
523
|
|
|
/** @var string */ |
524
|
|
|
public $pathPattern = '/mirrors'; |
525
|
|
|
} |
526
|
|
|
|
527
|
|
|
/** |
528
|
|
|
* @method string getRepoNamespace() |
529
|
|
|
* @method $this withRepoNamespace($value) |
530
|
|
|
* @method string getRepoName() |
531
|
|
|
* @method $this withRepoName($value) |
532
|
|
|
* @method string getTag() |
533
|
|
|
* @method $this withTag($value) |
534
|
|
|
*/ |
535
|
|
|
class GetImageScan extends Roa |
536
|
|
|
{ |
537
|
|
|
/** @var string */ |
538
|
|
|
public $pathPattern = '/repos/[RepoNamespace]/[RepoName]/tags/[Tag]/scan'; |
539
|
|
|
} |
540
|
|
|
|
541
|
|
|
/** |
542
|
|
|
* @method string getRepoNamespace() |
543
|
|
|
* @method $this withRepoNamespace($value) |
544
|
|
|
* @method string getRepoName() |
545
|
|
|
* @method $this withRepoName($value) |
546
|
|
|
* @method string getTag() |
547
|
|
|
* @method $this withTag($value) |
548
|
|
|
*/ |
549
|
|
|
class GetImageLayer extends Roa |
550
|
|
|
{ |
551
|
|
|
/** @var string */ |
552
|
|
|
public $pathPattern = '/repos/[RepoNamespace]/[RepoName]/tags/[Tag]/layers'; |
553
|
|
|
} |
554
|
|
|
|
555
|
|
|
/** |
556
|
|
|
* @method string getRepoNamespace() |
557
|
|
|
* @method $this withRepoNamespace($value) |
558
|
|
|
* @method string getRepoName() |
559
|
|
|
* @method $this withRepoName($value) |
560
|
|
|
* @method string getBuildRuleId() |
561
|
|
|
* @method $this withBuildRuleId($value) |
562
|
|
|
*/ |
563
|
|
|
class DeleteRepoBuildRule extends Roa |
564
|
|
|
{ |
565
|
|
|
/** @var string */ |
566
|
|
|
public $pathPattern = '/repos/[RepoNamespace]/[RepoName]/rules/[BuildRuleId]'; |
567
|
|
|
|
568
|
|
|
/** @var string */ |
569
|
|
|
public $method = 'DELETE'; |
570
|
|
|
} |
571
|
|
|
|
572
|
|
|
/** |
573
|
|
|
* @method string getNamespace() |
574
|
|
|
* @method $this withNamespace($value) |
575
|
|
|
*/ |
576
|
|
|
class DeleteNamespace extends Roa |
577
|
|
|
{ |
578
|
|
|
/** @var string */ |
579
|
|
|
public $pathPattern = '/namespace/[Namespace]'; |
580
|
|
|
|
581
|
|
|
/** @var string */ |
582
|
|
|
public $method = 'DELETE'; |
583
|
|
|
} |
584
|
|
|
|
585
|
|
|
class CreateUserSourceAccount extends Roa |
586
|
|
|
{ |
587
|
|
|
/** @var string */ |
588
|
|
|
public $pathPattern = '/users/sourceAccount'; |
589
|
|
|
|
590
|
|
|
/** @var string */ |
591
|
|
|
public $method = 'PUT'; |
592
|
|
|
} |
593
|
|
|
|
594
|
|
|
class CreateUserInfo extends Roa |
595
|
|
|
{ |
596
|
|
|
/** @var string */ |
597
|
|
|
public $pathPattern = '/users'; |
598
|
|
|
|
599
|
|
|
/** @var string */ |
600
|
|
|
public $method = 'PUT'; |
601
|
|
|
} |
602
|
|
|
|
603
|
|
|
/** |
604
|
|
|
* @method string getRepoNamespace() |
605
|
|
|
* @method $this withRepoNamespace($value) |
606
|
|
|
* @method string getRepoName() |
607
|
|
|
* @method $this withRepoName($value) |
608
|
|
|
*/ |
609
|
|
|
class CreateRepoBuildRule extends Roa |
610
|
|
|
{ |
611
|
|
|
/** @var string */ |
612
|
|
|
public $pathPattern = '/repos/[RepoNamespace]/[RepoName]/rules'; |
613
|
|
|
|
614
|
|
|
/** @var string */ |
615
|
|
|
public $method = 'PUT'; |
616
|
|
|
} |
617
|
|
|
|
618
|
|
|
/** |
619
|
|
|
* @method string getRepoNamespace() |
620
|
|
|
* @method $this withRepoNamespace($value) |
621
|
|
|
* @method string getRepoName() |
622
|
|
|
* @method $this withRepoName($value) |
623
|
|
|
* @method string getBuildId() |
624
|
|
|
* @method $this withBuildId($value) |
625
|
|
|
*/ |
626
|
|
|
class CancelRepoBuild extends Roa |
627
|
|
|
{ |
628
|
|
|
/** @var string */ |
629
|
|
|
public $pathPattern = '/repos/[RepoNamespace]/[RepoName]/build/[BuildId]/cancel'; |
630
|
|
|
|
631
|
|
|
/** @var string */ |
632
|
|
|
public $method = 'POST'; |
633
|
|
|
} |
634
|
|
|
|
635
|
|
|
/** |
636
|
|
|
* @method string getRepoIds() |
637
|
|
|
*/ |
638
|
|
|
class GetRepoBatch extends Roa |
639
|
|
|
{ |
640
|
|
|
/** @var string */ |
641
|
|
|
public $pathPattern = '/batchsearch'; |
642
|
|
|
|
643
|
|
|
/** |
644
|
|
|
* @param string $value |
645
|
|
|
* |
646
|
|
|
* @return $this |
647
|
|
|
*/ |
648
|
|
|
public function withRepoIds($value) |
649
|
|
|
{ |
650
|
|
|
$this->data['RepoIds'] = $value; |
651
|
|
|
$this->options['query']['RepoIds'] = $value; |
652
|
|
|
|
653
|
|
|
return $this; |
654
|
|
|
} |
655
|
|
|
} |
656
|
|
|
|
657
|
|
|
/** |
658
|
|
|
* @method string getRepoNamespace() |
659
|
|
|
* @method $this withRepoNamespace($value) |
660
|
|
|
* @method string getRepoName() |
661
|
|
|
* @method $this withRepoName($value) |
662
|
|
|
* @method string getTag() |
663
|
|
|
* @method $this withTag($value) |
664
|
|
|
* @method string getSchemaVersion() |
665
|
|
|
*/ |
666
|
|
|
class GetImageManifest extends Roa |
667
|
|
|
{ |
668
|
|
|
/** @var string */ |
669
|
|
|
public $pathPattern = '/repos/[RepoNamespace]/[RepoName]/tags/[Tag]/manifest'; |
670
|
|
|
|
671
|
|
|
/** |
672
|
|
|
* @param string $value |
673
|
|
|
* |
674
|
|
|
* @return $this |
675
|
|
|
*/ |
676
|
|
|
public function withSchemaVersion($value) |
677
|
|
|
{ |
678
|
|
|
$this->data['SchemaVersion'] = $value; |
679
|
|
|
$this->options['query']['SchemaVersion'] = $value; |
680
|
|
|
|
681
|
|
|
return $this; |
682
|
|
|
} |
683
|
|
|
} |
684
|
|
|
|
685
|
|
|
/** |
686
|
|
|
* @method string getPageSize() |
687
|
|
|
* @method string getPage() |
688
|
|
|
*/ |
689
|
|
|
class GetCollection extends Roa |
690
|
|
|
{ |
691
|
|
|
/** @var string */ |
692
|
|
|
public $pathPattern = '/collections'; |
693
|
|
|
|
694
|
|
|
/** |
695
|
|
|
* @param string $value |
696
|
|
|
* |
697
|
|
|
* @return $this |
698
|
|
|
*/ |
699
|
|
|
public function withPageSize($value) |
700
|
|
|
{ |
701
|
|
|
$this->data['PageSize'] = $value; |
702
|
|
|
$this->options['query']['PageSize'] = $value; |
703
|
|
|
|
704
|
|
|
return $this; |
705
|
|
|
} |
706
|
|
|
|
707
|
|
|
/** |
708
|
|
|
* @param string $value |
709
|
|
|
* |
710
|
|
|
* @return $this |
711
|
|
|
*/ |
712
|
|
|
public function withPage($value) |
713
|
|
|
{ |
714
|
|
|
$this->data['Page'] = $value; |
715
|
|
|
$this->options['query']['Page'] = $value; |
716
|
|
|
|
717
|
|
|
return $this; |
718
|
|
|
} |
719
|
|
|
} |
720
|
|
|
|
721
|
|
|
/** |
722
|
|
|
* @method string getCollectionId() |
723
|
|
|
* @method $this withCollectionId($value) |
724
|
|
|
*/ |
725
|
|
|
class DeleteCollection extends Roa |
726
|
|
|
{ |
727
|
|
|
/** @var string */ |
728
|
|
|
public $pathPattern = '/collections/[CollectionId]'; |
729
|
|
|
|
730
|
|
|
/** @var string */ |
731
|
|
|
public $method = 'DELETE'; |
732
|
|
|
} |
733
|
|
|
|
734
|
|
|
class CreateCollection extends Roa |
735
|
|
|
{ |
736
|
|
|
/** @var string */ |
737
|
|
|
public $pathPattern = '/collections'; |
738
|
|
|
|
739
|
|
|
/** @var string */ |
740
|
|
|
public $method = 'PUT'; |
741
|
|
|
} |
742
|
|
|
|
743
|
|
|
/** |
744
|
|
|
* @method string getOrigin() |
745
|
|
|
* @method string getPageSize() |
746
|
|
|
* @method string getPage() |
747
|
|
|
* @method string getKeyword() |
748
|
|
|
*/ |
749
|
|
|
class GetSearch extends Roa |
750
|
|
|
{ |
751
|
|
|
/** @var string */ |
752
|
|
|
public $pathPattern = '/search-delete'; |
753
|
|
|
|
754
|
|
|
/** |
755
|
|
|
* @param string $value |
756
|
|
|
* |
757
|
|
|
* @return $this |
758
|
|
|
*/ |
759
|
|
|
public function withOrigin($value) |
760
|
|
|
{ |
761
|
|
|
$this->data['Origin'] = $value; |
762
|
|
|
$this->options['query']['Origin'] = $value; |
763
|
|
|
|
764
|
|
|
return $this; |
765
|
|
|
} |
766
|
|
|
|
767
|
|
|
/** |
768
|
|
|
* @param string $value |
769
|
|
|
* |
770
|
|
|
* @return $this |
771
|
|
|
*/ |
772
|
|
|
public function withPageSize($value) |
773
|
|
|
{ |
774
|
|
|
$this->data['PageSize'] = $value; |
775
|
|
|
$this->options['query']['PageSize'] = $value; |
776
|
|
|
|
777
|
|
|
return $this; |
778
|
|
|
} |
779
|
|
|
|
780
|
|
|
/** |
781
|
|
|
* @param string $value |
782
|
|
|
* |
783
|
|
|
* @return $this |
784
|
|
|
*/ |
785
|
|
|
public function withPage($value) |
786
|
|
|
{ |
787
|
|
|
$this->data['Page'] = $value; |
788
|
|
|
$this->options['query']['Page'] = $value; |
789
|
|
|
|
790
|
|
|
return $this; |
791
|
|
|
} |
792
|
|
|
|
793
|
|
|
/** |
794
|
|
|
* @param string $value |
795
|
|
|
* |
796
|
|
|
* @return $this |
797
|
|
|
*/ |
798
|
|
|
public function withKeyword($value) |
799
|
|
|
{ |
800
|
|
|
$this->data['Keyword'] = $value; |
801
|
|
|
$this->options['query']['Keyword'] = $value; |
802
|
|
|
|
803
|
|
|
return $this; |
804
|
|
|
} |
805
|
|
|
} |
806
|
|
|
|
807
|
|
|
class CreateNamespace extends Roa |
808
|
|
|
{ |
809
|
|
|
/** @var string */ |
810
|
|
|
public $pathPattern = '/namespace'; |
811
|
|
|
|
812
|
|
|
/** @var string */ |
813
|
|
|
public $method = 'PUT'; |
814
|
|
|
} |
815
|
|
|
|
816
|
|
|
/** |
817
|
|
|
* @method string getRepoNamespace() |
818
|
|
|
* @method $this withRepoNamespace($value) |
819
|
|
|
* @method string getRepoName() |
820
|
|
|
* @method $this withRepoName($value) |
821
|
|
|
*/ |
822
|
|
|
class GetRepoWebhook extends Roa |
823
|
|
|
{ |
824
|
|
|
/** @var string */ |
825
|
|
|
public $pathPattern = '/repos/[RepoNamespace]/[RepoName]/webhooks'; |
826
|
|
|
} |
827
|
|
|
|
828
|
|
|
/** |
829
|
|
|
* @method string getRepoNamespace() |
830
|
|
|
* @method $this withRepoNamespace($value) |
831
|
|
|
* @method string getWebhookId() |
832
|
|
|
* @method $this withWebhookId($value) |
833
|
|
|
* @method string getRepoName() |
834
|
|
|
* @method $this withRepoName($value) |
835
|
|
|
*/ |
836
|
|
|
class DeleteRepoWebhook extends Roa |
837
|
|
|
{ |
838
|
|
|
/** @var string */ |
839
|
|
|
public $pathPattern = '/repos/[RepoNamespace]/[RepoName]/webhooks/[WebhookId]'; |
840
|
|
|
|
841
|
|
|
/** @var string */ |
842
|
|
|
public $method = 'DELETE'; |
843
|
|
|
} |
844
|
|
|
|
845
|
|
|
/** |
846
|
|
|
* @method string getRepoNamespace() |
847
|
|
|
* @method $this withRepoNamespace($value) |
848
|
|
|
* @method string getRepoName() |
849
|
|
|
* @method $this withRepoName($value) |
850
|
|
|
*/ |
851
|
|
|
class GetRepo extends Roa |
852
|
|
|
{ |
853
|
|
|
/** @var string */ |
854
|
|
|
public $pathPattern = '/repos/[RepoNamespace]/[RepoName]'; |
855
|
|
|
} |
856
|
|
|
|
857
|
|
|
/** |
858
|
|
|
* @method string getAuthorize() |
859
|
|
|
* @method string getStatus() |
860
|
|
|
*/ |
861
|
|
|
class GetNamespaceList extends Roa |
862
|
|
|
{ |
863
|
|
|
/** @var string */ |
864
|
|
|
public $pathPattern = '/namespace'; |
865
|
|
|
|
866
|
|
|
/** |
867
|
|
|
* @param string $value |
868
|
|
|
* |
869
|
|
|
* @return $this |
870
|
|
|
*/ |
871
|
|
|
public function withAuthorize($value) |
872
|
|
|
{ |
873
|
|
|
$this->data['Authorize'] = $value; |
874
|
|
|
$this->options['query']['Authorize'] = $value; |
875
|
|
|
|
876
|
|
|
return $this; |
877
|
|
|
} |
878
|
|
|
|
879
|
|
|
/** |
880
|
|
|
* @param string $value |
881
|
|
|
* |
882
|
|
|
* @return $this |
883
|
|
|
*/ |
884
|
|
|
public function withStatus($value) |
885
|
|
|
{ |
886
|
|
|
$this->data['Status'] = $value; |
887
|
|
|
$this->options['query']['Status'] = $value; |
888
|
|
|
|
889
|
|
|
return $this; |
890
|
|
|
} |
891
|
|
|
} |
892
|
|
|
|
893
|
|
|
/** |
894
|
|
|
* @method string getRepoNamespace() |
895
|
|
|
* @method $this withRepoNamespace($value) |
896
|
|
|
* @method string getPageSize() |
897
|
|
|
* @method string getPage() |
898
|
|
|
* @method string getStatus() |
899
|
|
|
*/ |
900
|
|
|
class GetRepoListByNamespace extends Roa |
901
|
|
|
{ |
902
|
|
|
/** @var string */ |
903
|
|
|
public $pathPattern = '/repos/[RepoNamespace]'; |
904
|
|
|
|
905
|
|
|
/** |
906
|
|
|
* @param string $value |
907
|
|
|
* |
908
|
|
|
* @return $this |
909
|
|
|
*/ |
910
|
|
|
public function withPageSize($value) |
911
|
|
|
{ |
912
|
|
|
$this->data['PageSize'] = $value; |
913
|
|
|
$this->options['query']['PageSize'] = $value; |
914
|
|
|
|
915
|
|
|
return $this; |
916
|
|
|
} |
917
|
|
|
|
918
|
|
|
/** |
919
|
|
|
* @param string $value |
920
|
|
|
* |
921
|
|
|
* @return $this |
922
|
|
|
*/ |
923
|
|
|
public function withPage($value) |
924
|
|
|
{ |
925
|
|
|
$this->data['Page'] = $value; |
926
|
|
|
$this->options['query']['Page'] = $value; |
927
|
|
|
|
928
|
|
|
return $this; |
929
|
|
|
} |
930
|
|
|
|
931
|
|
|
/** |
932
|
|
|
* @param string $value |
933
|
|
|
* |
934
|
|
|
* @return $this |
935
|
|
|
*/ |
936
|
|
|
public function withStatus($value) |
937
|
|
|
{ |
938
|
|
|
$this->data['Status'] = $value; |
939
|
|
|
$this->options['query']['Status'] = $value; |
940
|
|
|
|
941
|
|
|
return $this; |
942
|
|
|
} |
943
|
|
|
} |
944
|
|
|
|
945
|
|
|
/** |
946
|
|
|
* @method string getRepoNamespace() |
947
|
|
|
* @method $this withRepoNamespace($value) |
948
|
|
|
* @method string getRepoName() |
949
|
|
|
* @method $this withRepoName($value) |
950
|
|
|
* @method string getSyncTaskId() |
951
|
|
|
* @method $this withSyncTaskId($value) |
952
|
|
|
*/ |
953
|
|
|
class GetRepoSyncTask extends Roa |
954
|
|
|
{ |
955
|
|
|
/** @var string */ |
956
|
|
|
public $pathPattern = '/repos/[RepoNamespace]/[RepoName]/syncTasks/[SyncTaskId]'; |
957
|
|
|
} |
958
|
|
|
|
959
|
|
|
/** |
960
|
|
|
* @method string getDomain() |
961
|
|
|
*/ |
962
|
|
|
class GetRegion extends Roa |
963
|
|
|
{ |
964
|
|
|
/** @var string */ |
965
|
|
|
public $pathPattern = '/regions'; |
966
|
|
|
|
967
|
|
|
/** |
968
|
|
|
* @param string $value |
969
|
|
|
* |
970
|
|
|
* @return $this |
971
|
|
|
*/ |
972
|
|
|
public function withDomain($value) |
973
|
|
|
{ |
974
|
|
|
$this->data['Domain'] = $value; |
975
|
|
|
$this->options['query']['Domain'] = $value; |
976
|
|
|
|
977
|
|
|
return $this; |
978
|
|
|
} |
979
|
|
|
} |
980
|
|
|
|
981
|
|
|
/** |
982
|
|
|
* @method string getRepoNamespace() |
983
|
|
|
* @method $this withRepoNamespace($value) |
984
|
|
|
* @method string getRepoName() |
985
|
|
|
* @method $this withRepoName($value) |
986
|
|
|
*/ |
987
|
|
|
class CreateRepoSyncTask extends Roa |
988
|
|
|
{ |
989
|
|
|
/** @var string */ |
990
|
|
|
public $pathPattern = '/repos/[RepoNamespace]/[RepoName]/syncTasks'; |
991
|
|
|
|
992
|
|
|
/** @var string */ |
993
|
|
|
public $method = 'PUT'; |
994
|
|
|
} |
995
|
|
|
|
996
|
|
|
/** |
997
|
|
|
* @method string getRepoNamespace() |
998
|
|
|
* @method $this withRepoNamespace($value) |
999
|
|
|
* @method string getRepoName() |
1000
|
|
|
* @method $this withRepoName($value) |
1001
|
|
|
* @method string getAuthorize() |
1002
|
|
|
*/ |
1003
|
|
|
class GetRepoAuthorizationList extends Roa |
1004
|
|
|
{ |
1005
|
|
|
/** @var string */ |
1006
|
|
|
public $pathPattern = '/repos/[RepoNamespace]/[RepoName]/authorizations'; |
1007
|
|
|
|
1008
|
|
|
/** |
1009
|
|
|
* @param string $value |
1010
|
|
|
* |
1011
|
|
|
* @return $this |
1012
|
|
|
*/ |
1013
|
|
|
public function withAuthorize($value) |
1014
|
|
|
{ |
1015
|
|
|
$this->data['Authorize'] = $value; |
1016
|
|
|
$this->options['query']['Authorize'] = $value; |
1017
|
|
|
|
1018
|
|
|
return $this; |
1019
|
|
|
} |
1020
|
|
|
} |
1021
|
|
|
|
1022
|
|
|
class GetRegionList extends Roa |
1023
|
|
|
{ |
1024
|
|
|
/** @var string */ |
1025
|
|
|
public $pathPattern = '/regions'; |
1026
|
|
|
} |
1027
|
|
|
|
1028
|
|
|
/** |
1029
|
|
|
* @method string getNamespace() |
1030
|
|
|
* @method $this withNamespace($value) |
1031
|
|
|
* @method string getAuthorize() |
1032
|
|
|
*/ |
1033
|
|
|
class GetNamespaceAuthorizationList extends Roa |
1034
|
|
|
{ |
1035
|
|
|
/** @var string */ |
1036
|
|
|
public $pathPattern = '/namespace/[Namespace]/authorizations'; |
1037
|
|
|
|
1038
|
|
|
/** |
1039
|
|
|
* @param string $value |
1040
|
|
|
* |
1041
|
|
|
* @return $this |
1042
|
|
|
*/ |
1043
|
|
|
public function withAuthorize($value) |
1044
|
|
|
{ |
1045
|
|
|
$this->data['Authorize'] = $value; |
1046
|
|
|
$this->options['query']['Authorize'] = $value; |
1047
|
|
|
|
1048
|
|
|
return $this; |
1049
|
|
|
} |
1050
|
|
|
} |
1051
|
|
|
|
1052
|
|
|
/** |
1053
|
|
|
* @method string getRepoNamespace() |
1054
|
|
|
* @method $this withRepoNamespace($value) |
1055
|
|
|
* @method string getRepoName() |
1056
|
|
|
* @method $this withRepoName($value) |
1057
|
|
|
* @method string getAuthorizeId() |
1058
|
|
|
* @method $this withAuthorizeId($value) |
1059
|
|
|
*/ |
1060
|
|
|
class DeleteRepoAuthorization extends Roa |
1061
|
|
|
{ |
1062
|
|
|
/** @var string */ |
1063
|
|
|
public $pathPattern = '/repos/[RepoNamespace]/[RepoName]/authorizations/[AuthorizeId]'; |
1064
|
|
|
|
1065
|
|
|
/** @var string */ |
1066
|
|
|
public $method = 'DELETE'; |
1067
|
|
|
} |
1068
|
|
|
|
1069
|
|
|
/** |
1070
|
|
|
* @method string getRepoNamespace() |
1071
|
|
|
* @method $this withRepoNamespace($value) |
1072
|
|
|
* @method string getRepoName() |
1073
|
|
|
* @method $this withRepoName($value) |
1074
|
|
|
*/ |
1075
|
|
|
class DeleteRepo extends Roa |
1076
|
|
|
{ |
1077
|
|
|
/** @var string */ |
1078
|
|
|
public $pathPattern = '/repos/[RepoNamespace]/[RepoName]'; |
1079
|
|
|
|
1080
|
|
|
/** @var string */ |
1081
|
|
|
public $method = 'DELETE'; |
1082
|
|
|
} |
1083
|
|
|
|
1084
|
|
|
/** |
1085
|
|
|
* @method string getAuthorizeId() |
1086
|
|
|
* @method $this withAuthorizeId($value) |
1087
|
|
|
* @method string getNamespace() |
1088
|
|
|
* @method $this withNamespace($value) |
1089
|
|
|
*/ |
1090
|
|
|
class DeleteNamespaceAuthorization extends Roa |
1091
|
|
|
{ |
1092
|
|
|
/** @var string */ |
1093
|
|
|
public $pathPattern = '/namespace/[Namespace]/authorizations/[AuthorizeId]'; |
1094
|
|
|
|
1095
|
|
|
/** @var string */ |
1096
|
|
|
public $method = 'DELETE'; |
1097
|
|
|
} |
1098
|
|
|
|
1099
|
|
|
/** |
1100
|
|
|
* @method string getRepoNamespace() |
1101
|
|
|
* @method $this withRepoNamespace($value) |
1102
|
|
|
* @method string getRepoName() |
1103
|
|
|
* @method $this withRepoName($value) |
1104
|
|
|
*/ |
1105
|
|
|
class CreateRepoWebhook extends Roa |
1106
|
|
|
{ |
1107
|
|
|
/** @var string */ |
1108
|
|
|
public $pathPattern = '/repos/[RepoNamespace]/[RepoName]/webhooks'; |
1109
|
|
|
|
1110
|
|
|
/** @var string */ |
1111
|
|
|
public $method = 'PUT'; |
1112
|
|
|
} |
1113
|
|
|
|
1114
|
|
|
/** |
1115
|
|
|
* @method string getRepoNamespace() |
1116
|
|
|
* @method $this withRepoNamespace($value) |
1117
|
|
|
* @method string getRepoName() |
1118
|
|
|
* @method $this withRepoName($value) |
1119
|
|
|
*/ |
1120
|
|
|
class CreateRepoAuthorization extends Roa |
1121
|
|
|
{ |
1122
|
|
|
/** @var string */ |
1123
|
|
|
public $pathPattern = '/repos/[RepoNamespace]/[RepoName]/authorizations'; |
1124
|
|
|
|
1125
|
|
|
/** @var string */ |
1126
|
|
|
public $method = 'PUT'; |
1127
|
|
|
} |
1128
|
|
|
|
1129
|
|
|
/** |
1130
|
|
|
* @method string getNamespace() |
1131
|
|
|
* @method $this withNamespace($value) |
1132
|
|
|
*/ |
1133
|
|
|
class CreateNamespaceAuthorization extends Roa |
1134
|
|
|
{ |
1135
|
|
|
/** @var string */ |
1136
|
|
|
public $pathPattern = '/namespace/[Namespace]/authorizations'; |
1137
|
|
|
|
1138
|
|
|
/** @var string */ |
1139
|
|
|
public $method = 'PUT'; |
1140
|
|
|
} |
1141
|
|
|
|
1142
|
|
|
/** |
1143
|
|
|
* @method string getRepoNamespace() |
1144
|
|
|
* @method $this withRepoNamespace($value) |
1145
|
|
|
* @method string getRepoName() |
1146
|
|
|
* @method $this withRepoName($value) |
1147
|
|
|
*/ |
1148
|
|
|
class StartRepoBuild extends Roa |
1149
|
|
|
{ |
1150
|
|
|
/** @var string */ |
1151
|
|
|
public $pathPattern = '/repos/[RepoNamespace]/[RepoName]/build'; |
1152
|
|
|
|
1153
|
|
|
/** @var string */ |
1154
|
|
|
public $method = 'PUT'; |
1155
|
|
|
} |
1156
|
|
|
|
1157
|
|
|
class GetUserInfo extends Roa |
1158
|
|
|
{ |
1159
|
|
|
/** @var string */ |
1160
|
|
|
public $pathPattern = '/users'; |
1161
|
|
|
} |
1162
|
|
|
|
1163
|
|
|
/** |
1164
|
|
|
* @method string getRepoNamespace() |
1165
|
|
|
* @method $this withRepoNamespace($value) |
1166
|
|
|
* @method string getRepoName() |
1167
|
|
|
* @method $this withRepoName($value) |
1168
|
|
|
* @method string getPageSize() |
1169
|
|
|
* @method string getPage() |
1170
|
|
|
*/ |
1171
|
|
|
class GetRepoTags extends Roa |
1172
|
|
|
{ |
1173
|
|
|
/** @var string */ |
1174
|
|
|
public $pathPattern = '/repos/[RepoNamespace]/[RepoName]/tags'; |
1175
|
|
|
|
1176
|
|
|
/** |
1177
|
|
|
* @param string $value |
1178
|
|
|
* |
1179
|
|
|
* @return $this |
1180
|
|
|
*/ |
1181
|
|
|
public function withPageSize($value) |
1182
|
|
|
{ |
1183
|
|
|
$this->data['PageSize'] = $value; |
1184
|
|
|
$this->options['query']['PageSize'] = $value; |
1185
|
|
|
|
1186
|
|
|
return $this; |
1187
|
|
|
} |
1188
|
|
|
|
1189
|
|
|
/** |
1190
|
|
|
* @param string $value |
1191
|
|
|
* |
1192
|
|
|
* @return $this |
1193
|
|
|
*/ |
1194
|
|
|
public function withPage($value) |
1195
|
|
|
{ |
1196
|
|
|
$this->data['Page'] = $value; |
1197
|
|
|
$this->options['query']['Page'] = $value; |
1198
|
|
|
|
1199
|
|
|
return $this; |
1200
|
|
|
} |
1201
|
|
|
} |
1202
|
|
|
|
1203
|
|
|
/** |
1204
|
|
|
* @method string getPageSize() |
1205
|
|
|
* @method string getPage() |
1206
|
|
|
* @method string getStatus() |
1207
|
|
|
*/ |
1208
|
|
|
class GetRepoList extends Roa |
1209
|
|
|
{ |
1210
|
|
|
/** @var string */ |
1211
|
|
|
public $pathPattern = '/repos'; |
1212
|
|
|
|
1213
|
|
|
/** |
1214
|
|
|
* @param string $value |
1215
|
|
|
* |
1216
|
|
|
* @return $this |
1217
|
|
|
*/ |
1218
|
|
|
public function withPageSize($value) |
1219
|
|
|
{ |
1220
|
|
|
$this->data['PageSize'] = $value; |
1221
|
|
|
$this->options['query']['PageSize'] = $value; |
1222
|
|
|
|
1223
|
|
|
return $this; |
1224
|
|
|
} |
1225
|
|
|
|
1226
|
|
|
/** |
1227
|
|
|
* @param string $value |
1228
|
|
|
* |
1229
|
|
|
* @return $this |
1230
|
|
|
*/ |
1231
|
|
|
public function withPage($value) |
1232
|
|
|
{ |
1233
|
|
|
$this->data['Page'] = $value; |
1234
|
|
|
$this->options['query']['Page'] = $value; |
1235
|
|
|
|
1236
|
|
|
return $this; |
1237
|
|
|
} |
1238
|
|
|
|
1239
|
|
|
/** |
1240
|
|
|
* @param string $value |
1241
|
|
|
* |
1242
|
|
|
* @return $this |
1243
|
|
|
*/ |
1244
|
|
|
public function withStatus($value) |
1245
|
|
|
{ |
1246
|
|
|
$this->data['Status'] = $value; |
1247
|
|
|
$this->options['query']['Status'] = $value; |
1248
|
|
|
|
1249
|
|
|
return $this; |
1250
|
|
|
} |
1251
|
|
|
} |
1252
|
|
|
|
1253
|
|
|
/** |
1254
|
|
|
* @method string getRepoNamespace() |
1255
|
|
|
* @method $this withRepoNamespace($value) |
1256
|
|
|
* @method string getRepoName() |
1257
|
|
|
* @method $this withRepoName($value) |
1258
|
|
|
* @method string getBuildId() |
1259
|
|
|
* @method $this withBuildId($value) |
1260
|
|
|
*/ |
1261
|
|
|
class GetRepoBuildStatus extends Roa |
1262
|
|
|
{ |
1263
|
|
|
/** @var string */ |
1264
|
|
|
public $pathPattern = '/repos/[RepoNamespace]/[RepoName]/build/[BuildId]/status'; |
1265
|
|
|
} |
1266
|
|
|
|
1267
|
|
|
/** |
1268
|
|
|
* @method string getRepoNamespace() |
1269
|
|
|
* @method $this withRepoNamespace($value) |
1270
|
|
|
* @method string getRepoName() |
1271
|
|
|
* @method $this withRepoName($value) |
1272
|
|
|
* @method string getBuildId() |
1273
|
|
|
* @method $this withBuildId($value) |
1274
|
|
|
*/ |
1275
|
|
|
class GetRepoBuildLogs extends Roa |
1276
|
|
|
{ |
1277
|
|
|
/** @var string */ |
1278
|
|
|
public $pathPattern = '/repos/[RepoNamespace]/[RepoName]/build/[BuildId]/logs'; |
1279
|
|
|
} |
1280
|
|
|
|
1281
|
|
|
class CreateRepo extends Roa |
1282
|
|
|
{ |
1283
|
|
|
/** @var string */ |
1284
|
|
|
public $pathPattern = '/repos'; |
1285
|
|
|
|
1286
|
|
|
/** @var string */ |
1287
|
|
|
public $method = 'PUT'; |
1288
|
|
|
} |
1289
|
|
|
|