Commit 6ad2fa94 authored by Michael Cook's avatar Michael Cook

add missing group list options

parent 6f13b582
...@@ -54,12 +54,14 @@ type Group struct { ...@@ -54,12 +54,14 @@ type Group struct {
// GitLab API docs: https://docs.gitlab.com/ce/api/groups.html#list-project-groups // GitLab API docs: https://docs.gitlab.com/ce/api/groups.html#list-project-groups
type ListGroupsOptions struct { type ListGroupsOptions struct {
ListOptions ListOptions
AllAvailable *bool `url:"all_available,omitempty" json:"all_available,omitempty"` AllAvailable *bool `url:"all_available,omitempty" json:"all_available,omitempty"`
OrderBy *string `url:"order_by,omitempty" json:"order_by,omitempty"` MinAccessLevel *AccessLevelValue `url:"min_access_level,omitempty" json:"min_access_level,omitempty"`
Owned *bool `url:"owned,omitempty" json:"owned,omitempty"` OrderBy *string `url:"order_by,omitempty" json:"order_by,omitempty"`
Search *string `url:"search,omitempty" json:"search,omitempty"` Owned *bool `url:"owned,omitempty" json:"owned,omitempty"`
Sort *string `url:"sort,omitempty" json:"sort,omitempty"` Search *string `url:"search,omitempty" json:"search,omitempty"`
Statistics *bool `url:"statistics,omitempty" json:"statistics,omitempty"` SkipGroups []int `url:"skip_groups,omitempty" json:"skip_groups,omitempty"`
Sort *string `url:"sort,omitempty" json:"sort,omitempty"`
Statistics *bool `url:"statistics,omitempty" json:"statistics,omitempty"`
} }
// ListGroups gets a list of groups (as user: my groups, as admin: all groups). // ListGroups gets a list of groups (as user: my groups, as admin: all groups).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment