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

com.tencentcloudapi.cws.v20180312.models.Vul Maven / Gradle / Ivy

/*
 * 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.cws.v20180312.models;

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

public class Vul extends AbstractModel{

    /**
    * 漏洞ID。
    */
    @SerializedName("Id")
    @Expose
    private Long Id;

    /**
    * 站点ID。
    */
    @SerializedName("SiteId")
    @Expose
    private Long SiteId;

    /**
    * 扫描引擎的扫描任务ID。
    */
    @SerializedName("TaskId")
    @Expose
    private Long TaskId;

    /**
    * 漏洞级别:high、middle、low、notice。
    */
    @SerializedName("Level")
    @Expose
    private String Level;

    /**
    * 漏洞名称。
    */
    @SerializedName("Name")
    @Expose
    private String Name;

    /**
    * 出现漏洞的url。
    */
    @SerializedName("Url")
    @Expose
    private String Url;

    /**
    * 网址/细节。
    */
    @SerializedName("Html")
    @Expose
    private String Html;

    /**
    * 漏洞类型。
    */
    @SerializedName("Nickname")
    @Expose
    private String Nickname;

    /**
    * 危害说明。
    */
    @SerializedName("Harm")
    @Expose
    private String Harm;

    /**
    * 漏洞描述。
    */
    @SerializedName("Describe")
    @Expose
    private String Describe;

    /**
    * 解决方案。
    */
    @SerializedName("Solution")
    @Expose
    private String Solution;

    /**
    * 漏洞参考。
    */
    @SerializedName("From")
    @Expose
    private String From;

    /**
    * 漏洞通过该参数攻击。
    */
    @SerializedName("Parameter")
    @Expose
    private String Parameter;

    /**
    * CreatedAt。
    */
    @SerializedName("CreatedAt")
    @Expose
    private String CreatedAt;

    /**
    * UpdatedAt。
    */
    @SerializedName("UpdatedAt")
    @Expose
    private String UpdatedAt;

    /**
    * 是否已经添加误报,0-否,1-是。
    */
    @SerializedName("IsReported")
    @Expose
    private Long IsReported;

    /**
    * 云用户appid。
    */
    @SerializedName("Appid")
    @Expose
    private Long Appid;

    /**
    * 云用户标识。
    */
    @SerializedName("Uin")
    @Expose
    private String Uin;

    /**
     * Get 漏洞ID。 
     * @return Id 漏洞ID。
     */
    public Long getId() {
        return this.Id;
    }

    /**
     * Set 漏洞ID。
     * @param Id 漏洞ID。
     */
    public void setId(Long Id) {
        this.Id = Id;
    }

    /**
     * Get 站点ID。 
     * @return SiteId 站点ID。
     */
    public Long getSiteId() {
        return this.SiteId;
    }

    /**
     * Set 站点ID。
     * @param SiteId 站点ID。
     */
    public void setSiteId(Long SiteId) {
        this.SiteId = SiteId;
    }

    /**
     * Get 扫描引擎的扫描任务ID。 
     * @return TaskId 扫描引擎的扫描任务ID。
     */
    public Long getTaskId() {
        return this.TaskId;
    }

    /**
     * Set 扫描引擎的扫描任务ID。
     * @param TaskId 扫描引擎的扫描任务ID。
     */
    public void setTaskId(Long TaskId) {
        this.TaskId = TaskId;
    }

    /**
     * Get 漏洞级别:high、middle、low、notice。 
     * @return Level 漏洞级别:high、middle、low、notice。
     */
    public String getLevel() {
        return this.Level;
    }

    /**
     * Set 漏洞级别:high、middle、low、notice。
     * @param Level 漏洞级别:high、middle、low、notice。
     */
    public void setLevel(String Level) {
        this.Level = Level;
    }

    /**
     * Get 漏洞名称。 
     * @return Name 漏洞名称。
     */
    public String getName() {
        return this.Name;
    }

    /**
     * Set 漏洞名称。
     * @param Name 漏洞名称。
     */
    public void setName(String Name) {
        this.Name = Name;
    }

    /**
     * Get 出现漏洞的url。 
     * @return Url 出现漏洞的url。
     */
    public String getUrl() {
        return this.Url;
    }

    /**
     * Set 出现漏洞的url。
     * @param Url 出现漏洞的url。
     */
    public void setUrl(String Url) {
        this.Url = Url;
    }

    /**
     * Get 网址/细节。 
     * @return Html 网址/细节。
     */
    public String getHtml() {
        return this.Html;
    }

    /**
     * Set 网址/细节。
     * @param Html 网址/细节。
     */
    public void setHtml(String Html) {
        this.Html = Html;
    }

    /**
     * Get 漏洞类型。 
     * @return Nickname 漏洞类型。
     */
    public String getNickname() {
        return this.Nickname;
    }

    /**
     * Set 漏洞类型。
     * @param Nickname 漏洞类型。
     */
    public void setNickname(String Nickname) {
        this.Nickname = Nickname;
    }

    /**
     * Get 危害说明。 
     * @return Harm 危害说明。
     */
    public String getHarm() {
        return this.Harm;
    }

    /**
     * Set 危害说明。
     * @param Harm 危害说明。
     */
    public void setHarm(String Harm) {
        this.Harm = Harm;
    }

    /**
     * Get 漏洞描述。 
     * @return Describe 漏洞描述。
     */
    public String getDescribe() {
        return this.Describe;
    }

    /**
     * Set 漏洞描述。
     * @param Describe 漏洞描述。
     */
    public void setDescribe(String Describe) {
        this.Describe = Describe;
    }

    /**
     * Get 解决方案。 
     * @return Solution 解决方案。
     */
    public String getSolution() {
        return this.Solution;
    }

    /**
     * Set 解决方案。
     * @param Solution 解决方案。
     */
    public void setSolution(String Solution) {
        this.Solution = Solution;
    }

    /**
     * Get 漏洞参考。 
     * @return From 漏洞参考。
     */
    public String getFrom() {
        return this.From;
    }

    /**
     * Set 漏洞参考。
     * @param From 漏洞参考。
     */
    public void setFrom(String From) {
        this.From = From;
    }

    /**
     * Get 漏洞通过该参数攻击。 
     * @return Parameter 漏洞通过该参数攻击。
     */
    public String getParameter() {
        return this.Parameter;
    }

    /**
     * Set 漏洞通过该参数攻击。
     * @param Parameter 漏洞通过该参数攻击。
     */
    public void setParameter(String Parameter) {
        this.Parameter = Parameter;
    }

    /**
     * Get CreatedAt。 
     * @return CreatedAt CreatedAt。
     */
    public String getCreatedAt() {
        return this.CreatedAt;
    }

    /**
     * Set CreatedAt。
     * @param CreatedAt CreatedAt。
     */
    public void setCreatedAt(String CreatedAt) {
        this.CreatedAt = CreatedAt;
    }

    /**
     * Get UpdatedAt。 
     * @return UpdatedAt UpdatedAt。
     */
    public String getUpdatedAt() {
        return this.UpdatedAt;
    }

    /**
     * Set UpdatedAt。
     * @param UpdatedAt UpdatedAt。
     */
    public void setUpdatedAt(String UpdatedAt) {
        this.UpdatedAt = UpdatedAt;
    }

    /**
     * Get 是否已经添加误报,0-否,1-是。 
     * @return IsReported 是否已经添加误报,0-否,1-是。
     */
    public Long getIsReported() {
        return this.IsReported;
    }

    /**
     * Set 是否已经添加误报,0-否,1-是。
     * @param IsReported 是否已经添加误报,0-否,1-是。
     */
    public void setIsReported(Long IsReported) {
        this.IsReported = IsReported;
    }

    /**
     * Get 云用户appid。 
     * @return Appid 云用户appid。
     */
    public Long getAppid() {
        return this.Appid;
    }

    /**
     * Set 云用户appid。
     * @param Appid 云用户appid。
     */
    public void setAppid(Long Appid) {
        this.Appid = Appid;
    }

    /**
     * Get 云用户标识。 
     * @return Uin 云用户标识。
     */
    public String getUin() {
        return this.Uin;
    }

    /**
     * Set 云用户标识。
     * @param Uin 云用户标识。
     */
    public void setUin(String Uin) {
        this.Uin = Uin;
    }

    public Vul() {
    }

    /**
     * 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 Vul(Vul source) {
        if (source.Id != null) {
            this.Id = new Long(source.Id);
        }
        if (source.SiteId != null) {
            this.SiteId = new Long(source.SiteId);
        }
        if (source.TaskId != null) {
            this.TaskId = new Long(source.TaskId);
        }
        if (source.Level != null) {
            this.Level = new String(source.Level);
        }
        if (source.Name != null) {
            this.Name = new String(source.Name);
        }
        if (source.Url != null) {
            this.Url = new String(source.Url);
        }
        if (source.Html != null) {
            this.Html = new String(source.Html);
        }
        if (source.Nickname != null) {
            this.Nickname = new String(source.Nickname);
        }
        if (source.Harm != null) {
            this.Harm = new String(source.Harm);
        }
        if (source.Describe != null) {
            this.Describe = new String(source.Describe);
        }
        if (source.Solution != null) {
            this.Solution = new String(source.Solution);
        }
        if (source.From != null) {
            this.From = new String(source.From);
        }
        if (source.Parameter != null) {
            this.Parameter = new String(source.Parameter);
        }
        if (source.CreatedAt != null) {
            this.CreatedAt = new String(source.CreatedAt);
        }
        if (source.UpdatedAt != null) {
            this.UpdatedAt = new String(source.UpdatedAt);
        }
        if (source.IsReported != null) {
            this.IsReported = new Long(source.IsReported);
        }
        if (source.Appid != null) {
            this.Appid = new Long(source.Appid);
        }
        if (source.Uin != null) {
            this.Uin = new String(source.Uin);
        }
    }


    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap map, String prefix) {
        this.setParamSimple(map, prefix + "Id", this.Id);
        this.setParamSimple(map, prefix + "SiteId", this.SiteId);
        this.setParamSimple(map, prefix + "TaskId", this.TaskId);
        this.setParamSimple(map, prefix + "Level", this.Level);
        this.setParamSimple(map, prefix + "Name", this.Name);
        this.setParamSimple(map, prefix + "Url", this.Url);
        this.setParamSimple(map, prefix + "Html", this.Html);
        this.setParamSimple(map, prefix + "Nickname", this.Nickname);
        this.setParamSimple(map, prefix + "Harm", this.Harm);
        this.setParamSimple(map, prefix + "Describe", this.Describe);
        this.setParamSimple(map, prefix + "Solution", this.Solution);
        this.setParamSimple(map, prefix + "From", this.From);
        this.setParamSimple(map, prefix + "Parameter", this.Parameter);
        this.setParamSimple(map, prefix + "CreatedAt", this.CreatedAt);
        this.setParamSimple(map, prefix + "UpdatedAt", this.UpdatedAt);
        this.setParamSimple(map, prefix + "IsReported", this.IsReported);
        this.setParamSimple(map, prefix + "Appid", this.Appid);
        this.setParamSimple(map, prefix + "Uin", this.Uin);

    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy