
com.tencentcloudapi.tcss.v20201101.models.VirusInfo 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 VirusInfo extends AbstractModel{
/**
* 文件名称
*/
@SerializedName("FileName")
@Expose
private String FileName;
/**
* 文件路径
*/
@SerializedName("FilePath")
@Expose
private String FilePath;
/**
* 病毒名称
*/
@SerializedName("VirusName")
@Expose
private String VirusName;
/**
* 创建时间
*/
@SerializedName("CreateTime")
@Expose
private String CreateTime;
/**
* 更新时间
*/
@SerializedName("ModifyTime")
@Expose
private String ModifyTime;
/**
* 容器名称
*/
@SerializedName("ContainerName")
@Expose
private String ContainerName;
/**
* 容器id
*/
@SerializedName("ContainerId")
@Expose
private String ContainerId;
/**
* 容器状态
正在运行: RUNNING
暂停: PAUSED
停止: STOPPED
已经创建: CREATED
已经销毁: DESTROYED
正在重启中: RESTARTING
迁移中: REMOVING
*/
@SerializedName("ContainerStatus")
@Expose
private String ContainerStatus;
/**
* 镜像名称
*/
@SerializedName("ImageName")
@Expose
private String ImageName;
/**
* 镜像id
*/
@SerializedName("ImageId")
@Expose
private String ImageId;
/**
* DEAL_NONE:文件待处理
DEAL_IGNORE:已经忽略
DEAL_ADD_WHITELIST:加白
DEAL_DEL:文件已经删除
DEAL_ISOLATE:已经隔离
DEAL_ISOLATING:隔离中
DEAL_ISOLATE_FAILED:隔离失败
DEAL_RECOVERING:恢复中
DEAL_RECOVER_FAILED: 恢复失败
*/
@SerializedName("Status")
@Expose
private String Status;
/**
* 事件id
*/
@SerializedName("Id")
@Expose
private String Id;
/**
* 事件描述
*/
@SerializedName("HarmDescribe")
@Expose
private String HarmDescribe;
/**
* 建议方案
*/
@SerializedName("SuggestScheme")
@Expose
private String SuggestScheme;
/**
* 失败子状态:
FILE_NOT_FOUND:文件不存在
FILE_ABNORMAL:文件异常
FILE_ABNORMAL_DEAL_RECOVER:恢复文件时,文件异常
BACKUP_FILE_NOT_FOUND:备份文件不存在
CONTAINER_NOT_FOUND_DEAL_ISOLATE:隔离时,容器不存在
CONTAINER_NOT_FOUND_DEAL_RECOVER:恢复时,容器不存在
TIMEOUT: 超时
TOO_MANY: 任务过多
OFFLINE: 离线
INTERNAL: 服务内部错误
VALIDATION: 参数非法
*/
@SerializedName("SubStatus")
@Expose
private String SubStatus;
/**
* 网络状态
未隔离 NORMAL
已隔离 ISOLATED
隔离中 ISOLATING
隔离失败 ISOLATE_FAILED
解除隔离中 RESTORING
解除隔离失败 RESTORE_FAILED
*/
@SerializedName("ContainerNetStatus")
@Expose
private String ContainerNetStatus;
/**
* 容器子状态
"AGENT_OFFLINE" //Agent离线
"NODE_DESTROYED" //节点已销毁
"CONTAINER_EXITED" //容器已退出
"CONTAINER_DESTROYED" //容器已销毁
"SHARED_HOST" // 容器与主机共享网络
"RESOURCE_LIMIT" //隔离操作资源超限
"UNKNOW" // 原因未知
*/
@SerializedName("ContainerNetSubStatus")
@Expose
private String ContainerNetSubStatus;
/**
* 容器隔离操作来源
*/
@SerializedName("ContainerIsolateOperationSrc")
@Expose
private String ContainerIsolateOperationSrc;
/**
* md5值
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("MD5")
@Expose
private String MD5;
/**
* 风险等级 RISK_CRITICAL, RISK_HIGH, RISK_MEDIUM, RISK_LOW, RISK_NOTICE。
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("RiskLevel")
@Expose
private String RiskLevel;
/**
* 检测平台
1: 云查杀引擎
2: tav
3: binaryAi
4: 异常行为
5: 威胁情报
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("CheckPlatform")
@Expose
private String [] CheckPlatform;
/**
* Get 文件名称
* @return FileName 文件名称
*/
public String getFileName() {
return this.FileName;
}
/**
* Set 文件名称
* @param FileName 文件名称
*/
public void setFileName(String FileName) {
this.FileName = FileName;
}
/**
* Get 文件路径
* @return FilePath 文件路径
*/
public String getFilePath() {
return this.FilePath;
}
/**
* Set 文件路径
* @param FilePath 文件路径
*/
public void setFilePath(String FilePath) {
this.FilePath = FilePath;
}
/**
* Get 病毒名称
* @return VirusName 病毒名称
*/
public String getVirusName() {
return this.VirusName;
}
/**
* Set 病毒名称
* @param VirusName 病毒名称
*/
public void setVirusName(String VirusName) {
this.VirusName = VirusName;
}
/**
* Get 创建时间
* @return CreateTime 创建时间
*/
public String getCreateTime() {
return this.CreateTime;
}
/**
* Set 创建时间
* @param CreateTime 创建时间
*/
public void setCreateTime(String CreateTime) {
this.CreateTime = CreateTime;
}
/**
* Get 更新时间
* @return ModifyTime 更新时间
*/
public String getModifyTime() {
return this.ModifyTime;
}
/**
* Set 更新时间
* @param ModifyTime 更新时间
*/
public void setModifyTime(String ModifyTime) {
this.ModifyTime = ModifyTime;
}
/**
* Get 容器名称
* @return ContainerName 容器名称
*/
public String getContainerName() {
return this.ContainerName;
}
/**
* Set 容器名称
* @param ContainerName 容器名称
*/
public void setContainerName(String ContainerName) {
this.ContainerName = ContainerName;
}
/**
* Get 容器id
* @return ContainerId 容器id
*/
public String getContainerId() {
return this.ContainerId;
}
/**
* Set 容器id
* @param ContainerId 容器id
*/
public void setContainerId(String ContainerId) {
this.ContainerId = ContainerId;
}
/**
* Get 容器状态
正在运行: RUNNING
暂停: PAUSED
停止: STOPPED
已经创建: CREATED
已经销毁: DESTROYED
正在重启中: RESTARTING
迁移中: REMOVING
* @return ContainerStatus 容器状态
正在运行: RUNNING
暂停: PAUSED
停止: STOPPED
已经创建: CREATED
已经销毁: DESTROYED
正在重启中: RESTARTING
迁移中: REMOVING
*/
public String getContainerStatus() {
return this.ContainerStatus;
}
/**
* Set 容器状态
正在运行: RUNNING
暂停: PAUSED
停止: STOPPED
已经创建: CREATED
已经销毁: DESTROYED
正在重启中: RESTARTING
迁移中: REMOVING
* @param ContainerStatus 容器状态
正在运行: RUNNING
暂停: PAUSED
停止: STOPPED
已经创建: CREATED
已经销毁: DESTROYED
正在重启中: RESTARTING
迁移中: REMOVING
*/
public void setContainerStatus(String ContainerStatus) {
this.ContainerStatus = ContainerStatus;
}
/**
* Get 镜像名称
* @return ImageName 镜像名称
*/
public String getImageName() {
return this.ImageName;
}
/**
* Set 镜像名称
* @param ImageName 镜像名称
*/
public void setImageName(String ImageName) {
this.ImageName = ImageName;
}
/**
* Get 镜像id
* @return ImageId 镜像id
*/
public String getImageId() {
return this.ImageId;
}
/**
* Set 镜像id
* @param ImageId 镜像id
*/
public void setImageId(String ImageId) {
this.ImageId = ImageId;
}
/**
* Get DEAL_NONE:文件待处理
DEAL_IGNORE:已经忽略
DEAL_ADD_WHITELIST:加白
DEAL_DEL:文件已经删除
DEAL_ISOLATE:已经隔离
DEAL_ISOLATING:隔离中
DEAL_ISOLATE_FAILED:隔离失败
DEAL_RECOVERING:恢复中
DEAL_RECOVER_FAILED: 恢复失败
* @return Status DEAL_NONE:文件待处理
DEAL_IGNORE:已经忽略
DEAL_ADD_WHITELIST:加白
DEAL_DEL:文件已经删除
DEAL_ISOLATE:已经隔离
DEAL_ISOLATING:隔离中
DEAL_ISOLATE_FAILED:隔离失败
DEAL_RECOVERING:恢复中
DEAL_RECOVER_FAILED: 恢复失败
*/
public String getStatus() {
return this.Status;
}
/**
* Set DEAL_NONE:文件待处理
DEAL_IGNORE:已经忽略
DEAL_ADD_WHITELIST:加白
DEAL_DEL:文件已经删除
DEAL_ISOLATE:已经隔离
DEAL_ISOLATING:隔离中
DEAL_ISOLATE_FAILED:隔离失败
DEAL_RECOVERING:恢复中
DEAL_RECOVER_FAILED: 恢复失败
* @param Status DEAL_NONE:文件待处理
DEAL_IGNORE:已经忽略
DEAL_ADD_WHITELIST:加白
DEAL_DEL:文件已经删除
DEAL_ISOLATE:已经隔离
DEAL_ISOLATING:隔离中
DEAL_ISOLATE_FAILED:隔离失败
DEAL_RECOVERING:恢复中
DEAL_RECOVER_FAILED: 恢复失败
*/
public void setStatus(String Status) {
this.Status = Status;
}
/**
* Get 事件id
* @return Id 事件id
*/
public String getId() {
return this.Id;
}
/**
* Set 事件id
* @param Id 事件id
*/
public void setId(String Id) {
this.Id = Id;
}
/**
* Get 事件描述
* @return HarmDescribe 事件描述
*/
public String getHarmDescribe() {
return this.HarmDescribe;
}
/**
* Set 事件描述
* @param HarmDescribe 事件描述
*/
public void setHarmDescribe(String HarmDescribe) {
this.HarmDescribe = HarmDescribe;
}
/**
* Get 建议方案
* @return SuggestScheme 建议方案
*/
public String getSuggestScheme() {
return this.SuggestScheme;
}
/**
* Set 建议方案
* @param SuggestScheme 建议方案
*/
public void setSuggestScheme(String SuggestScheme) {
this.SuggestScheme = SuggestScheme;
}
/**
* Get 失败子状态:
FILE_NOT_FOUND:文件不存在
FILE_ABNORMAL:文件异常
FILE_ABNORMAL_DEAL_RECOVER:恢复文件时,文件异常
BACKUP_FILE_NOT_FOUND:备份文件不存在
CONTAINER_NOT_FOUND_DEAL_ISOLATE:隔离时,容器不存在
CONTAINER_NOT_FOUND_DEAL_RECOVER:恢复时,容器不存在
TIMEOUT: 超时
TOO_MANY: 任务过多
OFFLINE: 离线
INTERNAL: 服务内部错误
VALIDATION: 参数非法
* @return SubStatus 失败子状态:
FILE_NOT_FOUND:文件不存在
FILE_ABNORMAL:文件异常
FILE_ABNORMAL_DEAL_RECOVER:恢复文件时,文件异常
BACKUP_FILE_NOT_FOUND:备份文件不存在
CONTAINER_NOT_FOUND_DEAL_ISOLATE:隔离时,容器不存在
CONTAINER_NOT_FOUND_DEAL_RECOVER:恢复时,容器不存在
TIMEOUT: 超时
TOO_MANY: 任务过多
OFFLINE: 离线
INTERNAL: 服务内部错误
VALIDATION: 参数非法
*/
public String getSubStatus() {
return this.SubStatus;
}
/**
* Set 失败子状态:
FILE_NOT_FOUND:文件不存在
FILE_ABNORMAL:文件异常
FILE_ABNORMAL_DEAL_RECOVER:恢复文件时,文件异常
BACKUP_FILE_NOT_FOUND:备份文件不存在
CONTAINER_NOT_FOUND_DEAL_ISOLATE:隔离时,容器不存在
CONTAINER_NOT_FOUND_DEAL_RECOVER:恢复时,容器不存在
TIMEOUT: 超时
TOO_MANY: 任务过多
OFFLINE: 离线
INTERNAL: 服务内部错误
VALIDATION: 参数非法
* @param SubStatus 失败子状态:
FILE_NOT_FOUND:文件不存在
FILE_ABNORMAL:文件异常
FILE_ABNORMAL_DEAL_RECOVER:恢复文件时,文件异常
BACKUP_FILE_NOT_FOUND:备份文件不存在
CONTAINER_NOT_FOUND_DEAL_ISOLATE:隔离时,容器不存在
CONTAINER_NOT_FOUND_DEAL_RECOVER:恢复时,容器不存在
TIMEOUT: 超时
TOO_MANY: 任务过多
OFFLINE: 离线
INTERNAL: 服务内部错误
VALIDATION: 参数非法
*/
public void setSubStatus(String SubStatus) {
this.SubStatus = SubStatus;
}
/**
* Get 网络状态
未隔离 NORMAL
已隔离 ISOLATED
隔离中 ISOLATING
隔离失败 ISOLATE_FAILED
解除隔离中 RESTORING
解除隔离失败 RESTORE_FAILED
* @return ContainerNetStatus 网络状态
未隔离 NORMAL
已隔离 ISOLATED
隔离中 ISOLATING
隔离失败 ISOLATE_FAILED
解除隔离中 RESTORING
解除隔离失败 RESTORE_FAILED
*/
public String getContainerNetStatus() {
return this.ContainerNetStatus;
}
/**
* Set 网络状态
未隔离 NORMAL
已隔离 ISOLATED
隔离中 ISOLATING
隔离失败 ISOLATE_FAILED
解除隔离中 RESTORING
解除隔离失败 RESTORE_FAILED
* @param ContainerNetStatus 网络状态
未隔离 NORMAL
已隔离 ISOLATED
隔离中 ISOLATING
隔离失败 ISOLATE_FAILED
解除隔离中 RESTORING
解除隔离失败 RESTORE_FAILED
*/
public void setContainerNetStatus(String ContainerNetStatus) {
this.ContainerNetStatus = ContainerNetStatus;
}
/**
* Get 容器子状态
"AGENT_OFFLINE" //Agent离线
"NODE_DESTROYED" //节点已销毁
"CONTAINER_EXITED" //容器已退出
"CONTAINER_DESTROYED" //容器已销毁
"SHARED_HOST" // 容器与主机共享网络
"RESOURCE_LIMIT" //隔离操作资源超限
"UNKNOW" // 原因未知
* @return ContainerNetSubStatus 容器子状态
"AGENT_OFFLINE" //Agent离线
"NODE_DESTROYED" //节点已销毁
"CONTAINER_EXITED" //容器已退出
"CONTAINER_DESTROYED" //容器已销毁
"SHARED_HOST" // 容器与主机共享网络
"RESOURCE_LIMIT" //隔离操作资源超限
"UNKNOW" // 原因未知
*/
public String getContainerNetSubStatus() {
return this.ContainerNetSubStatus;
}
/**
* Set 容器子状态
"AGENT_OFFLINE" //Agent离线
"NODE_DESTROYED" //节点已销毁
"CONTAINER_EXITED" //容器已退出
"CONTAINER_DESTROYED" //容器已销毁
"SHARED_HOST" // 容器与主机共享网络
"RESOURCE_LIMIT" //隔离操作资源超限
"UNKNOW" // 原因未知
* @param ContainerNetSubStatus 容器子状态
"AGENT_OFFLINE" //Agent离线
"NODE_DESTROYED" //节点已销毁
"CONTAINER_EXITED" //容器已退出
"CONTAINER_DESTROYED" //容器已销毁
"SHARED_HOST" // 容器与主机共享网络
"RESOURCE_LIMIT" //隔离操作资源超限
"UNKNOW" // 原因未知
*/
public void setContainerNetSubStatus(String ContainerNetSubStatus) {
this.ContainerNetSubStatus = ContainerNetSubStatus;
}
/**
* Get 容器隔离操作来源
* @return ContainerIsolateOperationSrc 容器隔离操作来源
*/
public String getContainerIsolateOperationSrc() {
return this.ContainerIsolateOperationSrc;
}
/**
* Set 容器隔离操作来源
* @param ContainerIsolateOperationSrc 容器隔离操作来源
*/
public void setContainerIsolateOperationSrc(String ContainerIsolateOperationSrc) {
this.ContainerIsolateOperationSrc = ContainerIsolateOperationSrc;
}
/**
* Get md5值
注意:此字段可能返回 null,表示取不到有效值。
* @return MD5 md5值
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getMD5() {
return this.MD5;
}
/**
* Set md5值
注意:此字段可能返回 null,表示取不到有效值。
* @param MD5 md5值
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setMD5(String MD5) {
this.MD5 = MD5;
}
/**
* Get 风险等级 RISK_CRITICAL, RISK_HIGH, RISK_MEDIUM, RISK_LOW, RISK_NOTICE。
注意:此字段可能返回 null,表示取不到有效值。
* @return RiskLevel 风险等级 RISK_CRITICAL, RISK_HIGH, RISK_MEDIUM, RISK_LOW, RISK_NOTICE。
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getRiskLevel() {
return this.RiskLevel;
}
/**
* Set 风险等级 RISK_CRITICAL, RISK_HIGH, RISK_MEDIUM, RISK_LOW, RISK_NOTICE。
注意:此字段可能返回 null,表示取不到有效值。
* @param RiskLevel 风险等级 RISK_CRITICAL, RISK_HIGH, RISK_MEDIUM, RISK_LOW, RISK_NOTICE。
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setRiskLevel(String RiskLevel) {
this.RiskLevel = RiskLevel;
}
/**
* Get 检测平台
1: 云查杀引擎
2: tav
3: binaryAi
4: 异常行为
5: 威胁情报
注意:此字段可能返回 null,表示取不到有效值。
* @return CheckPlatform 检测平台
1: 云查杀引擎
2: tav
3: binaryAi
4: 异常行为
5: 威胁情报
注意:此字段可能返回 null,表示取不到有效值。
*/
public String [] getCheckPlatform() {
return this.CheckPlatform;
}
/**
* Set 检测平台
1: 云查杀引擎
2: tav
3: binaryAi
4: 异常行为
5: 威胁情报
注意:此字段可能返回 null,表示取不到有效值。
* @param CheckPlatform 检测平台
1: 云查杀引擎
2: tav
3: binaryAi
4: 异常行为
5: 威胁情报
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setCheckPlatform(String [] CheckPlatform) {
this.CheckPlatform = CheckPlatform;
}
public VirusInfo() {
}
/**
* 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 VirusInfo(VirusInfo source) {
if (source.FileName != null) {
this.FileName = new String(source.FileName);
}
if (source.FilePath != null) {
this.FilePath = new String(source.FilePath);
}
if (source.VirusName != null) {
this.VirusName = new String(source.VirusName);
}
if (source.CreateTime != null) {
this.CreateTime = new String(source.CreateTime);
}
if (source.ModifyTime != null) {
this.ModifyTime = new String(source.ModifyTime);
}
if (source.ContainerName != null) {
this.ContainerName = new String(source.ContainerName);
}
if (source.ContainerId != null) {
this.ContainerId = new String(source.ContainerId);
}
if (source.ContainerStatus != null) {
this.ContainerStatus = new String(source.ContainerStatus);
}
if (source.ImageName != null) {
this.ImageName = new String(source.ImageName);
}
if (source.ImageId != null) {
this.ImageId = new String(source.ImageId);
}
if (source.Status != null) {
this.Status = new String(source.Status);
}
if (source.Id != null) {
this.Id = new String(source.Id);
}
if (source.HarmDescribe != null) {
this.HarmDescribe = new String(source.HarmDescribe);
}
if (source.SuggestScheme != null) {
this.SuggestScheme = new String(source.SuggestScheme);
}
if (source.SubStatus != null) {
this.SubStatus = new String(source.SubStatus);
}
if (source.ContainerNetStatus != null) {
this.ContainerNetStatus = new String(source.ContainerNetStatus);
}
if (source.ContainerNetSubStatus != null) {
this.ContainerNetSubStatus = new String(source.ContainerNetSubStatus);
}
if (source.ContainerIsolateOperationSrc != null) {
this.ContainerIsolateOperationSrc = new String(source.ContainerIsolateOperationSrc);
}
if (source.MD5 != null) {
this.MD5 = new String(source.MD5);
}
if (source.RiskLevel != null) {
this.RiskLevel = new String(source.RiskLevel);
}
if (source.CheckPlatform != null) {
this.CheckPlatform = new String[source.CheckPlatform.length];
for (int i = 0; i < source.CheckPlatform.length; i++) {
this.CheckPlatform[i] = new String(source.CheckPlatform[i]);
}
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "FileName", this.FileName);
this.setParamSimple(map, prefix + "FilePath", this.FilePath);
this.setParamSimple(map, prefix + "VirusName", this.VirusName);
this.setParamSimple(map, prefix + "CreateTime", this.CreateTime);
this.setParamSimple(map, prefix + "ModifyTime", this.ModifyTime);
this.setParamSimple(map, prefix + "ContainerName", this.ContainerName);
this.setParamSimple(map, prefix + "ContainerId", this.ContainerId);
this.setParamSimple(map, prefix + "ContainerStatus", this.ContainerStatus);
this.setParamSimple(map, prefix + "ImageName", this.ImageName);
this.setParamSimple(map, prefix + "ImageId", this.ImageId);
this.setParamSimple(map, prefix + "Status", this.Status);
this.setParamSimple(map, prefix + "Id", this.Id);
this.setParamSimple(map, prefix + "HarmDescribe", this.HarmDescribe);
this.setParamSimple(map, prefix + "SuggestScheme", this.SuggestScheme);
this.setParamSimple(map, prefix + "SubStatus", this.SubStatus);
this.setParamSimple(map, prefix + "ContainerNetStatus", this.ContainerNetStatus);
this.setParamSimple(map, prefix + "ContainerNetSubStatus", this.ContainerNetSubStatus);
this.setParamSimple(map, prefix + "ContainerIsolateOperationSrc", this.ContainerIsolateOperationSrc);
this.setParamSimple(map, prefix + "MD5", this.MD5);
this.setParamSimple(map, prefix + "RiskLevel", this.RiskLevel);
this.setParamArraySimple(map, prefix + "CheckPlatform.", this.CheckPlatform);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy