@xompass/sdk-cloud-api
Version:
Xompass Client for cloud-api
48 lines (47 loc) • 1.32 kB
TypeScript
import { ModelDefinition } from './BaseModels';
import { Log } from './Log';
export interface DeviceEventCommentInterface {
id?: string;
content: string;
edited?: boolean;
created?: Date;
modified?: Date;
deleted?: Date;
userId?: string;
principalType?: string;
user?: any;
trackingLogs?: Log[];
}
export declare class DeviceEventComment implements DeviceEventCommentInterface {
id: string;
content: string;
edited: boolean;
created: Date;
modified: Date;
deleted: Date;
userId: string;
principalType: string;
user?: any;
trackingLogs?: Log[];
constructor(data?: DeviceEventCommentInterface);
/**
* The name of the model represented by this $resource,
* i.e. `DeviceEventComment`.
*/
static getModelName(): string;
/**
* @method factory
* @author Jonathan Casarrubias
* @license MIT
* This method creates an instance of DeviceEventComment for dynamic purposes.
*/
static factory(data: DeviceEventCommentInterface): DeviceEventComment;
/**
* @method getModelDefinition
* @author Julien Ledun
* @license MIT
* This method returns an object that represents some of the model
* definitions.
*/
static getModelDefinition(): ModelDefinition;
}