/** * 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 { ChannelValidationDetail } from '../models/ChannelValidationDetail'; import { HttpFile } from '../http/http'; /** * Response containing validation results for communication channel configuration. */ export class CommunicationChannelValidateResponse { /** * Type of communication channel that was validated. */ 'channel_type': CommunicationChannelValidateResponseChannelTypeEnum; /** * ID of the communication channel (e.g., webhook_id). */ 'channel_id': string; /** * Name of the communication channel (e.g., webhook name). */ 'channel_name'?: string | null; /** * Event type that was validated. */ 'event_type': CommunicationChannelValidateResponseEventTypeEnum; /** * Unique Job Id of the validation. */ 'job_id': string; /** * Overall result of the validation. */ 'result_code': CommunicationChannelValidateResponseResultCodeEnum; /** * Detailed results of various validation sub-steps. */ 'details'?: Array | null; 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": "CommunicationChannelValidateResponseChannelTypeEnum", "format": "" }, { "name": "channel_id", "baseName": "channel_id", "type": "string", "format": "" }, { "name": "channel_name", "baseName": "channel_name", "type": "string", "format": "" }, { "name": "event_type", "baseName": "event_type", "type": "CommunicationChannelValidateResponseEventTypeEnum", "format": "" }, { "name": "job_id", "baseName": "job_id", "type": "string", "format": "" }, { "name": "result_code", "baseName": "result_code", "type": "CommunicationChannelValidateResponseResultCodeEnum", "format": "" }, { "name": "details", "baseName": "details", "type": "Array", "format": "" } ]; static getAttributeTypeMap() { return CommunicationChannelValidateResponse.attributeTypeMap; } public constructor() { } } export type CommunicationChannelValidateResponseChannelTypeEnum = "WEBHOOK" ; export type CommunicationChannelValidateResponseEventTypeEnum = "LIVEBOARD_SCHEDULE" ; export type CommunicationChannelValidateResponseResultCodeEnum = "SUCCESS" | "FAILED" | "PARTIAL_SUCCESS" ;