Class: SystemHealth

domain/SystemHealth.SystemHealth

Constructors

constructor

new SystemHealth(isHealthy, message, timestamp)

Health status of system

Parameters

Name

Type

Description

isHealthy

boolean

boolean value represents whether system is healthy or not

message

string

information message

timestamp

Date

time of information received

Properties

isHealthy

isHealthy: boolean

boolean value represents whether system is healthy or not


message

message: string

information message


timestamp

timestamp: Date

time of information received

Methods

fromJSON

Static fromJSON(systemHealth): SystemHealth

Create from JSON

Parameters

Name

Type

Description

systemHealth

any

JSON object

Returns

SystemHealth