UNPKG

@xompass/sdk-cloud-api

Version:

Xompass Client for cloud-api

59 lines (58 loc) 1.69 kB
import { ModelDefinition } from './BaseModels'; import { AssetWizardType } from './AssetWizardType'; import { EventType } from './EventType'; import { Log } from './Log'; import { SensorType } from './SensorType'; export interface AssetTypeInterface { type: string; name: string; description?: string; created?: Date; modified?: Date; deleted?: Date; id?: any; assetWizardTypeIds?: Array<any>; eventTypeIds?: Array<any>; sensorTypeIds?: Array<any>; assetWizardTypes?: AssetWizardType[]; eventTypes?: EventType[]; trackingLogs?: Log[]; sensorTypes?: SensorType[]; } export declare class AssetType implements AssetTypeInterface { type: string; name: string; description: string; created: Date; modified: Date; deleted: Date; id: any; assetWizardTypeIds: Array<any>; eventTypeIds: Array<any>; sensorTypeIds: Array<any>; assetWizardTypes?: AssetWizardType[]; eventTypes?: EventType[]; trackingLogs?: Log[]; sensorTypes?: SensorType[]; constructor(data?: AssetTypeInterface); /** * The name of the model represented by this $resource, * i.e. `AssetType`. */ static getModelName(): string; /** * @method factory * @author Jonathan Casarrubias * @license MIT * This method creates an instance of AssetType for dynamic purposes. */ static factory(data: AssetTypeInterface): AssetType; /** * @method getModelDefinition * @author Julien Ledun * @license MIT * This method returns an object that represents some of the model * definitions. */ static getModelDefinition(): ModelDefinition; }