/** * 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 { BackgroundImage } from './backgroundImage'; import { BannerStyles } from './bannerStyles'; import { BorderStyle } from './borderStyle'; import { CloseButtonStyle } from './closeButtonStyle'; import { CustomCss } from './customCss'; import { DropShadow } from './dropShadow'; import { InputStyles } from './inputStyles'; import { Margin } from './margin'; import { MobileOverlay } from './mobileOverlay'; import { Padding } from './padding'; import { RichTextStyles } from './richTextStyles'; export class VersionStyles { 'wrapContent'?: boolean = false; 'borderStyles'?: BorderStyle; 'closeButton'?: CloseButtonStyle; 'margin'?: Margin; 'padding'?: Padding; 'minimumHeight'?: number = 250; /** * Version width enumeration. */ 'width'?: VersionStyles.WidthEnum | 'custom' | 'large' | 'medium' | 'small' = VersionStyles.WidthEnum.Medium; 'customWidth'?: number | null; 'backgroundImage'?: BackgroundImage; 'backgroundColor'?: string | null = '#FFFFFF'; 'inputStyles'?: InputStyles; 'dropShadow'?: DropShadow; 'overlayColor'?: string = 'rgba(20,20,20,0.6)'; 'richTextStyles'?: RichTextStyles; 'mobileOverlay'?: MobileOverlay; 'bannerStyles'?: BannerStyles; 'customCss'?: CustomCss; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "wrapContent", "baseName": "wrap_content", "type": "boolean" }, { "name": "borderStyles", "baseName": "border_styles", "type": "BorderStyle" }, { "name": "closeButton", "baseName": "close_button", "type": "CloseButtonStyle" }, { "name": "margin", "baseName": "margin", "type": "Margin" }, { "name": "padding", "baseName": "padding", "type": "Padding" }, { "name": "minimumHeight", "baseName": "minimum_height", "type": "number" }, { "name": "width", "baseName": "width", "type": "VersionStyles.WidthEnum" }, { "name": "customWidth", "baseName": "custom_width", "type": "number" }, { "name": "backgroundImage", "baseName": "background_image", "type": "BackgroundImage" }, { "name": "backgroundColor", "baseName": "background_color", "type": "string" }, { "name": "inputStyles", "baseName": "input_styles", "type": "InputStyles" }, { "name": "dropShadow", "baseName": "drop_shadow", "type": "DropShadow" }, { "name": "overlayColor", "baseName": "overlay_color", "type": "string" }, { "name": "richTextStyles", "baseName": "rich_text_styles", "type": "RichTextStyles" }, { "name": "mobileOverlay", "baseName": "mobile_overlay", "type": "MobileOverlay" }, { "name": "bannerStyles", "baseName": "banner_styles", "type": "BannerStyles" }, { "name": "customCss", "baseName": "custom_css", "type": "CustomCss" } ]; static getAttributeTypeMap() { return VersionStyles.attributeTypeMap; } } export namespace VersionStyles { export enum WidthEnum { Custom = 'custom', Large = 'large', Medium = 'medium', Small = 'small' } }