@@ -5,7 +5,7 @@ type Change struct {
55 Branch string `json:"branch,omitempty"`
66 Topic string `json:"topic,omitempty"`
77 ID string `json:"id,omitempty"`
8- Number string `json:"number,omitempty"`
8+ Number int `json:"number,omitempty"`
99 Subject string `json:"subject,omitempty"`
1010 Owner Account `json:"owner"`
1111 URL string `json:"url,omitempty"`
@@ -39,7 +39,7 @@ type Account struct {
3939}
4040
4141type PatchSet struct {
42- Number string `json:"number,omitempty"`
42+ Number int `json:"number,omitempty"`
4343 Revision string `json:"revision,omitempty"`
4444 Parents []string `json:"parents,omitempty"`
4545 Ref string `json:"ref,omitempty"`
@@ -90,7 +90,7 @@ type Label struct {
9090
9191type Dependency struct {
9292 ID string `json:"id,omitempty"`
93- Number string `json:"number,omitempty"`
93+ Number int `json:"number,omitempty"`
9494 Revision string `json:"revision,omitempty"`
9595 Ref string `json:"ref,omitempty"`
9696 IsCurrentPatchSet bool `json:"isCurrentPatchSet,omitempty"`
0 commit comments