/** * Klaviyo API * The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. * * Contact: developers@klaviyo.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { RequestFile } from './models'; export class WebhookResponseObjectResourceAttributes { /** * A name for the webhook. */ 'name': string; /** * A description for the webhook. */ 'description'?: string | null; /** * The url to send webhook requests to, truncated for security. */ 'endpointUrl': string; /** * Is the webhook enabled. */ 'enabled': boolean; /** * Date and time when the webhook was created, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm) */ 'createdAt'?: Date | null; /** * Date and time when the webhook was last updated, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm) */ 'updatedAt'?: Date | null; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "name", "baseName": "name", "type": "string" }, { "name": "description", "baseName": "description", "type": "string" }, { "name": "endpointUrl", "baseName": "endpoint_url", "type": "string" }, { "name": "enabled", "baseName": "enabled", "type": "boolean" }, { "name": "createdAt", "baseName": "created_at", "type": "Date" }, { "name": "updatedAt", "baseName": "updated_at", "type": "Date" } ]; static getAttributeTypeMap() { return WebhookResponseObjectResourceAttributes.attributeTypeMap; } }