/** * 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 RatingStyle { 'color'?: string = '#F8BE00'; 'emptyColor'?: string = '#EBEEEF'; 'fontSize'?: number = 16; /** * Enumeration for review shapes. */ 'shape'?: RatingStyle.ShapeEnum | 'circle' | 'heart' | 'star' = RatingStyle.ShapeEnum.Star; /** * Horizontal alignment enumeration. */ 'alignment'?: RatingStyle.AlignmentEnum | 'center' | 'left' | 'right' = RatingStyle.AlignmentEnum.Center; 'characterSpacing'?: number = 0; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "color", "baseName": "color", "type": "string" }, { "name": "emptyColor", "baseName": "empty_color", "type": "string" }, { "name": "fontSize", "baseName": "font_size", "type": "number" }, { "name": "shape", "baseName": "shape", "type": "RatingStyle.ShapeEnum" }, { "name": "alignment", "baseName": "alignment", "type": "RatingStyle.AlignmentEnum" }, { "name": "characterSpacing", "baseName": "character_spacing", "type": "number" } ]; static getAttributeTypeMap() { return RatingStyle.attributeTypeMap; } } export namespace RatingStyle { export enum ShapeEnum { Circle = 'circle', Heart = 'heart', Star = 'star' } export enum AlignmentEnum { Center = 'center', Left = 'left', Right = 'right' } }