Class HealthStatus
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.dbbrain.v20191016.models.HealthStatus
-
public class HealthStatus extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetHealthLevel()Get 健康等级,取值包括:"HEALTH" - 健康;"SUB_HEALTH" - 亚健康;"RISK"- 危险;"HIGH_RISK" - 高危。LonggetHealthScore()Get 健康分数,满分100。ScoreDetail[]getScoreDetails()Get 扣分详情。 注意:此字段可能返回 null,表示取不到有效值。LonggetScoreLost()Get 总扣分分数。voidsetHealthLevel(String HealthLevel)Set 健康等级,取值包括:"HEALTH" - 健康;"SUB_HEALTH" - 亚健康;"RISK"- 危险;"HIGH_RISK" - 高危。voidsetHealthScore(Long HealthScore)Set 健康分数,满分100。voidsetScoreDetails(ScoreDetail[] ScoreDetails)Set 扣分详情。 注意:此字段可能返回 null,表示取不到有效值。voidsetScoreLost(Long ScoreLost)Set 总扣分分数。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
HealthStatus
public HealthStatus()
-
HealthStatus
public 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.
-
-
Method Detail
-
getHealthScore
public Long getHealthScore()
Get 健康分数,满分100。- Returns:
- HealthScore 健康分数,满分100。
-
setHealthScore
public void setHealthScore(Long HealthScore)
Set 健康分数,满分100。- Parameters:
HealthScore- 健康分数,满分100。
-
getHealthLevel
public String getHealthLevel()
Get 健康等级,取值包括:"HEALTH" - 健康;"SUB_HEALTH" - 亚健康;"RISK"- 危险;"HIGH_RISK" - 高危。- Returns:
- HealthLevel 健康等级,取值包括:"HEALTH" - 健康;"SUB_HEALTH" - 亚健康;"RISK"- 危险;"HIGH_RISK" - 高危。
-
setHealthLevel
public void setHealthLevel(String HealthLevel)
Set 健康等级,取值包括:"HEALTH" - 健康;"SUB_HEALTH" - 亚健康;"RISK"- 危险;"HIGH_RISK" - 高危。- Parameters:
HealthLevel- 健康等级,取值包括:"HEALTH" - 健康;"SUB_HEALTH" - 亚健康;"RISK"- 危险;"HIGH_RISK" - 高危。
-
getScoreLost
public Long getScoreLost()
Get 总扣分分数。- Returns:
- ScoreLost 总扣分分数。
-
setScoreLost
public void setScoreLost(Long ScoreLost)
Set 总扣分分数。- Parameters:
ScoreLost- 总扣分分数。
-
getScoreDetails
public ScoreDetail[] getScoreDetails()
Get 扣分详情。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ScoreDetails 扣分详情。 注意:此字段可能返回 null,表示取不到有效值。
-
setScoreDetails
public void setScoreDetails(ScoreDetail[] ScoreDetails)
Set 扣分详情。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ScoreDetails- 扣分详情。 注意:此字段可能返回 null,表示取不到有效值。
-
-