Skip to content

Commit a051e69

Browse files
authored
Add missing MoreProjects field in ProjectInfo (#190)
1 parent 8c6ff13 commit a051e69

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

projects.go

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,14 @@ type ProjectsService struct {
1717
//
1818
// Gerrit API docs: https://gerrit-review.googlesource.com/Documentation/rest-api-projects.html#project-info
1919
type ProjectInfo struct {
20-
ID string `json:"id"`
21-
Name string `json:"name"`
22-
Parent string `json:"parent,omitempty"`
23-
Description string `json:"description,omitempty"`
24-
State string `json:"state,omitempty"`
25-
Branches map[string]string `json:"branches,omitempty"`
26-
WebLinks []WebLinkInfo `json:"web_links,omitempty"`
20+
ID string `json:"id"`
21+
Name string `json:"name"`
22+
Parent string `json:"parent,omitempty"`
23+
Description string `json:"description,omitempty"`
24+
State string `json:"state,omitempty"`
25+
Branches map[string]string `json:"branches,omitempty"`
26+
WebLinks []WebLinkInfo `json:"web_links,omitempty"`
27+
MoreProjects bool `json:"_more_projects,omitempty"`
2728
}
2829

2930
// ProjectInput entity contains information for the creation of a new project.

0 commit comments

Comments
 (0)