UNPKG

@xompass/sdk-cloud-api

Version:

Xompass Client for cloud-api

94 lines (93 loc) 2.36 kB
import { ModelDefinition } from './BaseModels'; import { Asset } from './Asset'; import { AssetState } from './AssetState'; import { Log } from './Log'; import { Sensor } from './Sensor'; import { SensorAssetState } from './SensorAssetState'; export interface AlertNotificationInterface { type?: string; subjectType?: string; name?: string; thresholdType?: string; from?: Date; to?: Date; opened?: Date; closed?: Date; length?: number; summary?: any; threshold?: any; notification?: any; projectInfo?: any; assetInfo?: any; sensorInfo?: any; sendAt?: Date; admins?: Array<any>; managers?: Array<any>; created?: Date; modified?: Date; deleted?: Date; id?: any; assetId?: any; assetStateId?: any; sensorId?: any; stateId?: any; asset?: Asset; assetState?: AssetState; trackingLogs?: Log[]; sensor?: Sensor; state?: SensorAssetState; } export declare class AlertNotification implements AlertNotificationInterface { type: string; subjectType: string; name: string; thresholdType: string; from: Date; to: Date; opened: Date; closed: Date; length: number; summary: any; threshold: any; notification: any; projectInfo: any; assetInfo: any; sensorInfo: any; sendAt: Date; admins: Array<any>; managers: Array<any>; created: Date; modified: Date; deleted: Date; id: any; assetId: any; assetStateId: any; sensorId: any; stateId: any; asset?: Asset; assetState?: AssetState; trackingLogs?: Log[]; sensor?: Sensor; state?: SensorAssetState; constructor(data?: AlertNotificationInterface); /** * The name of the model represented by this $resource, * i.e. `AlertNotification`. */ static getModelName(): string; /** * @method factory * @author Jonathan Casarrubias * @license MIT * This method creates an instance of AlertNotification for dynamic purposes. */ static factory(data: AlertNotificationInterface): AlertNotification; /** * @method getModelDefinition * @author Julien Ledun * @license MIT * This method returns an object that represents some of the model * definitions. */ static getModelDefinition(): ModelDefinition; }