/** * 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 TextStyleStyles { 'color'?: string | null; 'fontFamily'?: string | null; 'fontSize'?: number | null; /** * Font style. */ 'fontStyle'?: TextStyleStyles.FontStyleEnum | 'italic' | 'normal' | null; 'fontWeight'?: string | null; 'letterSpacing'?: number | null; 'lineHeight'?: number | null; 'mobileFontSize'?: number | null; 'mobileLineHeight'?: number | null; /** * Text Alignment. */ 'textAlign'?: TextStyleStyles.TextAlignEnum | 'center' | 'left' | 'right' | null; 'textDecoration'?: string | null; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "color", "baseName": "color", "type": "string" }, { "name": "fontFamily", "baseName": "font_family", "type": "string" }, { "name": "fontSize", "baseName": "font_size", "type": "number" }, { "name": "fontStyle", "baseName": "font_style", "type": "TextStyleStyles.FontStyleEnum" }, { "name": "fontWeight", "baseName": "font_weight", "type": "string" }, { "name": "letterSpacing", "baseName": "letter_spacing", "type": "number" }, { "name": "lineHeight", "baseName": "line_height", "type": "number" }, { "name": "mobileFontSize", "baseName": "mobile_font_size", "type": "number" }, { "name": "mobileLineHeight", "baseName": "mobile_line_height", "type": "number" }, { "name": "textAlign", "baseName": "text_align", "type": "TextStyleStyles.TextAlignEnum" }, { "name": "textDecoration", "baseName": "text_decoration", "type": "string" } ]; static getAttributeTypeMap() { return TextStyleStyles.attributeTypeMap; } } export namespace TextStyleStyles { export enum FontStyleEnum { Italic = 'italic', Normal = 'normal' } export enum TextAlignEnum { Center = 'center', Left = 'left', Right = 'right' } }