/** * 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'; import { FormVersionABTest } from './formVersionABTest'; export class FormVersionResponseObjectResourceAttributes { /** * The type of form. */ 'formType': FormVersionResponseObjectResourceAttributes.FormTypeEnum | 'banner' | 'embed' | 'flyout' | 'full_page' | 'popup'; /** * The name of the form version. */ 'variationName': string; 'abTest'?: FormVersionABTest; /** * Status of the form version. \"live\" means it\'s live on site. */ 'status': FormVersionResponseObjectResourceAttributes.StatusEnum | 'draft' | 'live'; /** * ISO8601 timestamp when the form version was created. */ 'createdAt': Date; /** * ISO8601 timestamp when the form version was last updated. */ 'updatedAt': Date; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "formType", "baseName": "form_type", "type": "FormVersionResponseObjectResourceAttributes.FormTypeEnum" }, { "name": "variationName", "baseName": "variation_name", "type": "string" }, { "name": "abTest", "baseName": "ab_test", "type": "FormVersionABTest" }, { "name": "status", "baseName": "status", "type": "FormVersionResponseObjectResourceAttributes.StatusEnum" }, { "name": "createdAt", "baseName": "created_at", "type": "Date" }, { "name": "updatedAt", "baseName": "updated_at", "type": "Date" } ]; static getAttributeTypeMap() { return FormVersionResponseObjectResourceAttributes.attributeTypeMap; } } export namespace FormVersionResponseObjectResourceAttributes { export enum FormTypeEnum { Banner = 'banner', Embed = 'embed', Flyout = 'flyout', FullPage = 'full_page', Popup = 'popup' } export enum StatusEnum { Draft = 'draft', Live = 'live' } }