/** * 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 { DeviceProperties } from './deviceProperties'; export class Device { /** * Not allowed on create. */ 'id'?: string | null; 'type': Device.TypeEnum | 'device'; 'properties'?: DeviceProperties; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "id", "baseName": "id", "type": "string" }, { "name": "type", "baseName": "type", "type": "Device.TypeEnum" }, { "name": "properties", "baseName": "properties", "type": "DeviceProperties" } ]; static getAttributeTypeMap() { return Device.attributeTypeMap; } } export namespace Device { export enum TypeEnum { Device = 'device' } }