/** * 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 { MetricCreateQueryResourceObjectAttributes } from './metricCreateQueryResourceObjectAttributes'; import { MetricEnum } from './metricEnum'; export class MetricCreateQueryResourceObject { 'type': MetricEnum | 'metric'; 'attributes': MetricCreateQueryResourceObjectAttributes; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "type", "baseName": "type", "type": "MetricEnum" }, { "name": "attributes", "baseName": "attributes", "type": "MetricCreateQueryResourceObjectAttributes" } ]; static getAttributeTypeMap() { return MetricCreateQueryResourceObject.attributeTypeMap; } } export namespace MetricCreateQueryResourceObject { }