/** * 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 SearchCommitsRequest { /** * Unique ID or name of the metadata. */ 'metadata_identifier': string; /** * Type of metadata. */ 'metadata_type'?: SearchCommitsRequestMetadataTypeEnum; /** * Name of the branch from which commit history needs to be displayed. Note: If no branch_name is specified, then commits will be returned for the default branch for this configuration. */ 'branch_name'?: string; /** * Record offset point in the commit history to display the response. Note: If no record offset is specified, the beginning of the record will be considered. */ 'record_offset'?: number; /** * Number of history records from record offset point to be displayed in the response. Note: If no record size is specified, then all the records will be considered. */ 'record_size'?: number; static readonly discriminator: string | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "metadata_identifier", "baseName": "metadata_identifier", "type": "string", "format": "" }, { "name": "metadata_type", "baseName": "metadata_type", "type": "SearchCommitsRequestMetadataTypeEnum", "format": "" }, { "name": "branch_name", "baseName": "branch_name", "type": "string", "format": "" }, { "name": "record_offset", "baseName": "record_offset", "type": "number", "format": "int32" }, { "name": "record_size", "baseName": "record_size", "type": "number", "format": "int32" } ]; static getAttributeTypeMap() { return SearchCommitsRequest.attributeTypeMap; } public constructor() { } } export type SearchCommitsRequestMetadataTypeEnum = "LIVEBOARD" | "ANSWER" | "LOGICAL_TABLE" | "CUSTOM_ACTION" ;