/** * 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 { MetadataObject } from '../models/MetadataObject'; import { HttpFile } from '../http/http'; export class RevertCommitRequest { /** * Metadata objects. */ 'metadata'?: Array; /** * Name of the branch where the reverted version should be committed Note: If no branch_name is specified, then the commit_branch_name will be considered. */ 'branch_name'?: string; /** * Policy to apply when reverting a commit. Valid values: [ALL_OR_NONE, PARTIAL] */ 'revert_policy'?: RevertCommitRequestRevertPolicyEnum; static readonly discriminator: string | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "metadata", "baseName": "metadata", "type": "Array", "format": "" }, { "name": "branch_name", "baseName": "branch_name", "type": "string", "format": "" }, { "name": "revert_policy", "baseName": "revert_policy", "type": "RevertCommitRequestRevertPolicyEnum", "format": "" } ]; static getAttributeTypeMap() { return RevertCommitRequest.attributeTypeMap; } public constructor() { } } export type RevertCommitRequestRevertPolicyEnum = "ALL_OR_NONE" | "PARTIAL" ;