/* tslint:disable */
/* eslint-disable */
/**
 * Halo Next API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 2.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface Status
 */
export interface Status {
  /**
   *
   * @type {string}
   * @memberof Status
   */
  completionTimestamp?: string;
  /**
   *
   * @type {string}
   * @memberof Status
   */
  failureMessage?: string;
  /**
   *
   * @type {string}
   * @memberof Status
   */
  failureReason?: string;
  /**
   *
   * @type {string}
   * @memberof Status
   */
  filename?: string;
  /**
   *
   * @type {string}
   * @memberof Status
   */
  phase?: StatusPhaseEnum;
  /**
   *
   * @type {number}
   * @memberof Status
   */
  size?: number;
  /**
   *
   * @type {string}
   * @memberof Status
   */
  startTimestamp?: string;
}

export const StatusPhaseEnum = {
  Pending: "PENDING",
  Running: "RUNNING",
  Succeeded: "SUCCEEDED",
  Failed: "FAILED",
} as const;

export type StatusPhaseEnum =
  (typeof StatusPhaseEnum)[keyof typeof StatusPhaseEnum];
