forked from railwayapp/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject.go
More file actions
25 lines (21 loc) · 667 Bytes
/
Copy pathproject.go
File metadata and controls
25 lines (21 loc) · 667 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package entity
type CreateProjectRequest struct {
Name *string // Optional
Description *string // Optional
Plugins []string // Optional
}
type UpdateProjectRequest struct {
Id string // Required
Name *string // Optional
Description *string // Optional
}
type Project struct {
Id string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
Environments []*Environment `json:"environments,omitempty"`
Plugins []*Plugin `json:"plugins,omitempty"`
}
type ProjectConfig struct {
Project string `json:"project,omitempty"`
Environment string `json:"environment,omitempty"`
}