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

com.tencentcloudapi.csip.v20221121.models.VULRiskInfo Maven / Gradle / Ivy

There is a newer version: 3.1.1107
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.csip.v20221121.models;

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

public class VULRiskInfo extends AbstractModel {

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

    /**
    * 技术参考/参考链接
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("References")
    @Expose
    private String References;

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

    /**
    * 受影响组件
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("ImpactComponent")
    @Expose
    private VulImpactComponentInfo [] ImpactComponent;

    /**
     * Get 修复建议
注意:此字段可能返回 null,表示取不到有效值。 
     * @return Fix 修复建议
注意:此字段可能返回 null,表示取不到有效值。
     */
    public String getFix() {
        return this.Fix;
    }

    /**
     * Set 修复建议
注意:此字段可能返回 null,表示取不到有效值。
     * @param Fix 修复建议
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setFix(String Fix) {
        this.Fix = Fix;
    }

    /**
     * Get 技术参考/参考链接
注意:此字段可能返回 null,表示取不到有效值。 
     * @return References 技术参考/参考链接
注意:此字段可能返回 null,表示取不到有效值。
     */
    public String getReferences() {
        return this.References;
    }

    /**
     * Set 技术参考/参考链接
注意:此字段可能返回 null,表示取不到有效值。
     * @param References 技术参考/参考链接
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setReferences(String References) {
        this.References = References;
    }

    /**
     * Get 漏洞描述
注意:此字段可能返回 null,表示取不到有效值。 
     * @return Describe 漏洞描述
注意:此字段可能返回 null,表示取不到有效值。
     */
    public String getDescribe() {
        return this.Describe;
    }

    /**
     * Set 漏洞描述
注意:此字段可能返回 null,表示取不到有效值。
     * @param Describe 漏洞描述
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setDescribe(String Describe) {
        this.Describe = Describe;
    }

    /**
     * Get 受影响组件
注意:此字段可能返回 null,表示取不到有效值。 
     * @return ImpactComponent 受影响组件
注意:此字段可能返回 null,表示取不到有效值。
     */
    public VulImpactComponentInfo [] getImpactComponent() {
        return this.ImpactComponent;
    }

    /**
     * Set 受影响组件
注意:此字段可能返回 null,表示取不到有效值。
     * @param ImpactComponent 受影响组件
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setImpactComponent(VulImpactComponentInfo [] ImpactComponent) {
        this.ImpactComponent = ImpactComponent;
    }

    public VULRiskInfo() {
    }

    /**
     * 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 VULRiskInfo(VULRiskInfo source) {
        if (source.Fix != null) {
            this.Fix = new String(source.Fix);
        }
        if (source.References != null) {
            this.References = new String(source.References);
        }
        if (source.Describe != null) {
            this.Describe = new String(source.Describe);
        }
        if (source.ImpactComponent != null) {
            this.ImpactComponent = new VulImpactComponentInfo[source.ImpactComponent.length];
            for (int i = 0; i < source.ImpactComponent.length; i++) {
                this.ImpactComponent[i] = new VulImpactComponentInfo(source.ImpactComponent[i]);
            }
        }
    }


    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap map, String prefix) {
        this.setParamSimple(map, prefix + "Fix", this.Fix);
        this.setParamSimple(map, prefix + "References", this.References);
        this.setParamSimple(map, prefix + "Describe", this.Describe);
        this.setParamArrayObj(map, prefix + "ImpactComponent.", this.ImpactComponent);

    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy