/** * 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 { ChannelHistoryEventInput } from '../models/ChannelHistoryEventInput'; import { HttpFile } from '../http/http'; export class SearchChannelHistoryRequest { /** * Type of communication channel to search history for. */ 'channel_type': SearchChannelHistoryRequestChannelTypeEnum; /** * List of job execution record IDs to retrieve. */ 'job_ids'?: Array; /** * List of channel IDs or names to filter by. */ 'channel_identifiers'?: Array; /** * Filter by channel delivery status. */ 'channel_status'?: SearchChannelHistoryRequestChannelStatusEnum; /** * Filter by events that triggered the channel. */ 'events'?: Array; /** * Filter records created on or after this time (epoch milliseconds). */ 'start_epoch_time_in_millis'?: number; static readonly discriminator: string | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "channel_type", "baseName": "channel_type", "type": "SearchChannelHistoryRequestChannelTypeEnum", "format": "" }, { "name": "job_ids", "baseName": "job_ids", "type": "Array", "format": "" }, { "name": "channel_identifiers", "baseName": "channel_identifiers", "type": "Array", "format": "" }, { "name": "channel_status", "baseName": "channel_status", "type": "SearchChannelHistoryRequestChannelStatusEnum", "format": "" }, { "name": "events", "baseName": "events", "type": "Array", "format": "" }, { "name": "start_epoch_time_in_millis", "baseName": "start_epoch_time_in_millis", "type": "number", "format": "float" } ]; static getAttributeTypeMap() { return SearchChannelHistoryRequest.attributeTypeMap; } public constructor() { } } export type SearchChannelHistoryRequestChannelTypeEnum = "WEBHOOK" ; export type SearchChannelHistoryRequestChannelStatusEnum = "PENDING" | "RETRY" | "SUCCESS" | "FAILED" ;