@@ -16,22 +16,24 @@ const (
1616)
1717
1818type MergeRequest struct {
19- Id int `json:"id,omitempty"`
20- Iid int `json:"iid,omitempty"`
21- TargetBranch string `json:"target_branch,omitempty"`
22- SourceBranch string `json:"source_branch,omitempty"`
23- ProjectId int `json:"project_id,omitempty"`
24- Title string `json:"title,omitempty"`
25- State string `json:"state,omitempty"`
26- CreatedAt string `json:"created_at,omitempty"`
27- UpdatedAt string `json:"updated_at,omitempty"`
28- Upvotes int `json:"upvotes,omitempty"`
29- Downvotes int `json:"downvotes,omitempty"`
30- Author * User `json:"author,omitempty"`
31- Assignee * User `json:"assignee,omitempty"`
32- Description string `json:"description,omitempty"`
33- WorkInProgress bool `json:"work_in_progress,omitempty"`
34- MergeStatus string `json:"merge_status,omitempty"`
19+ Id int `json:"id,omitempty"`
20+ Iid int `json:"iid,omitempty"`
21+ TargetBranch string `json:"target_branch,omitempty"`
22+ SourceBranch string `json:"source_branch,omitempty"`
23+ ProjectId int `json:"project_id,omitempty"`
24+ Title string `json:"title,omitempty"`
25+ State string `json:"state,omitempty"`
26+ CreatedAt string `json:"created_at,omitempty"`
27+ UpdatedAt string `json:"updated_at,omitempty"`
28+ Upvotes int `json:"upvotes,omitempty"`
29+ Downvotes int `json:"downvotes,omitempty"`
30+ Author * User `json:"author,omitempty"`
31+ Assignee * User `json:"assignee,omitempty"`
32+ Description string `json:"description,omitempty"`
33+ WorkInProgress bool `json:"work_in_progress,omitempty"`
34+ MergeStatus string `json:"merge_status,omitempty"`
35+ SourceProjectID string `json:"source_project_id,omitempty"`
36+ TargetProjectID string `json:"target_project_id,omitempty"`
3537}
3638
3739type ChangeItem struct {
0 commit comments