/** * 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 { CatalogItemEnum } from './catalogItemEnum'; import { CatalogItemResponseObjectResourceAttributes } from './catalogItemResponseObjectResourceAttributes'; import { CatalogItemResponseObjectResourceRelationships } from './catalogItemResponseObjectResourceRelationships'; import { ObjectLinks } from './objectLinks'; export class CatalogItemResponseObjectResource { 'type': CatalogItemEnum | 'catalog-item'; /** * The catalog item ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`. */ 'id': string; 'attributes': CatalogItemResponseObjectResourceAttributes; 'relationships'?: CatalogItemResponseObjectResourceRelationships; 'links': ObjectLinks; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "type", "baseName": "type", "type": "CatalogItemEnum" }, { "name": "id", "baseName": "id", "type": "string" }, { "name": "attributes", "baseName": "attributes", "type": "CatalogItemResponseObjectResourceAttributes" }, { "name": "relationships", "baseName": "relationships", "type": "CatalogItemResponseObjectResourceRelationships" }, { "name": "links", "baseName": "links", "type": "ObjectLinks" } ]; static getAttributeTypeMap() { return CatalogItemResponseObjectResource.attributeTypeMap; } } export namespace CatalogItemResponseObjectResource { }