/**
 * 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 { IssuePullRequestResponse } from './issuePullRequestResponse';
import type { IssueRepoResponse } from './issueRepoResponse';
import type { LabelResponse } from './labelResponse';
import type { MilestoneResponse } from './milestoneResponse';

export interface IssueResponse {
  assignees: IssueAuthor[];
  author: IssueAuthor;
  /** @nullable */
  body?: string | null;
  /** @nullable */
  closed_at?: string | null;
  closed_by?: null | IssueAuthor;
  created_at: string;
  /** @nullable */
  due_at?: string | null;
  labels: LabelResponse[];
  milestone?: null | MilestoneResponse;
  number: number;
  priority: string;
  pull_requests: IssuePullRequestResponse[];
  repos: IssueRepoResponse[];
  state: string;
  title: string;
  updated_at: string;
}
