com.tencentcloudapi.yunjing.v20180228.models.AgentVul Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Tencent Cloud API SDK for Java
/*
* 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.yunjing.v20180228.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 AgentVul extends AbstractModel {
/**
* Vulnerability ID.
*/
@SerializedName("Id")
@Expose
private Long Id;
/**
* Server IP.
*/
@SerializedName("MachineIp")
@Expose
private String MachineIp;
/**
* Vulnerability name.
*/
@SerializedName("VulName")
@Expose
private String VulName;
/**
* Vulnerability severity level.
HIGH: high
MIDDLE: medium
LOW: low
NOTICE: notice
*/
@SerializedName("VulLevel")
@Expose
private String VulLevel;
/**
* Last scanned time.
*/
@SerializedName("LastScanTime")
@Expose
private String LastScanTime;
/**
* Vulnerability description.
*/
@SerializedName("Description")
@Expose
private String Description;
/**
* Vulnerability category ID.
*/
@SerializedName("VulId")
@Expose
private Long VulId;
/**
* Vulnerability status.
UN_OPERATED: to be processed
FIXED: fixed
*/
@SerializedName("VulStatus")
@Expose
private String VulStatus;
/**
* Get Vulnerability ID.
* @return Id Vulnerability ID.
*/
public Long getId() {
return this.Id;
}
/**
* Set Vulnerability ID.
* @param Id Vulnerability ID.
*/
public void setId(Long Id) {
this.Id = Id;
}
/**
* Get Server IP.
* @return MachineIp Server IP.
*/
public String getMachineIp() {
return this.MachineIp;
}
/**
* Set Server IP.
* @param MachineIp Server IP.
*/
public void setMachineIp(String MachineIp) {
this.MachineIp = MachineIp;
}
/**
* Get Vulnerability name.
* @return VulName Vulnerability name.
*/
public String getVulName() {
return this.VulName;
}
/**
* Set Vulnerability name.
* @param VulName Vulnerability name.
*/
public void setVulName(String VulName) {
this.VulName = VulName;
}
/**
* Get Vulnerability severity level.
HIGH: high
MIDDLE: medium
LOW: low
NOTICE: notice
* @return VulLevel Vulnerability severity level.
HIGH: high
MIDDLE: medium
LOW: low
NOTICE: notice
*/
public String getVulLevel() {
return this.VulLevel;
}
/**
* Set Vulnerability severity level.
HIGH: high
MIDDLE: medium
LOW: low
NOTICE: notice
* @param VulLevel Vulnerability severity level.
HIGH: high
MIDDLE: medium
LOW: low
NOTICE: notice
*/
public void setVulLevel(String VulLevel) {
this.VulLevel = VulLevel;
}
/**
* Get Last scanned time.
* @return LastScanTime Last scanned time.
*/
public String getLastScanTime() {
return this.LastScanTime;
}
/**
* Set Last scanned time.
* @param LastScanTime Last scanned time.
*/
public void setLastScanTime(String LastScanTime) {
this.LastScanTime = LastScanTime;
}
/**
* Get Vulnerability description.
* @return Description Vulnerability description.
*/
public String getDescription() {
return this.Description;
}
/**
* Set Vulnerability description.
* @param Description Vulnerability description.
*/
public void setDescription(String Description) {
this.Description = Description;
}
/**
* Get Vulnerability category ID.
* @return VulId Vulnerability category ID.
*/
public Long getVulId() {
return this.VulId;
}
/**
* Set Vulnerability category ID.
* @param VulId Vulnerability category ID.
*/
public void setVulId(Long VulId) {
this.VulId = VulId;
}
/**
* Get Vulnerability status.
UN_OPERATED: to be processed
FIXED: fixed
* @return VulStatus Vulnerability status.
UN_OPERATED: to be processed
FIXED: fixed
*/
public String getVulStatus() {
return this.VulStatus;
}
/**
* Set Vulnerability status.
UN_OPERATED: to be processed
FIXED: fixed
* @param VulStatus Vulnerability status.
UN_OPERATED: to be processed
FIXED: fixed
*/
public void setVulStatus(String VulStatus) {
this.VulStatus = VulStatus;
}
public AgentVul() {
}
/**
* 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 AgentVul(AgentVul source) {
if (source.Id != null) {
this.Id = new Long(source.Id);
}
if (source.MachineIp != null) {
this.MachineIp = new String(source.MachineIp);
}
if (source.VulName != null) {
this.VulName = new String(source.VulName);
}
if (source.VulLevel != null) {
this.VulLevel = new String(source.VulLevel);
}
if (source.LastScanTime != null) {
this.LastScanTime = new String(source.LastScanTime);
}
if (source.Description != null) {
this.Description = new String(source.Description);
}
if (source.VulId != null) {
this.VulId = new Long(source.VulId);
}
if (source.VulStatus != null) {
this.VulStatus = new String(source.VulStatus);
}
}
/**
* 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 + "MachineIp", this.MachineIp);
this.setParamSimple(map, prefix + "VulName", this.VulName);
this.setParamSimple(map, prefix + "VulLevel", this.VulLevel);
this.setParamSimple(map, prefix + "LastScanTime", this.LastScanTime);
this.setParamSimple(map, prefix + "Description", this.Description);
this.setParamSimple(map, prefix + "VulId", this.VulId);
this.setParamSimple(map, prefix + "VulStatus", this.VulStatus);
}
}