UNPKG

@xompass/sdk-cloud-api

Version:

Xompass Client for cloud-api

75 lines (74 loc) 2.1 kB
import { ModelDefinition } from './BaseModels'; import { Log } from './Log'; import { AssetState } from './AssetState'; import { Sensor } from './Sensor'; import { Alert } from './Alert'; import { AlertHistory } from './AlertHistory'; import { SensorAssetStateTemplate } from './SensorAssetStateTemplate'; export interface SensorAssetStateInterface { type?: string; name?: string; enabled?: boolean; parameters?: any; triggers?: any; thresholdType?: string; thresholds?: Array<any>; notification?: any; created?: Date; modified?: Date; deleted?: Date; id?: any; assetStateId?: any; sensorId?: any; templateId?: any; trackingLogs?: Log[]; assetState?: AssetState; sensor?: Sensor; alerts?: Alert[]; alertHistory?: AlertHistory[]; template?: SensorAssetStateTemplate; } export declare class SensorAssetState implements SensorAssetStateInterface { type: string; name: string; enabled: boolean; parameters: any; triggers: any; thresholdType: string; thresholds: Array<any>; notification: any; created: Date; modified: Date; deleted: Date; id: any; assetStateId: any; sensorId: any; templateId: any; trackingLogs?: Log[]; assetState?: AssetState; sensor?: Sensor; alerts?: Alert[]; alertHistory?: AlertHistory[]; template?: SensorAssetStateTemplate; constructor(data?: SensorAssetStateInterface); /** * The name of the model represented by this $resource, * i.e. `SensorAssetState`. */ static getModelName(): string; /** * @method factory * @author Jonathan Casarrubias * @license MIT * This method creates an instance of SensorAssetState for dynamic purposes. */ static factory(data: SensorAssetStateInterface): SensorAssetState; /** * @method getModelDefinition * @author Julien Ledun * @license MIT * This method returns an object that represents some of the model * definitions. */ static getModelDefinition(): ModelDefinition; }