
com.tencentcloudapi.tcss.v20201101.models.ImageVul 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.tcss.v20201101.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class ImageVul extends AbstractModel{
/**
* 漏洞id
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("CVEID")
@Expose
private String CVEID;
/**
* 观点验证程序id
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("POCID")
@Expose
private String POCID;
/**
* 漏洞名称
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Name")
@Expose
private String Name;
/**
* 涉及组件信息
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Components")
@Expose
private ComponentsInfo [] Components;
/**
* 分类
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Category")
@Expose
private String Category;
/**
* 分类2
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("CategoryType")
@Expose
private String CategoryType;
/**
* 风险等级
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Level")
@Expose
private String Level;
/**
* 描述
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Des")
@Expose
private String Des;
/**
* 解决方案
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("OfficialSolution")
@Expose
private String OfficialSolution;
/**
* 引用
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Reference")
@Expose
private String Reference;
/**
* 防御方案
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("DefenseSolution")
@Expose
private String DefenseSolution;
/**
* 提交时间
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("SubmitTime")
@Expose
private String SubmitTime;
/**
* Cvss分数
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("CvssScore")
@Expose
private String CvssScore;
/**
* Cvss信息
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("CvssVector")
@Expose
private String CvssVector;
/**
* 是否建议修复
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("IsSuggest")
@Expose
private String IsSuggest;
/**
* 修复版本号
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("FixedVersions")
@Expose
private String FixedVersions;
/**
* 漏洞标签:"CanBeFixed","DynamicLevelPoc","DynamicLevelExp"
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Tag")
@Expose
private String [] Tag;
/**
* 组件名
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Component")
@Expose
private String Component;
/**
* 组件版本
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Version")
@Expose
private String Version;
/**
* Get 漏洞id
注意:此字段可能返回 null,表示取不到有效值。
* @return CVEID 漏洞id
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getCVEID() {
return this.CVEID;
}
/**
* Set 漏洞id
注意:此字段可能返回 null,表示取不到有效值。
* @param CVEID 漏洞id
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setCVEID(String CVEID) {
this.CVEID = CVEID;
}
/**
* Get 观点验证程序id
注意:此字段可能返回 null,表示取不到有效值。
* @return POCID 观点验证程序id
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getPOCID() {
return this.POCID;
}
/**
* Set 观点验证程序id
注意:此字段可能返回 null,表示取不到有效值。
* @param POCID 观点验证程序id
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setPOCID(String POCID) {
this.POCID = POCID;
}
/**
* Get 漏洞名称
注意:此字段可能返回 null,表示取不到有效值。
* @return Name 漏洞名称
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getName() {
return this.Name;
}
/**
* Set 漏洞名称
注意:此字段可能返回 null,表示取不到有效值。
* @param Name 漏洞名称
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setName(String Name) {
this.Name = Name;
}
/**
* Get 涉及组件信息
注意:此字段可能返回 null,表示取不到有效值。
* @return Components 涉及组件信息
注意:此字段可能返回 null,表示取不到有效值。
*/
public ComponentsInfo [] getComponents() {
return this.Components;
}
/**
* Set 涉及组件信息
注意:此字段可能返回 null,表示取不到有效值。
* @param Components 涉及组件信息
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setComponents(ComponentsInfo [] Components) {
this.Components = Components;
}
/**
* Get 分类
注意:此字段可能返回 null,表示取不到有效值。
* @return Category 分类
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getCategory() {
return this.Category;
}
/**
* Set 分类
注意:此字段可能返回 null,表示取不到有效值。
* @param Category 分类
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setCategory(String Category) {
this.Category = Category;
}
/**
* Get 分类2
注意:此字段可能返回 null,表示取不到有效值。
* @return CategoryType 分类2
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getCategoryType() {
return this.CategoryType;
}
/**
* Set 分类2
注意:此字段可能返回 null,表示取不到有效值。
* @param CategoryType 分类2
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setCategoryType(String CategoryType) {
this.CategoryType = CategoryType;
}
/**
* Get 风险等级
注意:此字段可能返回 null,表示取不到有效值。
* @return Level 风险等级
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getLevel() {
return this.Level;
}
/**
* Set 风险等级
注意:此字段可能返回 null,表示取不到有效值。
* @param Level 风险等级
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setLevel(String Level) {
this.Level = Level;
}
/**
* Get 描述
注意:此字段可能返回 null,表示取不到有效值。
* @return Des 描述
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getDes() {
return this.Des;
}
/**
* Set 描述
注意:此字段可能返回 null,表示取不到有效值。
* @param Des 描述
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setDes(String Des) {
this.Des = Des;
}
/**
* Get 解决方案
注意:此字段可能返回 null,表示取不到有效值。
* @return OfficialSolution 解决方案
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getOfficialSolution() {
return this.OfficialSolution;
}
/**
* Set 解决方案
注意:此字段可能返回 null,表示取不到有效值。
* @param OfficialSolution 解决方案
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setOfficialSolution(String OfficialSolution) {
this.OfficialSolution = OfficialSolution;
}
/**
* Get 引用
注意:此字段可能返回 null,表示取不到有效值。
* @return Reference 引用
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getReference() {
return this.Reference;
}
/**
* Set 引用
注意:此字段可能返回 null,表示取不到有效值。
* @param Reference 引用
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setReference(String Reference) {
this.Reference = Reference;
}
/**
* Get 防御方案
注意:此字段可能返回 null,表示取不到有效值。
* @return DefenseSolution 防御方案
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getDefenseSolution() {
return this.DefenseSolution;
}
/**
* Set 防御方案
注意:此字段可能返回 null,表示取不到有效值。
* @param DefenseSolution 防御方案
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setDefenseSolution(String DefenseSolution) {
this.DefenseSolution = DefenseSolution;
}
/**
* Get 提交时间
注意:此字段可能返回 null,表示取不到有效值。
* @return SubmitTime 提交时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getSubmitTime() {
return this.SubmitTime;
}
/**
* Set 提交时间
注意:此字段可能返回 null,表示取不到有效值。
* @param SubmitTime 提交时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setSubmitTime(String SubmitTime) {
this.SubmitTime = SubmitTime;
}
/**
* Get Cvss分数
注意:此字段可能返回 null,表示取不到有效值。
* @return CvssScore Cvss分数
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getCvssScore() {
return this.CvssScore;
}
/**
* Set Cvss分数
注意:此字段可能返回 null,表示取不到有效值。
* @param CvssScore Cvss分数
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setCvssScore(String CvssScore) {
this.CvssScore = CvssScore;
}
/**
* Get Cvss信息
注意:此字段可能返回 null,表示取不到有效值。
* @return CvssVector Cvss信息
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getCvssVector() {
return this.CvssVector;
}
/**
* Set Cvss信息
注意:此字段可能返回 null,表示取不到有效值。
* @param CvssVector Cvss信息
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setCvssVector(String CvssVector) {
this.CvssVector = CvssVector;
}
/**
* Get 是否建议修复
注意:此字段可能返回 null,表示取不到有效值。
* @return IsSuggest 是否建议修复
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getIsSuggest() {
return this.IsSuggest;
}
/**
* Set 是否建议修复
注意:此字段可能返回 null,表示取不到有效值。
* @param IsSuggest 是否建议修复
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setIsSuggest(String IsSuggest) {
this.IsSuggest = IsSuggest;
}
/**
* Get 修复版本号
注意:此字段可能返回 null,表示取不到有效值。
* @return FixedVersions 修复版本号
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getFixedVersions() {
return this.FixedVersions;
}
/**
* Set 修复版本号
注意:此字段可能返回 null,表示取不到有效值。
* @param FixedVersions 修复版本号
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setFixedVersions(String FixedVersions) {
this.FixedVersions = FixedVersions;
}
/**
* Get 漏洞标签:"CanBeFixed","DynamicLevelPoc","DynamicLevelExp"
注意:此字段可能返回 null,表示取不到有效值。
* @return Tag 漏洞标签:"CanBeFixed","DynamicLevelPoc","DynamicLevelExp"
注意:此字段可能返回 null,表示取不到有效值。
*/
public String [] getTag() {
return this.Tag;
}
/**
* Set 漏洞标签:"CanBeFixed","DynamicLevelPoc","DynamicLevelExp"
注意:此字段可能返回 null,表示取不到有效值。
* @param Tag 漏洞标签:"CanBeFixed","DynamicLevelPoc","DynamicLevelExp"
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setTag(String [] Tag) {
this.Tag = Tag;
}
/**
* Get 组件名
注意:此字段可能返回 null,表示取不到有效值。
* @return Component 组件名
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getComponent() {
return this.Component;
}
/**
* Set 组件名
注意:此字段可能返回 null,表示取不到有效值。
* @param Component 组件名
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setComponent(String Component) {
this.Component = Component;
}
/**
* Get 组件版本
注意:此字段可能返回 null,表示取不到有效值。
* @return Version 组件版本
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getVersion() {
return this.Version;
}
/**
* Set 组件版本
注意:此字段可能返回 null,表示取不到有效值。
* @param Version 组件版本
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setVersion(String Version) {
this.Version = Version;
}
public ImageVul() {
}
/**
* 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 ImageVul(ImageVul source) {
if (source.CVEID != null) {
this.CVEID = new String(source.CVEID);
}
if (source.POCID != null) {
this.POCID = new String(source.POCID);
}
if (source.Name != null) {
this.Name = new String(source.Name);
}
if (source.Components != null) {
this.Components = new ComponentsInfo[source.Components.length];
for (int i = 0; i < source.Components.length; i++) {
this.Components[i] = new ComponentsInfo(source.Components[i]);
}
}
if (source.Category != null) {
this.Category = new String(source.Category);
}
if (source.CategoryType != null) {
this.CategoryType = new String(source.CategoryType);
}
if (source.Level != null) {
this.Level = new String(source.Level);
}
if (source.Des != null) {
this.Des = new String(source.Des);
}
if (source.OfficialSolution != null) {
this.OfficialSolution = new String(source.OfficialSolution);
}
if (source.Reference != null) {
this.Reference = new String(source.Reference);
}
if (source.DefenseSolution != null) {
this.DefenseSolution = new String(source.DefenseSolution);
}
if (source.SubmitTime != null) {
this.SubmitTime = new String(source.SubmitTime);
}
if (source.CvssScore != null) {
this.CvssScore = new String(source.CvssScore);
}
if (source.CvssVector != null) {
this.CvssVector = new String(source.CvssVector);
}
if (source.IsSuggest != null) {
this.IsSuggest = new String(source.IsSuggest);
}
if (source.FixedVersions != null) {
this.FixedVersions = new String(source.FixedVersions);
}
if (source.Tag != null) {
this.Tag = new String[source.Tag.length];
for (int i = 0; i < source.Tag.length; i++) {
this.Tag[i] = new String(source.Tag[i]);
}
}
if (source.Component != null) {
this.Component = new String(source.Component);
}
if (source.Version != null) {
this.Version = new String(source.Version);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "CVEID", this.CVEID);
this.setParamSimple(map, prefix + "POCID", this.POCID);
this.setParamSimple(map, prefix + "Name", this.Name);
this.setParamArrayObj(map, prefix + "Components.", this.Components);
this.setParamSimple(map, prefix + "Category", this.Category);
this.setParamSimple(map, prefix + "CategoryType", this.CategoryType);
this.setParamSimple(map, prefix + "Level", this.Level);
this.setParamSimple(map, prefix + "Des", this.Des);
this.setParamSimple(map, prefix + "OfficialSolution", this.OfficialSolution);
this.setParamSimple(map, prefix + "Reference", this.Reference);
this.setParamSimple(map, prefix + "DefenseSolution", this.DefenseSolution);
this.setParamSimple(map, prefix + "SubmitTime", this.SubmitTime);
this.setParamSimple(map, prefix + "CvssScore", this.CvssScore);
this.setParamSimple(map, prefix + "CvssVector", this.CvssVector);
this.setParamSimple(map, prefix + "IsSuggest", this.IsSuggest);
this.setParamSimple(map, prefix + "FixedVersions", this.FixedVersions);
this.setParamArraySimple(map, prefix + "Tag.", this.Tag);
this.setParamSimple(map, prefix + "Component", this.Component);
this.setParamSimple(map, prefix + "Version", this.Version);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy