/** * 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 { StorageDestination } from '../models/StorageDestination'; import { WebhookAuthentication } from '../models/WebhookAuthentication'; import { WebhookKeyValuePair } from '../models/WebhookKeyValuePair'; import { WebhookOrg } from '../models/WebhookOrg'; import { WebhookSignatureVerification } from '../models/WebhookSignatureVerification'; import { WebhookUser } from '../models/WebhookUser'; import { HttpFile } from '../http/http'; export class WebhookResponse { /** * Unique identifier of the webhook configuration. */ 'id': string; /** * Name of the webhook configuration. */ 'name': string; /** * Description of the webhook configuration. */ 'description'?: string | null; 'org'?: WebhookOrg; /** * The webhook endpoint URL. */ 'url': string; /** * Additional URL parameters as key-value pairs. */ 'url_params'?: any | null; /** * List of events this webhook subscribes to. */ 'events': Array; 'authentication'?: WebhookAuthentication; 'signature_verification'?: WebhookSignatureVerification; /** * Additional headers as an array of key-value pairs. Version: 26.4.0.cl or later */ 'additional_headers'?: Array | null; /** * Creation time of the webhook configuration in milliseconds. */ 'creation_time_in_millis': number; /** * Last modified time of the webhook configuration in milliseconds. */ 'modification_time_in_millis': number; 'created_by'?: WebhookUser; 'last_modified_by'?: WebhookUser; 'storage_destination'?: StorageDestination; 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": "name", "baseName": "name", "type": "string", "format": "" }, { "name": "description", "baseName": "description", "type": "string", "format": "" }, { "name": "org", "baseName": "org", "type": "WebhookOrg", "format": "" }, { "name": "url", "baseName": "url", "type": "string", "format": "" }, { "name": "url_params", "baseName": "url_params", "type": "any", "format": "" }, { "name": "events", "baseName": "events", "type": "Array", "format": "" }, { "name": "authentication", "baseName": "authentication", "type": "WebhookAuthentication", "format": "" }, { "name": "signature_verification", "baseName": "signature_verification", "type": "WebhookSignatureVerification", "format": "" }, { "name": "additional_headers", "baseName": "additional_headers", "type": "Array", "format": "" }, { "name": "creation_time_in_millis", "baseName": "creation_time_in_millis", "type": "number", "format": "float" }, { "name": "modification_time_in_millis", "baseName": "modification_time_in_millis", "type": "number", "format": "float" }, { "name": "created_by", "baseName": "created_by", "type": "WebhookUser", "format": "" }, { "name": "last_modified_by", "baseName": "last_modified_by", "type": "WebhookUser", "format": "" }, { "name": "storage_destination", "baseName": "storage_destination", "type": "StorageDestination", "format": "" } ]; static getAttributeTypeMap() { return WebhookResponse.attributeTypeMap; } public constructor() { } } export type WebhookResponseEventsEnum = "LIVEBOARD_SCHEDULE" ;