/** * 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 { SendPushNotificationAction } from './sendPushNotificationAction'; export class SendPushNotificationActionCurrentExperiment { /** * Not allowed on create. */ 'id'?: string | null; 'name'?: string | null; 'variations': Array; 'allocations'?: object | null; 'started'?: Date | null; /** * The metric to use to determine the winner of the content experiment action. */ 'winnerMetric'?: SendPushNotificationActionCurrentExperiment.WinnerMetricEnum | 'open-rate' | null; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "id", "baseName": "id", "type": "string" }, { "name": "name", "baseName": "name", "type": "string" }, { "name": "variations", "baseName": "variations", "type": "Array" }, { "name": "allocations", "baseName": "allocations", "type": "object" }, { "name": "started", "baseName": "started", "type": "Date" }, { "name": "winnerMetric", "baseName": "winner_metric", "type": "SendPushNotificationActionCurrentExperiment.WinnerMetricEnum" } ]; static getAttributeTypeMap() { return SendPushNotificationActionCurrentExperiment.attributeTypeMap; } } export namespace SendPushNotificationActionCurrentExperiment { export enum WinnerMetricEnum { OpenRate = 'open-rate' } }