/** * 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 { CustomMetricDefinition } from './customMetricDefinition'; export class CustomMetricResponseObjectResourceAttributes { /** * The name for this custom metric. Names must be unique across the account. Attempting to create a metric with a duplicate name will return a 400 status code. */ 'name': string; /** * The datetime when this custom metric was created. */ 'created': Date; /** * The datetime when this custom metric was updated. */ 'updated': Date; 'definition': CustomMetricDefinition; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "name", "baseName": "name", "type": "string" }, { "name": "created", "baseName": "created", "type": "Date" }, { "name": "updated", "baseName": "updated", "type": "Date" }, { "name": "definition", "baseName": "definition", "type": "CustomMetricDefinition" } ]; static getAttributeTypeMap() { return CustomMetricResponseObjectResourceAttributes.attributeTypeMap; } }