/** * 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 { MetricEnum } from './metricEnum'; import { MetricResponseObjectResourceAttributes } from './metricResponseObjectResourceAttributes'; import { MetricResponseObjectResourceRelationships } from './metricResponseObjectResourceRelationships'; import { ObjectLinks } from './objectLinks'; export class MetricResponseObjectResource { 'type': MetricEnum | 'metric'; /** * The Metric ID */ 'id': string; 'attributes': MetricResponseObjectResourceAttributes; 'relationships'?: MetricResponseObjectResourceRelationships; 'links': ObjectLinks; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "type", "baseName": "type", "type": "MetricEnum" }, { "name": "id", "baseName": "id", "type": "string" }, { "name": "attributes", "baseName": "attributes", "type": "MetricResponseObjectResourceAttributes" }, { "name": "relationships", "baseName": "relationships", "type": "MetricResponseObjectResourceRelationships" }, { "name": "links", "baseName": "links", "type": "ObjectLinks" } ]; static getAttributeTypeMap() { return MetricResponseObjectResource.attributeTypeMap; } } export namespace MetricResponseObjectResource { }