@@ -487,6 +487,17 @@ type MergeInput struct {
487
487
AllowConflicts bool `json:"allow_conflicts,omitempty"`
488
488
}
489
489
490
+ // The ParentInfo entity contains information about the parent commit of a patch-set.
491
+ type ParentInfo struct {
492
+ BranchName string `json:"branch_name,omitempty"`
493
+ CommitID string `json:"commit_id,omitempty"`
494
+ IsMergedInTargetBranch bool `json:"is_merged_in_target_branch"`
495
+ ChangeID string `json:"change_id,omitempty"`
496
+ ChangeNumber int `json:"change_number,omitempty"`
497
+ PatchSetNumber int `json:"patch_set_number,omitempty"`
498
+ ChangeStatus string `json:"change_status,omitempty"`
499
+ }
500
+
490
501
// RevisionInfo entity contains information about a patch set.
491
502
type RevisionInfo struct {
492
503
Kind RevisionKind `json:"kind,omitempty"`
@@ -501,6 +512,7 @@ type RevisionInfo struct {
501
512
Actions map [string ]ActionInfo `json:"actions,omitempty"`
502
513
Reviewed bool `json:"reviewed,omitempty"`
503
514
MessageWithFooter string `json:"messageWithFooter,omitempty"`
515
+ ParentsData []ParentInfo `json:"parents_data,omitempty"`
504
516
}
505
517
506
518
// CommentInfo entity contains information about an inline comment.
0 commit comments