/**
 * Generated by orval v8.12.3 🍺
 * Do not edit manually.
 * GitDataAI API
 * GitDataAI platform REST API
 * OpenAPI spec version: 1.0.0
 */
import type { IssueAuthor } from './issueAuthor';
import type { LabelResponse } from './labelResponse';
import type { PullRequestReviewResponse } from './pullRequestReviewResponse';

export interface PullRequestResponse {
  assignees: IssueAuthor[];
  author: IssueAuthor;
  /** @nullable */
  body?: string | null;
  /** @nullable */
  closed_at?: string | null;
  closed_by?: null | IssueAuthor;
  created_at: string;
  draft: boolean;
  labels: LabelResponse[];
  /** @nullable */
  merged_at?: string | null;
  merged_by?: null | IssueAuthor;
  number: number;
  reviews: PullRequestReviewResponse[];
  source_branch: string;
  source_repo: string;
  source_sha: string;
  state: string;
  target_branch: string;
  target_sha: string;
  title: string;
  updated_at: string;
}
