/** * 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 { FormDefinition } from './formDefinition'; export class EncodedFormResponseObjectResourceAttributes { /** * The status of the form. */ 'status': EncodedFormResponseObjectResourceAttributes.StatusEnum | 'draft' | 'live'; /** * Whether the form has an A/B test configured. */ 'abTest': boolean; /** * The name of the form. */ 'name': string; 'definition': FormDefinition; /** * The ISO8601 timestamp when the form was created. */ 'createdAt': Date; /** * The ISO8601 timestamp when the form was last updated. */ 'updatedAt': Date; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "status", "baseName": "status", "type": "EncodedFormResponseObjectResourceAttributes.StatusEnum" }, { "name": "abTest", "baseName": "ab_test", "type": "boolean" }, { "name": "name", "baseName": "name", "type": "string" }, { "name": "definition", "baseName": "definition", "type": "FormDefinition" }, { "name": "createdAt", "baseName": "created_at", "type": "Date" }, { "name": "updatedAt", "baseName": "updated_at", "type": "Date" } ]; static getAttributeTypeMap() { return EncodedFormResponseObjectResourceAttributes.attributeTypeMap; } } export namespace EncodedFormResponseObjectResourceAttributes { export enum StatusEnum { Draft = 'draft', Live = 'live' } }