@@ -5,7 +5,7 @@ type Change struct {
5
5
Branch string `json:"branch,omitempty"`
6
6
Topic string `json:"topic,omitempty"`
7
7
ID string `json:"id,omitempty"`
8
- Number string `json:"number,omitempty"`
8
+ Number int `json:"number,omitempty"`
9
9
Subject string `json:"subject,omitempty"`
10
10
Owner Account `json:"owner"`
11
11
URL string `json:"url,omitempty"`
@@ -39,7 +39,7 @@ type Account struct {
39
39
}
40
40
41
41
type PatchSet struct {
42
- Number string `json:"number,omitempty"`
42
+ Number int `json:"number,omitempty"`
43
43
Revision string `json:"revision,omitempty"`
44
44
Parents []string `json:"parents,omitempty"`
45
45
Ref string `json:"ref,omitempty"`
@@ -90,7 +90,7 @@ type Label struct {
90
90
91
91
type Dependency struct {
92
92
ID string `json:"id,omitempty"`
93
- Number string `json:"number,omitempty"`
93
+ Number int `json:"number,omitempty"`
94
94
Revision string `json:"revision,omitempty"`
95
95
Ref string `json:"ref,omitempty"`
96
96
IsCurrentPatchSet bool `json:"isCurrentPatchSet,omitempty"`
0 commit comments