/** * 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 { HeaderBlockData } from './headerBlockData'; import { HeaderBlockV1SubblocksInner } from './headerBlockV1SubblocksInner'; export class HeaderBlockV1 { 'id'?: string | null; 'dataId'?: string | null; 'universalId'?: string | null; 'contentType': HeaderBlockV1.ContentTypeEnum | 'block'; 'type': HeaderBlockV1.TypeEnum | 'header'; 'data': HeaderBlockData; 'subblocks'?: Array | null; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "id", "baseName": "id", "type": "string" }, { "name": "dataId", "baseName": "data_id", "type": "string" }, { "name": "universalId", "baseName": "universal_id", "type": "string" }, { "name": "contentType", "baseName": "content_type", "type": "HeaderBlockV1.ContentTypeEnum" }, { "name": "type", "baseName": "type", "type": "HeaderBlockV1.TypeEnum" }, { "name": "data", "baseName": "data", "type": "HeaderBlockData" }, { "name": "subblocks", "baseName": "subblocks", "type": "Array" } ]; static getAttributeTypeMap() { return HeaderBlockV1.attributeTypeMap; } } export namespace HeaderBlockV1 { export enum ContentTypeEnum { Block = 'block' } export enum TypeEnum { Header = 'header' } }