summaryrefslogtreecommitdiffstats
path: root/modules/structs/pull_review.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/structs/pull_review.go')
-rw-r--r--modules/structs/pull_review.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/structs/pull_review.go b/modules/structs/pull_review.go
index 07fa968d28..261d00fde8 100644
--- a/modules/structs/pull_review.go
+++ b/modules/structs/pull_review.go
@@ -36,6 +36,7 @@ type PullReview struct {
CommitID string `json:"commit_id"`
Stale bool `json:"stale"`
Official bool `json:"official"`
+ Dismissed bool `json:"dismissed"`
CodeCommentsCount int `json:"comments_count"`
// swagger:strfmt date-time
Submitted time.Time `json:"submitted_at"`
@@ -92,6 +93,11 @@ type SubmitPullReviewOptions struct {
Body string `json:"body"`
}
+// DismissPullReviewOptions are options to dismiss a pull review
+type DismissPullReviewOptions struct {
+ Message string `json:"message"`
+}
+
// PullReviewRequestOptions are options to add or remove pull review requests
type PullReviewRequestOptions struct {
Reviewers []string `json:"reviewers"`