/** * 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 { CouponBlockV0Data } from './couponBlockV0Data'; export class ProductBlockV0 { 'contentType': ProductBlockV0.ContentTypeEnum | 'block'; 'type': ProductBlockV0.TypeEnum | 'product'; 'data': CouponBlockV0Data | null; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "contentType", "baseName": "content_type", "type": "ProductBlockV0.ContentTypeEnum" }, { "name": "type", "baseName": "type", "type": "ProductBlockV0.TypeEnum" }, { "name": "data", "baseName": "data", "type": "CouponBlockV0Data" } ]; static getAttributeTypeMap() { return ProductBlockV0.attributeTypeMap; } } export namespace ProductBlockV0 { export enum ContentTypeEnum { Block = 'block' } export enum TypeEnum { Product = 'product' } }