/** * 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 { ChannelHistoryEventInfo } from '../models/ChannelHistoryEventInfo'; import { JobRecipient } from '../models/JobRecipient'; import { HttpFile } from '../http/http'; /** * A single job execution record for a channel. */ export class ChannelHistoryJob { /** * Unique identifier for this job. */ 'id': string; /** * Delivery status of this job. */ 'status': ChannelHistoryJobStatusEnum; /** * Timestamp when this job was created (epoch milliseconds). */ 'creation_time_in_millis': number; 'event'?: ChannelHistoryEventInfo; /** * The users, groups or external recipients for this job. */ 'recipients'?: Array | null; /** * Additional delivery details such as HTTP response code or error message. */ 'detail'?: string | null; /** * Number of attempts made. 1 indicates first attempt. */ 'try_count'?: number | null; static readonly discriminator: string | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "id", "baseName": "id", "type": "string", "format": "" }, { "name": "status", "baseName": "status", "type": "ChannelHistoryJobStatusEnum", "format": "" }, { "name": "creation_time_in_millis", "baseName": "creation_time_in_millis", "type": "number", "format": "float" }, { "name": "event", "baseName": "event", "type": "ChannelHistoryEventInfo", "format": "" }, { "name": "recipients", "baseName": "recipients", "type": "Array", "format": "" }, { "name": "detail", "baseName": "detail", "type": "string", "format": "" }, { "name": "try_count", "baseName": "try_count", "type": "number", "format": "int32" } ]; static getAttributeTypeMap() { return ChannelHistoryJob.attributeTypeMap; } public constructor() { } } export type ChannelHistoryJobStatusEnum = "PENDING" | "RETRY" | "SUCCESS" | "FAILED" ;