/** * 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 { TableBlockData } from './tableBlockData'; import { TableBlockV1SubblocksInner } from './tableBlockV1SubblocksInner'; export class TableBlockV1 { 'id'?: string | null; 'dataId'?: string | null; 'universalId'?: string | null; 'contentType': TableBlockV1.ContentTypeEnum | 'block'; 'type': TableBlockV1.TypeEnum | 'table'; 'data': TableBlockData; '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": "TableBlockV1.ContentTypeEnum" }, { "name": "type", "baseName": "type", "type": "TableBlockV1.TypeEnum" }, { "name": "data", "baseName": "data", "type": "TableBlockData" }, { "name": "subblocks", "baseName": "subblocks", "type": "Array" } ]; static getAttributeTypeMap() { return TableBlockV1.attributeTypeMap; } } export namespace TableBlockV1 { export enum ContentTypeEnum { Block = 'block' } export enum TypeEnum { Table = 'table' } }