summaryrefslogtreecommitdiff
path: root/pkg/gitlab/user.go
blob: 7110f5d7d69f8127d4f1d6e505c89048b91df702 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package gitlab

type UserState string

const (
	UserActive UserState = "active"
)

type User struct {
	ID        int       `json:"id"`
	Username  string    `json:"username"`
	State     UserState `json:"state"`
	Locked    bool      `json:"locked"`
	AvatarUrl string    `json:"avatar_url"`
	WebUrl    string    `json:"web_url"`
}