/** * 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 { ImportDiagnostic } from '../models/ImportDiagnostic'; import { ImportFailure } from '../models/ImportFailure'; import { ImportSummary } from '../models/ImportSummary'; import { HttpFile } from '../http/http'; /** * Response from importMemory. On `SUCCESS`, `summary` is fully populated. `diagnostics` carries any fatal errors, rollbacks, and non-fatal warnings produced during the import. */ export class ImportMemoryResponse { /** * Terminal status of the import. */ 'status': ImportMemoryResponseStatusEnum; /** * Per (memory type, target source) result entries. Null when the import failed before any record processing occurred. */ 'summary'?: Array | null; /** * Per-item validation failure entries. Null when the import failed before item validation could run. */ 'validation_failures'?: Array | null; /** * Diagnostic message groups (errors, rollbacks, and non-fatal warnings), each keyed by a `sub_status`. Null when the import produced no diagnostics. */ 'diagnostics'?: Array | null; /** * Server-generated identifier for this import operation. Include it in support tickets to help correlate server-side logs. */ 'operation_id'?: string | null; static readonly discriminator: string | undefined = undefined; static readonly mapping: {[index: string]: string} | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "status", "baseName": "status", "type": "ImportMemoryResponseStatusEnum", "format": "" }, { "name": "summary", "baseName": "summary", "type": "Array", "format": "" }, { "name": "validation_failures", "baseName": "validation_failures", "type": "Array", "format": "" }, { "name": "diagnostics", "baseName": "diagnostics", "type": "Array", "format": "" }, { "name": "operation_id", "baseName": "operation_id", "type": "string", "format": "" } ]; static getAttributeTypeMap() { return ImportMemoryResponse.attributeTypeMap; } public constructor() { } } export type ImportMemoryResponseStatusEnum = "SUCCESS" | "VALIDATION_FAILED" | "FAILED" ;