@xompass/sdk-cloud-api
Version:
Xompass Client for cloud-api
64 lines (63 loc) • 1.79 kB
TypeScript
import { ModelDefinition } from './BaseModels';
import { Log } from './Log';
import { Project } from './Project';
import { Sensor } from './Sensor';
import { VirtualGroup } from './VirtualGroup';
import { VirtualExpression } from './VirtualExpression';
export interface VirtualVariableInterface {
type?: string;
name: string;
description?: string;
value?: number;
created?: Date;
modified?: Date;
deleted?: Date;
id?: any;
projectId?: any;
sensorId?: any;
virtualGroupId?: any;
trackingLogs?: Log[];
project?: Project;
sensor?: Sensor;
virtualGroup?: VirtualGroup;
virtualExpressions?: VirtualExpression[];
}
export declare class VirtualVariable implements VirtualVariableInterface {
type: string;
name: string;
description: string;
value: number;
created: Date;
modified: Date;
deleted: Date;
id: any;
projectId: any;
sensorId: any;
virtualGroupId: any;
trackingLogs?: Log[];
project?: Project;
sensor?: Sensor;
virtualGroup?: VirtualGroup;
virtualExpressions?: VirtualExpression[];
constructor(data?: VirtualVariableInterface);
/**
* The name of the model represented by this $resource,
* i.e. `VirtualVariable`.
*/
static getModelName(): string;
/**
* @method factory
* @author Jonathan Casarrubias
* @license MIT
* This method creates an instance of VirtualVariable for dynamic purposes.
*/
static factory(data: VirtualVariableInterface): VirtualVariable;
/**
* @method getModelDefinition
* @author Julien Ledun
* @license MIT
* This method returns an object that represents some of the model
* definitions.
*/
static getModelDefinition(): ModelDefinition;
}