/** * 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 HeaderImageSubBlock { 'id'?: string | null; 'type': HeaderImageSubBlock.TypeEnum | 'header_link_bar_image'; 'altText'?: string | null; 'assetId'?: string | null; 'backgroundColor'?: string | null; 'height'?: number | null; 'href'?: string | null; 'maxWidth'?: number | null; /** * Show on. */ 'showOn'?: HeaderImageSubBlock.ShowOnEnum | 'all' | 'desktop' | 'mobile' | null; 'src'?: string | null; 'width'?: number | null; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "id", "baseName": "id", "type": "string" }, { "name": "type", "baseName": "type", "type": "HeaderImageSubBlock.TypeEnum" }, { "name": "altText", "baseName": "alt_text", "type": "string" }, { "name": "assetId", "baseName": "asset_id", "type": "string" }, { "name": "backgroundColor", "baseName": "background_color", "type": "string" }, { "name": "height", "baseName": "height", "type": "number" }, { "name": "href", "baseName": "href", "type": "string" }, { "name": "maxWidth", "baseName": "max_width", "type": "number" }, { "name": "showOn", "baseName": "show_on", "type": "HeaderImageSubBlock.ShowOnEnum" }, { "name": "src", "baseName": "src", "type": "string" }, { "name": "width", "baseName": "width", "type": "number" } ]; static getAttributeTypeMap() { return HeaderImageSubBlock.attributeTypeMap; } } export namespace HeaderImageSubBlock { export enum TypeEnum { HeaderLinkBarImage = 'header_link_bar_image' } export enum ShowOnEnum { All = 'all', Desktop = 'desktop', Mobile = 'mobile' } }