/** * ThoughtSpot Public REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * OpenAPI spec version: 2.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { HttpFile } from '../http/http'; export class DeployCommitRequest { /** * Commit_id against which the files should be picked to deploy. Note: If no commit_id is specified, then the head of the branch is considered. */ 'commit_id'?: string; /** * Name of the remote branch where changes should be picked */ 'branch_name': string; /** * Indicates if all files or only modified file at specified commit point should be considered */ 'deploy_type'?: DeployCommitRequestDeployTypeEnum; /** * Define the policy to follow while importing TML in the ThoughtSpot environment. Use “ALL_OR_NONE” to cancel the deployment of all ThoughtSpot objects if at least one of them fails to import. Use “Partial” to import ThoughtSpot objects that validate successfully even if other objects in the same deploy operations fail to import. */ 'deploy_policy'?: DeployCommitRequestDeployPolicyEnum; static readonly discriminator: string | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "commit_id", "baseName": "commit_id", "type": "string", "format": "" }, { "name": "branch_name", "baseName": "branch_name", "type": "string", "format": "" }, { "name": "deploy_type", "baseName": "deploy_type", "type": "DeployCommitRequestDeployTypeEnum", "format": "" }, { "name": "deploy_policy", "baseName": "deploy_policy", "type": "DeployCommitRequestDeployPolicyEnum", "format": "" } ]; static getAttributeTypeMap() { return DeployCommitRequest.attributeTypeMap; } public constructor() { } } export type DeployCommitRequestDeployTypeEnum = "FULL" | "DELTA" ; export type DeployCommitRequestDeployPolicyEnum = "ALL_OR_NONE" | "PARTIAL" | "VALIDATE_ONLY" ;