/*! * Copyright Adaptavist 2022 (c) All rights reserved */ import { SimpleUserAsResponse } from "../definitions/SimpleUserAsResponse"; import { AuthorAssociationAsResponse } from "../definitions/AuthorAssociationAsResponse"; import { ReactionRollupAsResponse } from "../definitions/ReactionRollupAsResponse"; export interface PullRequestReviewCommentAsResponse { /** * URL for the pull request review comment */ url: string; /** * The ID of the pull request review to which the comment belongs. */ pull_request_review_id: number | null; /** * The ID of the pull request review comment. */ id: number; /** * The node ID of the pull request review comment. */ node_id: string; /** * The diff of the line that the comment refers to. */ diff_hunk: string; /** * The relative path of the file to which the comment applies. */ path: string; /** * The line index in the diff to which the comment applies. This field is deprecated; use `line` instead. */ position: number; /** * The index of the original line in the diff to which the comment applies. This field is deprecated; use `original_line` instead. */ original_position: number; /** * The SHA of the commit to which the comment applies. */ commit_id: string; /** * The SHA of the original commit to which the comment applies. */ original_commit_id: string; /** * The comment ID to reply to. */ in_reply_to_id?: number; user: SimpleUserAsResponse; /** * The text of the comment. */ body: string; created_at: string; updated_at: string; /** * HTML URL for the pull request review comment. */ html_url: string; /** * URL for the pull request that the review comment belongs to. */ pull_request_url: string; author_association: AuthorAssociationAsResponse; _links: { self: { href: string; }; html: { href: string; }; pull_request: { href: string; }; }; /** * The first line of the range for a multi-line comment. */ start_line?: number | null; /** * The first line of the range for a multi-line comment. */ original_start_line?: number | null; /** * The side of the first line of the range for a multi-line comment. */ start_side?: string | null; /** * The line of the blob to which the comment applies. The last line of the range for a multi-line comment */ line?: number; /** * The line of the blob to which the comment applies. The last line of the range for a multi-line comment */ original_line?: number; /** * The side of the diff to which the comment applies. The side of the last line of the range for a multi-line comment */ side?: "LEFT" | "RIGHT"; reactions?: ReactionRollupAsResponse; body_html?: string; body_text?: string; } //# sourceMappingURL=PullRequestReviewCommentAsResponse.d.ts.map