/** * 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 FormResponseObjectResourceAttributes { /** * Name of the form. */ 'name': string; /** * Status of the form. A live form with an in-progress draft is considered \"live\". */ 'status': FormResponseObjectResourceAttributes.StatusEnum | 'draft' | 'live'; /** * Whether the form has an A/B test configured, regardless of its status. */ 'abTest': boolean; /** * ISO8601 timestamp when the form was created. */ 'createdAt': Date; /** * ISO8601 timestamp when the form was last updated. */ 'updatedAt': Date; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "name", "baseName": "name", "type": "string" }, { "name": "status", "baseName": "status", "type": "FormResponseObjectResourceAttributes.StatusEnum" }, { "name": "abTest", "baseName": "ab_test", "type": "boolean" }, { "name": "createdAt", "baseName": "created_at", "type": "Date" }, { "name": "updatedAt", "baseName": "updated_at", "type": "Date" } ]; static getAttributeTypeMap() { return FormResponseObjectResourceAttributes.attributeTypeMap; } } export namespace FormResponseObjectResourceAttributes { export enum StatusEnum { Draft = 'draft', Live = 'live' } }