/** * 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 SectionStyles { 'backgroundAssetId'?: string | null; 'backgroundColor'?: string | null; /** * Background format. */ 'backgroundFormat'?: SectionStyles.BackgroundFormatEnum | 'auto' | 'contain' | 'cover' | 'initial' | 'repeat' | null; 'backgroundImageFullWidth'?: boolean | null; /** * Background position. */ 'backgroundPosition'?: SectionStyles.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; /** * Border style. */ 'borderStyle'?: SectionStyles.BorderStyleEnum | 'dashed' | 'dotted' | 'groove' | 'inset' | 'none' | 'outset' | 'ridge' | 'solid' | null; 'borderWidth'?: number | null; /** * Vertical alignment. */ 'columnAlign'?: SectionStyles.ColumnAlignEnum | 'baseline' | 'bottom' | 'middle' | 'top' | null; /** * Stacking direction. */ 'columnDirection'?: SectionStyles.ColumnDirectionEnum | 'ltr' | 'no-stack' | 'rtl' | null; 'contentColor'?: string | null; /** * Content color type. */ 'contentColorType'?: SectionStyles.ContentColorTypeEnum | 'none' | 'section' | 'template' | null; 'innerPaddingBottom'?: number | null; 'innerPaddingLeft'?: number | null; 'innerPaddingRight'?: number | null; 'innerPaddingTop'?: number | null; 'stackOnMobile'?: boolean | null; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "backgroundAssetId", "baseName": "background_asset_id", "type": "string" }, { "name": "backgroundColor", "baseName": "background_color", "type": "string" }, { "name": "backgroundFormat", "baseName": "background_format", "type": "SectionStyles.BackgroundFormatEnum" }, { "name": "backgroundImageFullWidth", "baseName": "background_image_full_width", "type": "boolean" }, { "name": "backgroundPosition", "baseName": "background_position", "type": "SectionStyles.BackgroundPositionEnum" }, { "name": "backgroundRepeat", "baseName": "background_repeat", "type": "boolean" }, { "name": "backgroundUrl", "baseName": "background_url", "type": "string" }, { "name": "borderColor", "baseName": "border_color", "type": "string" }, { "name": "borderStyle", "baseName": "border_style", "type": "SectionStyles.BorderStyleEnum" }, { "name": "borderWidth", "baseName": "border_width", "type": "number" }, { "name": "columnAlign", "baseName": "column_align", "type": "SectionStyles.ColumnAlignEnum" }, { "name": "columnDirection", "baseName": "column_direction", "type": "SectionStyles.ColumnDirectionEnum" }, { "name": "contentColor", "baseName": "content_color", "type": "string" }, { "name": "contentColorType", "baseName": "content_color_type", "type": "SectionStyles.ContentColorTypeEnum" }, { "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": "stackOnMobile", "baseName": "stack_on_mobile", "type": "boolean" } ]; static getAttributeTypeMap() { return SectionStyles.attributeTypeMap; } } export namespace SectionStyles { 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' } export enum ColumnAlignEnum { Baseline = 'baseline', Bottom = 'bottom', Middle = 'middle', Top = 'top' } export enum ColumnDirectionEnum { Ltr = 'ltr', NoStack = 'no-stack', Rtl = 'rtl' } export enum ContentColorTypeEnum { None = 'none', Section = 'section', Template = 'template' } }