aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/google/go-github/github/pulls_reviews.go
blob: ae3cdd4af42208a1354851a97d95b68f16ea9091 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2016 The go-github AUTHORS. All rights reserved.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package github

import "time"

// PullRequestReview represents a review of a pull request.
type PullRequestReview struct {
	ID          *int       `json:"id,omitempty"`
	User        *User      `json:"user,omitempty"`
	Body        *string    `json:"body,omitempty"`
	SubmittedAt *time.Time `json:"submitted_at,omitempty"`

	// State can be "approved", "rejected", or "commented".
	State *string `json:"state,omitempty"`
}