/** * 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 { ImportTargetSource } from '../models/ImportTargetSource'; import { HttpFile } from '../http/http'; /** * Per (memory type, target source) summary of what importMemory did — or would do, in DRY_RUN. `deleted_record_count` and `inserted_record_count` are previews in DRY_RUN and actuals in EXECUTE_IMPORT. */ export class ImportSummary { /** * The kind of memory (`RULES`, `RECIPES`, or `ALWAYS_APPLY_RULES`) these counts apply to. */ 'memory_type'?: ImportSummaryMemoryTypeEnum | null; 'source'?: ImportTargetSource; /** * Number of memory entries of this type that already existed on the target object before the import. */ 'existing_record_count'?: number | null; /** * Number of existing entries that will be (DRY_RUN) or were (EXECUTE_IMPORT) deleted as part of the replacement. */ 'deleted_record_count'?: number | null; /** * Number of entries from the payload that will be (DRY_RUN) or were (EXECUTE_IMPORT) inserted. */ 'inserted_record_count'?: number | null; /** * Number of records of this type that failed validation or processing. */ 'failed_record_count'?: number | 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": "memory_type", "baseName": "memory_type", "type": "ImportSummaryMemoryTypeEnum", "format": "" }, { "name": "source", "baseName": "source", "type": "ImportTargetSource", "format": "" }, { "name": "existing_record_count", "baseName": "existing_record_count", "type": "number", "format": "int32" }, { "name": "deleted_record_count", "baseName": "deleted_record_count", "type": "number", "format": "int32" }, { "name": "inserted_record_count", "baseName": "inserted_record_count", "type": "number", "format": "int32" }, { "name": "failed_record_count", "baseName": "failed_record_count", "type": "number", "format": "int32" } ]; static getAttributeTypeMap() { return ImportSummary.attributeTypeMap; } public constructor() { } } export type ImportSummaryMemoryTypeEnum = "RULES" | "RECIPES" | "ALWAYS_APPLY_RULES" ;