/** * 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 BackgroundImageStyles { /** * Horizontal alignment enumeration. */ 'horizontalAlignment'?: BackgroundImageStyles.HorizontalAlignmentEnum | 'center' | 'left' | 'right' = BackgroundImageStyles.HorizontalAlignmentEnum.Center; 'width'?: number | null; /** * Image position enumeration. */ 'position'?: BackgroundImageStyles.PositionEnum | 'contain' | 'cover' | 'custom' = BackgroundImageStyles.PositionEnum.Contain; /** * Vertical alignment enumeration. */ 'verticalAlignment'?: BackgroundImageStyles.VerticalAlignmentEnum | 'bottom' | 'center' | 'top' = BackgroundImageStyles.VerticalAlignmentEnum.Center; 'customWidth'?: number | null; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "horizontalAlignment", "baseName": "horizontal_alignment", "type": "BackgroundImageStyles.HorizontalAlignmentEnum" }, { "name": "width", "baseName": "width", "type": "number" }, { "name": "position", "baseName": "position", "type": "BackgroundImageStyles.PositionEnum" }, { "name": "verticalAlignment", "baseName": "vertical_alignment", "type": "BackgroundImageStyles.VerticalAlignmentEnum" }, { "name": "customWidth", "baseName": "custom_width", "type": "number" } ]; static getAttributeTypeMap() { return BackgroundImageStyles.attributeTypeMap; } } export namespace BackgroundImageStyles { export enum HorizontalAlignmentEnum { Center = 'center', Left = 'left', Right = 'right' } export enum PositionEnum { Contain = 'contain', Cover = 'cover', Custom = 'custom' } export enum VerticalAlignmentEnum { Bottom = 'bottom', Center = 'center', Top = 'top' } }