/** * 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 { TextStyleV0FontFamily } from './textStyleV0FontFamily'; export class TextStyleV0 { 'fontFamily'?: TextStyleV0FontFamily; 'fontSize'?: number = 16; /** * Font weight enumeration. */ 'fontWeight'?: TextStyleV0.FontWeightEnum | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | null = TextStyleV0.FontWeightEnum.NUMBER_400; 'textColor'?: string = '#000000'; 'characterSpacing'?: number | null = 0; 'fontStyle'?: string | null; 'textDecoration'?: string | null; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "fontFamily", "baseName": "font_family", "type": "TextStyleV0FontFamily" }, { "name": "fontSize", "baseName": "font_size", "type": "number" }, { "name": "fontWeight", "baseName": "font_weight", "type": "TextStyleV0.FontWeightEnum" }, { "name": "textColor", "baseName": "text_color", "type": "string" }, { "name": "characterSpacing", "baseName": "character_spacing", "type": "number" }, { "name": "fontStyle", "baseName": "font_style", "type": "string" }, { "name": "textDecoration", "baseName": "text_decoration", "type": "string" } ]; static getAttributeTypeMap() { return TextStyleV0.attributeTypeMap; } } export namespace TextStyleV0 { export enum FontWeightEnum { NUMBER_100 = 100, NUMBER_200 = 200, NUMBER_300 = 300, NUMBER_400 = 400, NUMBER_500 = 500, NUMBER_600 = 600, NUMBER_700 = 700, NUMBER_800 = 800, NUMBER_900 = 900 } }