@xompass/sdk-cloud-api
Version:
Xompass Client for cloud-api
64 lines (63 loc) • 1.9 kB
TypeScript
import { ModelDefinition } from './BaseModels';
import { Log } from './Log';
import { AssetStateTemplate } from './AssetStateTemplate';
import { SensorTemplate } from './SensorTemplate';
export interface SensorAssetStateTemplateInterface {
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;
assetStateTemplateId?: any;
sensorTemplateId?: any;
trackingLogs?: Log[];
assetStateTemplate?: AssetStateTemplate;
sensorTemplate?: SensorTemplate;
}
export declare class SensorAssetStateTemplate implements SensorAssetStateTemplateInterface {
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;
assetStateTemplateId: any;
sensorTemplateId: any;
trackingLogs?: Log[];
assetStateTemplate?: AssetStateTemplate;
sensorTemplate?: SensorTemplate;
constructor(data?: SensorAssetStateTemplateInterface);
/**
* The name of the model represented by this $resource,
* i.e. `SensorAssetStateTemplate`.
*/
static getModelName(): string;
/**
* @method factory
* @author Jonathan Casarrubias
* @license MIT
* This method creates an instance of SensorAssetStateTemplate for dynamic purposes.
*/
static factory(data: SensorAssetStateTemplateInterface): SensorAssetStateTemplate;
/**
* @method getModelDefinition
* @author Julien Ledun
* @license MIT
* This method returns an object that represents some of the model
* definitions.
*/
static getModelDefinition(): ModelDefinition;
}