/** * 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 TemplateDndResponseObjectResourceAttributes { /** * The name of the template */ 'name': string; /** * `editor_type` has a fixed set of values: * SYSTEM_DRAGGABLE: indicates a drag-and-drop editor template * SIMPLE: A rich text editor template * CODE: A custom HTML template * USER_DRAGGABLE: A hybrid template, using custom HTML in the drag-and-drop editor */ 'editorType': string; /** * The rendered HTML of the template */ 'html': string; /** * The template plain_text */ 'text'?: string | null; /** * The AMP version of the template. Requires AMP Email to be enabled to access in-app. Refer to the AMP Email setup guide at https://developers.klaviyo.com/en/docs/send_amp_emails_in_klaviyo */ 'amp'?: string | null; /** * The date the template was created in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm) */ 'created'?: Date | null; /** * The date the template was updated in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm) */ 'updated'?: Date | null; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "name", "baseName": "name", "type": "string" }, { "name": "editorType", "baseName": "editor_type", "type": "string" }, { "name": "html", "baseName": "html", "type": "string" }, { "name": "text", "baseName": "text", "type": "string" }, { "name": "amp", "baseName": "amp", "type": "string" }, { "name": "created", "baseName": "created", "type": "Date" }, { "name": "updated", "baseName": "updated", "type": "Date" } ]; static getAttributeTypeMap() { return TemplateDndResponseObjectResourceAttributes.attributeTypeMap; } }