/** * 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 BaseStyleStyles { 'backgroundAssetId'?: string | null; /** * Background format. */ 'backgroundFormat'?: BaseStyleStyles.BackgroundFormatEnum | 'auto' | 'contain' | 'cover' | 'initial' | 'repeat' | null; /** * Background position. */ 'backgroundPosition'?: BaseStyleStyles.BackgroundPositionEnum | 'center-bottom' | 'center-center' | 'center-top' | 'left-bottom' | 'left-center' | 'left-top' | 'right-bottom' | 'right-center' | 'right-top' | null; 'backgroundRepeat'?: boolean | null; 'backgroundUrl'?: string | null; 'borderColor'?: string | null; 'borderRadius'?: number | null; /** * Border style. */ 'borderStyle'?: BaseStyleStyles.BorderStyleEnum | 'dashed' | 'dotted' | 'groove' | 'inset' | 'none' | 'outset' | 'ridge' | 'solid' | null; 'borderWidth'?: number | null; 'contentBackgroundColor'?: string | null; 'innerPaddingBottom'?: number | null; 'innerPaddingLeft'?: number | null; 'innerPaddingRight'?: number | null; 'innerPaddingTop'?: number | null; 'marginTop'?: number | null; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "backgroundAssetId", "baseName": "background_asset_id", "type": "string" }, { "name": "backgroundFormat", "baseName": "background_format", "type": "BaseStyleStyles.BackgroundFormatEnum" }, { "name": "backgroundPosition", "baseName": "background_position", "type": "BaseStyleStyles.BackgroundPositionEnum" }, { "name": "backgroundRepeat", "baseName": "background_repeat", "type": "boolean" }, { "name": "backgroundUrl", "baseName": "background_url", "type": "string" }, { "name": "borderColor", "baseName": "border_color", "type": "string" }, { "name": "borderRadius", "baseName": "border_radius", "type": "number" }, { "name": "borderStyle", "baseName": "border_style", "type": "BaseStyleStyles.BorderStyleEnum" }, { "name": "borderWidth", "baseName": "border_width", "type": "number" }, { "name": "contentBackgroundColor", "baseName": "content_background_color", "type": "string" }, { "name": "innerPaddingBottom", "baseName": "inner_padding_bottom", "type": "number" }, { "name": "innerPaddingLeft", "baseName": "inner_padding_left", "type": "number" }, { "name": "innerPaddingRight", "baseName": "inner_padding_right", "type": "number" }, { "name": "innerPaddingTop", "baseName": "inner_padding_top", "type": "number" }, { "name": "marginTop", "baseName": "margin_top", "type": "number" } ]; static getAttributeTypeMap() { return BaseStyleStyles.attributeTypeMap; } } export namespace BaseStyleStyles { export enum BackgroundFormatEnum { Auto = 'auto', Contain = 'contain', Cover = 'cover', Initial = 'initial', Repeat = 'repeat' } export enum BackgroundPositionEnum { CenterBottom = 'center-bottom', CenterCenter = 'center-center', CenterTop = 'center-top', LeftBottom = 'left-bottom', LeftCenter = 'left-center', LeftTop = 'left-top', RightBottom = 'right-bottom', RightCenter = 'right-center', RightTop = 'right-top' } export enum BorderStyleEnum { Dashed = 'dashed', Dotted = 'dotted', Groove = 'groove', Inset = 'inset', None = 'none', Outset = 'outset', Ridge = 'ridge', Solid = 'solid' } }