/* 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';
// May contain unused imports in some cases
// @ts-ignore
import type { BuildType } from './build-type';
// May contain unused imports in some cases
// @ts-ignore
import type { Properties } from './properties';
// May contain unused imports in some cases
// @ts-ignore
import type { User } from './user';
/**
* Identifies the authority that triggered this build.
* @export
* @interface TriggeredBy
*/
export interface TriggeredBy {
/**
* Returns the following values depending on the authority that triggered this build: * *user* if the build was triggered manually in TeamCity UI or via REST API. * *snapshotDependency* if the build is a part of a build chain and was requested by a downstream build configuration. * *vcs* if the build was initiated by the VCS Trigger that found new commits in the remote repository. * *schedule* if the build was initiated by the Schedule Trigger. * *finishBuild* if the build was initiated by the Finish Build Trigger. * *retry* if the build was initiated by the Retry Trigger that re-starts failed builds.
* @type {string}
* @memberof TriggeredBy
*/
type?: string;
/**
* Optional details regarding the triggering event.
* @type {string}
* @memberof TriggeredBy
*/
details?: string;
/**
* The timestamp of the build triggering.
* @type {string}
* @memberof TriggeredBy
*/
date?: string;
/**
* The summary displayed next to the \'Triggered\' line in TeamCity UI. Enumerates authorities that caused this build to run and displays the build\'s parent configuration name and number.
* @type {string}
* @memberof TriggeredBy
*/
displayText?: string;
/**
* The string representation of the `properties` array.
* @type {string}
* @memberof TriggeredBy
*/
rawValue?: string;
/**
*
* @type {User}
* @memberof TriggeredBy
*/
user?: User;
/**
*
* @type {Build}
* @memberof TriggeredBy
*/
build?: Build;
/**
*
* @type {BuildType}
* @memberof TriggeredBy
*/
buildType?: BuildType;
/**
*
* @type {Properties}
* @memberof TriggeredBy
*/
properties?: Properties;
}