Class: SystemHealth¶
domain/SystemHealth.SystemHealth
Constructors¶
constructor¶
new SystemHealth(isHealthy
, message
, timestamp
)
Health status of system
Parameters¶
Name |
Type |
Description |
---|---|---|
|
|
boolean value represents whether system is healthy or not |
|
|
information message |
|
|
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 |
---|---|---|
|
|
JSON object |