/** * 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'; /** * MetadataType InputType used in Export MetadataType API */ export class ExportMetadataTypeInput { /** * Type of metadata. Required if the name of the object is set as the identifier. This attribute is optional when the object GUID is specified as the identifier. */ 'type'?: ExportMetadataTypeInputTypeEnum | null; /** * Unique ID or name of the metadata object. Not required if the metadata type is ANSWER when session_id and generation_number is set. */ 'identifier'?: string | null; /** * Unique ID of the Answer session. Required if the metadata type is ANSWER and identifier is not set. */ 'session_identifier'?: string | null; /** * Generation Number of the Answer session. Required if the metadata type is ANSWER and identifier is not set. */ 'generation_number'?: number | null; static readonly discriminator: string | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "type", "baseName": "type", "type": "ExportMetadataTypeInputTypeEnum", "format": "" }, { "name": "identifier", "baseName": "identifier", "type": "string", "format": "" }, { "name": "session_identifier", "baseName": "session_identifier", "type": "string", "format": "" }, { "name": "generation_number", "baseName": "generation_number", "type": "number", "format": "int32" } ]; static getAttributeTypeMap() { return ExportMetadataTypeInput.attributeTypeMap; } public constructor() { } } export type ExportMetadataTypeInputTypeEnum = "LIVEBOARD" | "ANSWER" | "LOGICAL_TABLE" | "CONNECTION" | "CUSTOM_ACTION" | "USER" | "USER_GROUP" | "ROLE" | "FEEDBACK" ;