UNPKG

@xompass/sdk-cloud-api

Version:

Xompass Client for cloud-api

64 lines (63 loc) 1.63 kB
import { ModelDefinition } from './BaseModels'; import { Log } from './Log'; import { Asset } from './Asset'; import { Customer } from './Customer'; import { Project } from './Project'; import { Sensor } from './Sensor'; export interface SensorUptimeInterface { type: string; from: Date; to: Date; created?: Date; modified?: Date; deleted?: Date; id?: any; assetId?: any; customerId?: any; projectId?: any; sensorId?: any; trackingLogs?: Log[]; asset?: Asset; customer?: Customer; project?: Project; sensor?: Sensor; } export declare class SensorUptime implements SensorUptimeInterface { type: string; from: Date; to: Date; created: Date; modified: Date; deleted: Date; id: any; assetId: any; customerId: any; projectId: any; sensorId: any; trackingLogs?: Log[]; asset?: Asset; customer?: Customer; project?: Project; sensor?: Sensor; constructor(data?: SensorUptimeInterface); /** * The name of the model represented by this $resource, * i.e. `SensorUptime`. */ static getModelName(): string; /** * @method factory * @author Jonathan Casarrubias * @license MIT * This method creates an instance of SensorUptime for dynamic purposes. */ static factory(data: SensorUptimeInterface): SensorUptime; /** * @method getModelDefinition * @author Julien Ledun * @license MIT * This method returns an object that represents some of the model * definitions. */ static getModelDefinition(): ModelDefinition; }