/* 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 { BuildTypes } from './build-types';
/**
* Contains build dependency and queue and dependency settings available in the [Run Custom Build](https://www.jetbrains.com/help/teamcity/running-custom-build.html) dialog in TeamCity UI. Assign an instance of this class to the Build.TriggeringOptions field when sending POST requests to the `/app/rest/buildQueue` endpoint.
* @export
* @interface BuildTriggeringOptions
*/
export interface BuildTriggeringOptions {
/**
* Returns *true* if the agent should clear its build checkout directory and pull all sources anew; otherwise, *false*.
* @type {boolean}
* @memberof BuildTriggeringOptions
*/
cleanSources?: boolean;
/**
* Returns *true* if the current \'cleanSources\' behavior also be applied to all snapshot dependency builds, otherwise, *false*.
* @type {boolean}
* @memberof BuildTriggeringOptions
*/
cleanSourcesInAllDependencies?: boolean;
/**
* Use *true* to prevent the build from reusing any of its snapshot dependency builds and re-run all dependency configurations; *false* to let TeamCity decide which snapshot builds should be re-run and which have [suitable builds]()https://www.jetbrains.com/help/teamcity/snapshot-dependencies.html#Suitable+Builds.
* @type {boolean}
* @memberof BuildTriggeringOptions
*/
rebuildAllDependencies?: boolean;
/**
* *true* to re-run all failed, failed to start, and canceled snapshot dependency builds; *false* to let TeamCity decide which snapshot builds should be re-run and which have [suitable builds]()https://www.jetbrains.com/help/teamcity/snapshot-dependencies.html#Suitable+Builds.
* @type {boolean}
* @memberof BuildTriggeringOptions
*/
rebuildFailedOrIncompleteDependencies?: boolean;
/**
* *true* to place the build at the top spot of the build queue, *false* to let TeamCity automatically process this build.
* @type {boolean}
* @memberof BuildTriggeringOptions
*/
queueAtTop?: boolean;
/**
* Use *true* to collect all code commits and versioned settings right away; *false* to do this when build is assigned to the agent and is ready to start.
* @type {boolean}
* @memberof BuildTriggeringOptions
*/
freezeSettings?: boolean;
/**
* Use *true* to label all dependency builds with tags specified in the `Build.Tags` field; *false* to label the current build only.
* @type {boolean}
* @memberof BuildTriggeringOptions
*/
tagDependencies?: boolean;
/**
*
* @type {BuildTypes}
* @memberof BuildTriggeringOptions
*/
rebuildDependencies?: BuildTypes;
}