/* 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.
*/
/**
* Represents a locator string for filtering Branch entities.
* @export
* @interface BranchLocator
*/
export interface BranchLocator {
/**
* Branch name.
* @type {string}
* @memberof BranchLocator
*/
$singleValue?: string;
/**
* Build locator.
* @type {string}
* @memberof BranchLocator
*/
build?: string;
/**
* Build type locator.
* @type {string}
* @memberof BranchLocator
*/
buildType?: string;
/**
* Include branches from dependencies.
* @type {string}
* @memberof BranchLocator
*/
changesFromDependencies?: BranchLocatorChangesFromDependenciesEnum;
/**
* For paginated calls, how many entities to return per page.
* @type {number}
* @memberof BranchLocator
*/
count?: number;
/**
* Is default branch.
* @type {string}
* @memberof BranchLocator
*/
default?: BranchLocatorDefaultEnum;
/**
* Branch name.
* @type {string}
* @memberof BranchLocator
*/
name?: string;
/**
* Branch retrieval policy.
* @type {string}
* @memberof BranchLocator
*/
policy?: BranchLocatorPolicyEnum;
/**
* For paginated calls, from which entity to start rendering the page.
* @type {number}
* @memberof BranchLocator
*/
start?: number;
/**
* Branch is unspecified if for some reason TeamCity failed to find appropriate branch name for the build.
* @type {string}
* @memberof BranchLocator
*/
unspecified?: BranchLocatorUnspecifiedEnum;
}
export const BranchLocatorChangesFromDependenciesEnum = {
True: 'true',
False: 'false',
Any: 'any',
} as const;
export type BranchLocatorChangesFromDependenciesEnum =
(typeof BranchLocatorChangesFromDependenciesEnum)[keyof typeof BranchLocatorChangesFromDependenciesEnum];
export const BranchLocatorDefaultEnum = {
True: 'true',
False: 'false',
Any: 'any',
} as const;
export type BranchLocatorDefaultEnum =
(typeof BranchLocatorDefaultEnum)[keyof typeof BranchLocatorDefaultEnum];
export const BranchLocatorPolicyEnum = {
VcsBranches: 'vcs_branches',
ActiveVcsBranches: 'active_vcs_branches',
HistoryBranches: 'history_branches',
ActiveHistoryBranches: 'active_history_branches',
ActiveHistoryAndActiveVcsBranches: 'active_history_and_active_vcs_branches',
AllBranches: 'all_branches',
} as const;
export type BranchLocatorPolicyEnum =
(typeof BranchLocatorPolicyEnum)[keyof typeof BranchLocatorPolicyEnum];
export const BranchLocatorUnspecifiedEnum = {
True: 'true',
False: 'false',
Any: 'any',
} as const;
export type BranchLocatorUnspecifiedEnum =
(typeof BranchLocatorUnspecifiedEnum)[keyof typeof BranchLocatorUnspecifiedEnum];