/** * 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 { ButtonAction } from './buttonAction'; import { ButtonProperties } from './buttonProperties'; import { ButtonStyles } from './buttonStyles'; export class Button { /** * Not allowed on create. */ 'id'?: string | null; 'type': Button.TypeEnum | 'button'; 'styles'?: ButtonStyles; 'properties': ButtonProperties; 'action'?: ButtonAction; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "id", "baseName": "id", "type": "string" }, { "name": "type", "baseName": "type", "type": "Button.TypeEnum" }, { "name": "styles", "baseName": "styles", "type": "ButtonStyles" }, { "name": "properties", "baseName": "properties", "type": "ButtonProperties" }, { "name": "action", "baseName": "action", "type": "ButtonAction" } ]; static getAttributeTypeMap() { return Button.attributeTypeMap; } } export namespace Button { export enum TypeEnum { Button = 'button' } }