UNPKG

@xompass/sdk-cloud-api

Version:

Xompass Client for cloud-api

82 lines (81 loc) 2.11 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 SensorUptimeCollectorInterface { type: string; from: Date; to: Date; lifespan?: number; length?: number; httpMethod?: string; accessType?: string; method?: string; methodString?: string; created?: Date; modified?: Date; deleted?: Date; id?: any; assetId?: any; customerId?: any; projectId?: any; sensorId?: any; modelId?: string; modelName?: string; trackingLogs?: Log[]; asset?: Asset; customer?: Customer; project?: Project; sensor?: Sensor; remoteModel?: any; } export declare class SensorUptimeCollector implements SensorUptimeCollectorInterface { type: string; from: Date; to: Date; lifespan: number; length: number; httpMethod: string; accessType: string; method: string; methodString: string; created: Date; modified: Date; deleted: Date; id: any; assetId: any; customerId: any; projectId: any; sensorId: any; modelId: string; modelName: string; trackingLogs?: Log[]; asset?: Asset; customer?: Customer; project?: Project; sensor?: Sensor; remoteModel?: any; constructor(data?: SensorUptimeCollectorInterface); /** * The name of the model represented by this $resource, * i.e. `SensorUptimeCollector`. */ static getModelName(): string; /** * @method factory * @author Jonathan Casarrubias * @license MIT * This method creates an instance of SensorUptimeCollector for dynamic purposes. */ static factory(data: SensorUptimeCollectorInterface): SensorUptimeCollector; /** * @method getModelDefinition * @author Julien Ledun * @license MIT * This method returns an object that represents some of the model * definitions. */ static getModelDefinition(): ModelDefinition; }