Merge pull request #1419 from Bugagazavr/gitlab-owner-fix

Add member struct to project
This commit is contained in:
Brad Rydzewski 2016-01-13 15:56:44 -08:00
commit 1937cea395

View file

@ -25,8 +25,19 @@ type Permissions struct {
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 {
Id int `json:"id,omitempty"`
Owner *Member `json:"owner,omitempty"`
Name string `json:"name,omitempty"`
Description string `json:"description,omitempty"`
DefaultBranch string `json:"default_branch,omitempty"`