@ -12,14 +12,17 @@ import (
// PullRequestComment represents a comment left on a pull request.
// PullRequestComment represents a comment left on a pull request.
type PullRequestComment struct {
type PullRequestComment struct {
ID * int ` json:"id,omitempty" `
Body * string ` json:"body,omitempty" `
Path * string ` json:"path,omitempty" `
Position * int ` json:"position,omitempty" `
CommitID * string ` json:"commit_id,omitempty" `
User * User ` json:"user,omitempty" `
CreatedAt * time . Time ` json:"created_at,omitempty" `
UpdatedAt * time . Time ` json:"updated_at,omitempty" `
ID * int ` json:"id,omitempty" `
Body * string ` json:"body,omitempty" `
Path * string ` json:"path,omitempty" `
DiffHunk * string ` json:"diff_hunk,omitempty" `
Position * int ` json:"position,omitempty" `
OriginalPosition * int ` json:"original_position,omitempty" `
CommitID * string ` json:"commit_id,omitempty" `
OriginalCommitID * string ` json:"original_commit_id,omitempty" `
User * User ` json:"user,omitempty" `
CreatedAt * time . Time ` json:"created_at,omitempty" `
UpdatedAt * time . Time ` json:"updated_at,omitempty" `
}
}
func ( p PullRequestComment ) String ( ) string {
func ( p PullRequestComment ) String ( ) string {