@@ -115,6 +115,7 @@ type RepositoriesOptions struct {
115
115
}
116
116
117
117
type RepositoryOptions struct {
118
+ Uuid string `json:"uuid"`
118
119
Owner string `json:"owner"`
119
120
RepoSlug string `json:"repo_slug"`
120
121
Scm string `json:"scm"`
@@ -358,12 +359,12 @@ func (e RepositoryEnvironmentTypeOption) String() string {
358
359
}
359
360
360
361
type RepositoryEnvironmentOptions struct {
361
- Owner string `json:"owner"`
362
- RepoSlug string `json:"repo_slug"`
363
- Uuid string `json:"uuid"`
364
- Name string `json:"name"`
362
+ Owner string `json:"owner"`
363
+ RepoSlug string `json:"repo_slug"`
364
+ Uuid string `json:"uuid"`
365
+ Name string `json:"name"`
365
366
EnvironmentType RepositoryEnvironmentTypeOption `json:"environment_type"`
366
- Rank int `json:"rank"`
367
+ Rank int `json:"rank"`
367
368
}
368
369
369
370
type RepositoryEnvironmentDeleteOptions struct {
@@ -373,29 +374,29 @@ type RepositoryEnvironmentDeleteOptions struct {
373
374
}
374
375
375
376
type RepositoryDeploymentVariablesOptions struct {
376
- Owner string `json:"owner"`
377
- RepoSlug string `json:"repo_slug"`
377
+ Owner string `json:"owner"`
378
+ RepoSlug string `json:"repo_slug"`
378
379
Environment * Environment `json:"environment"`
379
- Query string `json:"q"`
380
- Sort string `json:"sort"`
381
- PageNum int `json:"page"`
382
- Pagelen int `json:"pagelen"`
383
- MaxDepth int `json:"max_depth"`
380
+ Query string `json:"q"`
381
+ Sort string `json:"sort"`
382
+ PageNum int `json:"page"`
383
+ Pagelen int `json:"pagelen"`
384
+ MaxDepth int `json:"max_depth"`
384
385
}
385
386
386
387
type RepositoryDeploymentVariableOptions struct {
387
- Owner string `json:"owner"`
388
- RepoSlug string `json:"repo_slug"`
388
+ Owner string `json:"owner"`
389
+ RepoSlug string `json:"repo_slug"`
389
390
Environment * Environment `json:"environment"`
390
- Uuid string `json:"uuid"`
391
- Key string `json:"key"`
392
- Value string `json:"value"`
393
- Secured bool `json:"secured"`
391
+ Uuid string `json:"uuid"`
392
+ Key string `json:"key"`
393
+ Value string `json:"value"`
394
+ Secured bool `json:"secured"`
394
395
}
395
396
396
397
type RepositoryDeploymentVariableDeleteOptions struct {
397
- Owner string `json:"owner"`
398
- RepoSlug string `json:"repo_slug"`
398
+ Owner string `json:"owner"`
399
+ RepoSlug string `json:"repo_slug"`
399
400
Environment * Environment `json:"environment"`
400
- Uuid string `json:"uuid"`
401
+ Uuid string `json:"uuid"`
401
402
}
0 commit comments