mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-02-17 11:55:14 +00:00
Merge pull request #1419 from Bugagazavr/gitlab-owner-fix
Add member struct to project
This commit is contained in:
commit
1937cea395
1 changed files with 11 additions and 0 deletions
|
@ -25,8 +25,19 @@ type Permissions struct {
|
||||||
GroupAccess *GroupAccess `json:"group_access,omitempty"`
|
GroupAccess *GroupAccess `json:"group_access,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type Member struct {
|
||||||
|
Id int
|
||||||
|
Username string
|
||||||
|
Email string
|
||||||
|
Name string
|
||||||
|
State string
|
||||||
|
CreatedAt string `json:"created_at,omitempty"`
|
||||||
|
// AccessLevel int
|
||||||
|
}
|
||||||
|
|
||||||
type Project struct {
|
type Project struct {
|
||||||
Id int `json:"id,omitempty"`
|
Id int `json:"id,omitempty"`
|
||||||
|
Owner *Member `json:"owner,omitempty"`
|
||||||
Name string `json:"name,omitempty"`
|
Name string `json:"name,omitempty"`
|
||||||
Description string `json:"description,omitempty"`
|
Description string `json:"description,omitempty"`
|
||||||
DefaultBranch string `json:"default_branch,omitempty"`
|
DefaultBranch string `json:"default_branch,omitempty"`
|
||||||
|
|
Loading…
Reference in a new issue