All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tencentcloudapi.cwp.v20180228.models.VulHostTopInfo Maven / Gradle / Ivy

There is a newer version: 3.1.1100
Show newest version
/*
 * 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.cwp.v20180228.models;

import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class VulHostTopInfo extends AbstractModel{

    /**
    * 主机名
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("HostName")
    @Expose
    private String HostName;

    /**
    * 漏洞等级与数量统计列表
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("VulLevelList")
    @Expose
    private VulLevelCountInfo [] VulLevelList;

    /**
    * 主机Quuid
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("Quuid")
    @Expose
    private String Quuid;

    /**
    * top评分
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("Score")
    @Expose
    private Long Score;

    /**
     * Get 主机名
注意:此字段可能返回 null,表示取不到有效值。 
     * @return HostName 主机名
注意:此字段可能返回 null,表示取不到有效值。
     */
    public String getHostName() {
        return this.HostName;
    }

    /**
     * Set 主机名
注意:此字段可能返回 null,表示取不到有效值。
     * @param HostName 主机名
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setHostName(String HostName) {
        this.HostName = HostName;
    }

    /**
     * Get 漏洞等级与数量统计列表
注意:此字段可能返回 null,表示取不到有效值。 
     * @return VulLevelList 漏洞等级与数量统计列表
注意:此字段可能返回 null,表示取不到有效值。
     */
    public VulLevelCountInfo [] getVulLevelList() {
        return this.VulLevelList;
    }

    /**
     * Set 漏洞等级与数量统计列表
注意:此字段可能返回 null,表示取不到有效值。
     * @param VulLevelList 漏洞等级与数量统计列表
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setVulLevelList(VulLevelCountInfo [] VulLevelList) {
        this.VulLevelList = VulLevelList;
    }

    /**
     * Get 主机Quuid
注意:此字段可能返回 null,表示取不到有效值。 
     * @return Quuid 主机Quuid
注意:此字段可能返回 null,表示取不到有效值。
     */
    public String getQuuid() {
        return this.Quuid;
    }

    /**
     * Set 主机Quuid
注意:此字段可能返回 null,表示取不到有效值。
     * @param Quuid 主机Quuid
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setQuuid(String Quuid) {
        this.Quuid = Quuid;
    }

    /**
     * Get top评分
注意:此字段可能返回 null,表示取不到有效值。 
     * @return Score top评分
注意:此字段可能返回 null,表示取不到有效值。
     */
    public Long getScore() {
        return this.Score;
    }

    /**
     * Set top评分
注意:此字段可能返回 null,表示取不到有效值。
     * @param Score top评分
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setScore(Long Score) {
        this.Score = Score;
    }

    public VulHostTopInfo() {
    }

    /**
     * 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 VulHostTopInfo(VulHostTopInfo source) {
        if (source.HostName != null) {
            this.HostName = new String(source.HostName);
        }
        if (source.VulLevelList != null) {
            this.VulLevelList = new VulLevelCountInfo[source.VulLevelList.length];
            for (int i = 0; i < source.VulLevelList.length; i++) {
                this.VulLevelList[i] = new VulLevelCountInfo(source.VulLevelList[i]);
            }
        }
        if (source.Quuid != null) {
            this.Quuid = new String(source.Quuid);
        }
        if (source.Score != null) {
            this.Score = new Long(source.Score);
        }
    }


    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap map, String prefix) {
        this.setParamSimple(map, prefix + "HostName", this.HostName);
        this.setParamArrayObj(map, prefix + "VulLevelList.", this.VulLevelList);
        this.setParamSimple(map, prefix + "Quuid", this.Quuid);
        this.setParamSimple(map, prefix + "Score", this.Score);

    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy