@c8y/client
Version:
Client application programming interface to access the Cumulocity IoT-Platform REST services.
39 lines • 799 B
TypeScript
import { ISource } from '../core/index.js';
/**
* This interface holds all fragments that describe an event object
*/
export interface IEvent {
/**
* The ManagedObject that the event originated from, see [[ISource]]
*/
source: ISource;
/**
* Identifies the type of this event
*/
type: string;
/**
* Time of the event
*/
time: string;
/**
* Text description of the event
*/
text: string;
/**
* Uniquely identifies an event
*/
id?: string | number;
/**
* Link to this resource
*/
self?: string;
/**
* Time when event was created in the database
*/
creationTime?: string;
/**
* Custom fragments
*/
[key: string]: any;
}
//# sourceMappingURL=IEvent.d.ts.map