com.tencentcloudapi.dbbrain.v20191016.models.HealthScoreInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Tencent Cloud API SDK for Java
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.dbbrain.v20191016.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class HealthScoreInfo extends AbstractModel{
/**
* Exception details
*/
@SerializedName("IssueTypes")
@Expose
private IssueTypeInfo [] IssueTypes;
/**
* Total number of the exceptions
*/
@SerializedName("EventsTotalCount")
@Expose
private Long EventsTotalCount;
/**
* Health score
*/
@SerializedName("HealthScore")
@Expose
private Long HealthScore;
/**
* Health level, such as "HEALTH", "SUB_HEALTH", "RISK", "HIGH_RISK".
*/
@SerializedName("HealthLevel")
@Expose
private String HealthLevel;
/**
* Get Exception details
* @return IssueTypes Exception details
*/
public IssueTypeInfo [] getIssueTypes() {
return this.IssueTypes;
}
/**
* Set Exception details
* @param IssueTypes Exception details
*/
public void setIssueTypes(IssueTypeInfo [] IssueTypes) {
this.IssueTypes = IssueTypes;
}
/**
* Get Total number of the exceptions
* @return EventsTotalCount Total number of the exceptions
*/
public Long getEventsTotalCount() {
return this.EventsTotalCount;
}
/**
* Set Total number of the exceptions
* @param EventsTotalCount Total number of the exceptions
*/
public void setEventsTotalCount(Long EventsTotalCount) {
this.EventsTotalCount = EventsTotalCount;
}
/**
* Get Health score
* @return HealthScore Health score
*/
public Long getHealthScore() {
return this.HealthScore;
}
/**
* Set Health score
* @param HealthScore Health score
*/
public void setHealthScore(Long HealthScore) {
this.HealthScore = HealthScore;
}
/**
* Get Health level, such as "HEALTH", "SUB_HEALTH", "RISK", "HIGH_RISK".
* @return HealthLevel Health level, such as "HEALTH", "SUB_HEALTH", "RISK", "HIGH_RISK".
*/
public String getHealthLevel() {
return this.HealthLevel;
}
/**
* Set Health level, such as "HEALTH", "SUB_HEALTH", "RISK", "HIGH_RISK".
* @param HealthLevel Health level, such as "HEALTH", "SUB_HEALTH", "RISK", "HIGH_RISK".
*/
public void setHealthLevel(String HealthLevel) {
this.HealthLevel = HealthLevel;
}
public HealthScoreInfo() {
}
/**
* 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.
*/
public HealthScoreInfo(HealthScoreInfo source) {
if (source.IssueTypes != null) {
this.IssueTypes = new IssueTypeInfo[source.IssueTypes.length];
for (int i = 0; i < source.IssueTypes.length; i++) {
this.IssueTypes[i] = new IssueTypeInfo(source.IssueTypes[i]);
}
}
if (source.EventsTotalCount != null) {
this.EventsTotalCount = new Long(source.EventsTotalCount);
}
if (source.HealthScore != null) {
this.HealthScore = new Long(source.HealthScore);
}
if (source.HealthLevel != null) {
this.HealthLevel = new String(source.HealthLevel);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamArrayObj(map, prefix + "IssueTypes.", this.IssueTypes);
this.setParamSimple(map, prefix + "EventsTotalCount", this.EventsTotalCount);
this.setParamSimple(map, prefix + "HealthScore", this.HealthScore);
this.setParamSimple(map, prefix + "HealthLevel", this.HealthLevel);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy