/** * 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 ImportEPackAsyncTaskStatus { /** * GUID of tenant from which the task is initiated. */ 'tenant_id'?: string | null; /** * Organisation ID of the user who initiated the task. */ 'org_id'?: number | null; /** * Unique identifier for the task. */ 'task_id'?: string | null; /** * Name of the task. */ 'task_name'?: string | null; /** * Response of imported objects so far. */ 'import_response'?: any | null; /** * Current status of the task. */ 'task_status'?: ImportEPackAsyncTaskStatusTaskStatusEnum | null; /** * ID of the user who initiated the task. */ 'author_id'?: string | null; /** * Policy used for the import task. */ 'import_policy'?: ImportEPackAsyncTaskStatusImportPolicyEnum | null; /** * Time when the task was created (in ms since epoch). */ 'created_at'?: number | null; /** * Time when the task started (in ms since epoch). */ 'in_progress_at'?: number | null; /** * Time when the task was completed (in ms since epoch). */ 'completed_at'?: number | null; /** * Total number of objects to process. */ 'total_object_count'?: number | null; /** * Number of objects processed so far. */ 'object_processed_count'?: number | null; /** * Last time the task status was updated (in ms since epoch). */ 'modified_at'?: number | null; /** * Display name of the user who initiated the task. */ 'author_display_name'?: string | null; static readonly discriminator: string | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "tenant_id", "baseName": "tenant_id", "type": "string", "format": "" }, { "name": "org_id", "baseName": "org_id", "type": "number", "format": "int32" }, { "name": "task_id", "baseName": "task_id", "type": "string", "format": "" }, { "name": "task_name", "baseName": "task_name", "type": "string", "format": "" }, { "name": "import_response", "baseName": "import_response", "type": "any", "format": "" }, { "name": "task_status", "baseName": "task_status", "type": "ImportEPackAsyncTaskStatusTaskStatusEnum", "format": "" }, { "name": "author_id", "baseName": "author_id", "type": "string", "format": "" }, { "name": "import_policy", "baseName": "import_policy", "type": "ImportEPackAsyncTaskStatusImportPolicyEnum", "format": "" }, { "name": "created_at", "baseName": "created_at", "type": "number", "format": "float" }, { "name": "in_progress_at", "baseName": "in_progress_at", "type": "number", "format": "float" }, { "name": "completed_at", "baseName": "completed_at", "type": "number", "format": "float" }, { "name": "total_object_count", "baseName": "total_object_count", "type": "number", "format": "int32" }, { "name": "object_processed_count", "baseName": "object_processed_count", "type": "number", "format": "int32" }, { "name": "modified_at", "baseName": "modified_at", "type": "number", "format": "float" }, { "name": "author_display_name", "baseName": "author_display_name", "type": "string", "format": "" } ]; static getAttributeTypeMap() { return ImportEPackAsyncTaskStatus.attributeTypeMap; } public constructor() { } } export type ImportEPackAsyncTaskStatusTaskStatusEnum = "COMPLETED" | "IN_QUEUE" | "IN_PROGRESS" | "FAILED" ; export type ImportEPackAsyncTaskStatusImportPolicyEnum = "PARTIAL" | "ALL_OR_NONE" | "VALIDATE_ONLY" | "PARTIAL_OBJECT" ;