@xompass/sdk-cloud-api
Version:
Xompass Client for cloud-api
47 lines (46 loc) • 1.29 kB
TypeScript
import { ModelDefinition } from './BaseModels';
import { Customer } from './Customer';
import { Log } from './Log';
export interface DeviceEventTypeInterface {
name: string;
description?: string;
created?: Date;
modified?: Date;
deleted?: Date;
id?: any;
customerId?: any;
customer?: Customer;
trackingLogs?: Log[];
}
export declare class DeviceEventType implements DeviceEventTypeInterface {
name: string;
description: string;
created: Date;
modified: Date;
deleted: Date;
id: any;
customerId: any;
customer?: Customer;
trackingLogs?: Log[];
constructor(data?: DeviceEventTypeInterface);
/**
* The name of the model represented by this $resource,
* i.e. `DeviceEventType`.
*/
static getModelName(): string;
/**
* @method factory
* @author Jonathan Casarrubias
* @license MIT
* This method creates an instance of DeviceEventType for dynamic purposes.
*/
static factory(data: DeviceEventTypeInterface): DeviceEventType;
/**
* @method getModelDefinition
* @author Julien Ledun
* @license MIT
* This method returns an object that represents some of the model
* definitions.
*/
static getModelDefinition(): ModelDefinition;
}