/** * 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 CustomMetricPartialUpdateQueryResourceObjectAttributes { /** * 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 | null; 'definition'?: CustomMetricDefinition; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "name", "baseName": "name", "type": "string" }, { "name": "definition", "baseName": "definition", "type": "CustomMetricDefinition" } ]; static getAttributeTypeMap() { return CustomMetricPartialUpdateQueryResourceObjectAttributes.attributeTypeMap; } }