public class HealthStatus extends AbstractModel
Constructor and Description |
---|
HealthStatus() |
HealthStatus(HealthStatus source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getHealthLevel()
Get Health level.
|
Long |
getHealthScore()
Get Health score out of 100 points.
|
ScoreDetail[] |
getScoreDetails()
Get Deduction details.
|
Long |
getScoreLost()
Get Total deducted scores.
|
void |
setHealthLevel(String HealthLevel)
Set Health level.
|
void |
setHealthScore(Long HealthScore)
Set Health score out of 100 points.
|
void |
setScoreDetails(ScoreDetail[] ScoreDetails)
Set Deduction details.
|
void |
setScoreLost(Long ScoreLost)
Set Total deducted scores.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public HealthStatus()
public HealthStatus(HealthStatus source)
public Long getHealthScore()
public void setHealthScore(Long HealthScore)
HealthScore
- Health score out of 100 points.public String getHealthLevel()
public void setHealthLevel(String HealthLevel)
HealthLevel
- Health level. Valid values: `HEALTH` (healthy), `SUB_HEALTH` (sub-healthy), `RISK` (dangerous), and `HIGH_RISK` (high-risk).public Long getScoreLost()
public void setScoreLost(Long ScoreLost)
ScoreLost
- Total deducted scores.public ScoreDetail[] getScoreDetails()
public void setScoreDetails(ScoreDetail[] ScoreDetails)
ScoreDetails
- Deduction details.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.