@@ -50,6 +50,7 @@ type Group struct {
50
50
AvatarURL string `json:"avatar_url"`
51
51
WebURL string `json:"web_url"`
52
52
RequestAccessEnabled bool `json:"request_access_enabled"`
53
+ RepositoryStorage string `json:"repository_storage"`
53
54
FullName string `json:"full_name"`
54
55
FullPath string `json:"full_path"`
55
56
FileTemplateProjectID int `json:"file_template_project_id"`
@@ -86,7 +87,6 @@ type Group struct {
86
87
CreatedAt * time.Time `json:"created_at"`
87
88
IPRestrictionRanges string `json:"ip_restriction_ranges"`
88
89
WikiAccessLevel AccessControlValue `json:"wiki_access_level"`
89
- RepositoryStorage string `json:"repository_storage"`
90
90
}
91
91
92
92
// GroupAvatar represents a GitLab group avatar.
@@ -129,17 +129,17 @@ type SAMLGroupLink struct {
129
129
// GitLab API docs: https://docs.gitlab.com/ee/api/groups.html#list-groups
130
130
type ListGroupsOptions struct {
131
131
ListOptions
132
+ SkipGroups * []int `url:"skip_groups,omitempty" del:"," json:"skip_groups,omitempty"`
132
133
AllAvailable * bool `url:"all_available,omitempty" json:"all_available,omitempty"`
133
- MinAccessLevel * AccessLevelValue `url:"min_access_level,omitempty" json:"min_access_level,omitempty"`
134
- OrderBy * string `url:"order_by,omitempty" json:"order_by,omitempty"`
135
- Owned * bool `url:"owned,omitempty" json:"owned,omitempty"`
136
- RepositoryStorage * string `url:"repository_storage,omitempty" json:"repository_storage,omitempty"`
137
134
Search * string `url:"search,omitempty" json:"search,omitempty"`
138
- SkipGroups * [] int `url:"skip_groups ,omitempty" del:"," json:"skip_groups ,omitempty"`
135
+ OrderBy * string `url:"order_by ,omitempty" json:"order_by ,omitempty"`
139
136
Sort * string `url:"sort,omitempty" json:"sort,omitempty"`
140
137
Statistics * bool `url:"statistics,omitempty" json:"statistics,omitempty"`
141
- TopLevelOnly * bool `url:"top_level_only,omitempty" json:"top_level_only,omitempty"`
142
138
WithCustomAttributes * bool `url:"with_custom_attributes,omitempty" json:"with_custom_attributes,omitempty"`
139
+ Owned * bool `url:"owned,omitempty" json:"owned,omitempty"`
140
+ MinAccessLevel * AccessLevelValue `url:"min_access_level,omitempty" json:"min_access_level,omitempty"`
141
+ TopLevelOnly * bool `url:"top_level_only,omitempty" json:"top_level_only,omitempty"`
142
+ RepositoryStorage * string `url:"repository_storage,omitempty" json:"repository_storage,omitempty"`
143
143
}
144
144
145
145
// ListGroups gets a list of groups (as user: my groups, as admin: all groups).
0 commit comments