/* 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 BackupStatus
 */
export interface BackupStatus {
  /**
   *
   * @type {string}
   * @memberof BackupStatus
   */
  completionTimestamp?: string;
  /**
   *
   * @type {string}
   * @memberof BackupStatus
   */
  failureMessage?: string;
  /**
   *
   * @type {string}
   * @memberof BackupStatus
   */
  failureReason?: string;
  /**
   *
   * @type {string}
   * @memberof BackupStatus
   */
  filename?: string;
  /**
   *
   * @type {string}
   * @memberof BackupStatus
   */
  phase?: BackupStatusPhaseEnum;
  /**
   *
   * @type {number}
   * @memberof BackupStatus
   */
  size?: number;
  /**
   *
   * @type {string}
   * @memberof BackupStatus
   */
  startTimestamp?: string;
}

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

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