/* tslint:disable */
/* eslint-disable */
/**
* TeamCity REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 2018.1 (current)
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
// May contain unused imports in some cases
// @ts-ignore
import type { Build } from './build';
/**
* An object that stores the latest information about a currently running build. Returns an empty object for finished and queued builds.
* @export
* @interface ProgressInfo
*/
export interface ProgressInfo {
/**
* The current completion rate (in percents).
* @type {number}
* @memberof ProgressInfo
*/
percentageComplete?: number;
/**
* Time (in seconds) passed since the build actually started. Does not include time spent in queue.
* @type {number}
* @memberof ProgressInfo
*/
elapsedSeconds?: number;
/**
* The currently estimated build duration (in seconds). The sum of `elapsedSeconds`, `leftSeconds`, and post-build activity duration.
* @type {number}
* @memberof ProgressInfo
*/
estimatedTotalSeconds?: number;
/**
* The estimated remaining build time (in seconds)
* @type {number}
* @memberof ProgressInfo
*/
leftSeconds?: number;
/**
* The description of the currently performed build stage. Combines the build status with the latest build log message.
* @type {string}
* @memberof ProgressInfo
*/
currentStageText?: string;
/**
* Returns *true* for [history builds](https://www.jetbrains.com/help/teamcity/history-build.html). Builds are labeled as outdated (history) if there are finished non-personal builds that processed newer (or same) changes as in this build.
* @type {boolean}
* @memberof ProgressInfo
*/
outdated?: boolean;
/**
* Returns *true* if the server suspects this build is hanging. Builds are considered hung when their run duration exceeds the estimates and the build sends no new messages for some time.
* @type {boolean}
* @memberof ProgressInfo
*/
probablyHanging?: boolean;
/**
* The timestamp of the latest build log message.
* @type {string}
* @memberof ProgressInfo
*/
lastActivityTime?: string;
/**
*
* @type {Build}
* @memberof ProgressInfo
*/
outdatedReasonBuild?: Build;
}