@xompass/sdk-cloud-api
Version:
Xompass Client for cloud-api
68 lines (67 loc) • 1.78 kB
TypeScript
import { ModelDefinition } from './BaseModels';
import { Asset } from './Asset';
import { Log } from './Log';
import { Project } from './Project';
export interface HealthcheckEventInterface {
currentState?: string;
seen: boolean;
expiresAt?: Date;
healthStatus?: string;
created?: Date;
modified?: Date;
deleted?: Date;
id?: any;
assetId?: any;
_comments?: Array<any>;
_stateChanges?: Array<any>;
_data?: any;
projectId?: any;
asset?: Asset;
comments?: any[];
stateChanges?: any[];
data?: any[];
trackingLogs?: Log[];
project?: Project;
}
export declare class HealthcheckEvent implements HealthcheckEventInterface {
currentState: string;
seen: boolean;
expiresAt: Date;
healthStatus: string;
created: Date;
modified: Date;
deleted: Date;
id: any;
assetId: any;
_comments: Array<any>;
_stateChanges: Array<any>;
_data: any;
projectId: any;
asset?: Asset;
comments?: any[];
stateChanges?: any[];
data?: any[];
trackingLogs?: Log[];
project?: Project;
constructor(data?: HealthcheckEventInterface);
/**
* The name of the model represented by this $resource,
* i.e. `HealthcheckEvent`.
*/
static getModelName(): string;
/**
* @method factory
* @author Jonathan Casarrubias
* @license MIT
* This method creates an instance of HealthcheckEvent for dynamic purposes.
*/
static factory(data: HealthcheckEventInterface): HealthcheckEvent;
/**
* @method getModelDefinition
* @author Julien Ledun
* @license MIT
* This method returns an object that represents some of the model
* definitions.
*/
static getModelDefinition(): ModelDefinition;
}