com.tencentcloudapi.csip.v20221121.models.DBAssetVO Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-csip Show documentation
Show all versions of tencentcloud-sdk-java-csip Show documentation
Tencent Cloud Open API SDK for Java
The 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 DBAssetVO extends AbstractModel {
/**
* 资产id
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("AssetId")
@Expose
private String AssetId;
/**
* 资产名
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("AssetName")
@Expose
private String AssetName;
/**
* 资产类型
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("AssetType")
@Expose
private String AssetType;
/**
* vpcid
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("VpcId")
@Expose
private String VpcId;
/**
* vpc标签
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("VpcName")
@Expose
private String VpcName;
/**
* 地域
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Region")
@Expose
private String Region;
/**
* 域名
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Domain")
@Expose
private String Domain;
/**
* 资产创建时间
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("AssetCreateTime")
@Expose
private String AssetCreateTime;
/**
* 最近扫描时间
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("LastScanTime")
@Expose
private String LastScanTime;
/**
* 配置风险
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("ConfigurationRisk")
@Expose
private Long ConfigurationRisk;
/**
* 网络攻击
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Attack")
@Expose
private Long Attack;
/**
* 网络访问
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Access")
@Expose
private Long Access;
/**
* 扫描任务
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("ScanTask")
@Expose
private Long ScanTask;
/**
* 用户appid
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("AppId")
@Expose
private Long AppId;
/**
* 用户uin
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Uin")
@Expose
private String Uin;
/**
* 昵称别名
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("NickName")
@Expose
private String NickName;
/**
* 端口
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Port")
@Expose
private Long Port;
/**
* 标签
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Tag")
@Expose
private Tag [] Tag;
/**
* 内网ip
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("PrivateIp")
@Expose
private String PrivateIp;
/**
* 公网ip
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("PublicIp")
@Expose
private String PublicIp;
/**
* 状态
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Status")
@Expose
private Long Status;
/**
* 是否核心
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("IsCore")
@Expose
private Long IsCore;
/**
* 是否新资产: 1新
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("IsNewAsset")
@Expose
private Long IsNewAsset;
/**
* Get 资产id
注意:此字段可能返回 null,表示取不到有效值。
* @return AssetId 资产id
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getAssetId() {
return this.AssetId;
}
/**
* Set 资产id
注意:此字段可能返回 null,表示取不到有效值。
* @param AssetId 资产id
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setAssetId(String AssetId) {
this.AssetId = AssetId;
}
/**
* Get 资产名
注意:此字段可能返回 null,表示取不到有效值。
* @return AssetName 资产名
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getAssetName() {
return this.AssetName;
}
/**
* Set 资产名
注意:此字段可能返回 null,表示取不到有效值。
* @param AssetName 资产名
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setAssetName(String AssetName) {
this.AssetName = AssetName;
}
/**
* Get 资产类型
注意:此字段可能返回 null,表示取不到有效值。
* @return AssetType 资产类型
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getAssetType() {
return this.AssetType;
}
/**
* Set 资产类型
注意:此字段可能返回 null,表示取不到有效值。
* @param AssetType 资产类型
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setAssetType(String AssetType) {
this.AssetType = AssetType;
}
/**
* Get vpcid
注意:此字段可能返回 null,表示取不到有效值。
* @return VpcId vpcid
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getVpcId() {
return this.VpcId;
}
/**
* Set vpcid
注意:此字段可能返回 null,表示取不到有效值。
* @param VpcId vpcid
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setVpcId(String VpcId) {
this.VpcId = VpcId;
}
/**
* Get vpc标签
注意:此字段可能返回 null,表示取不到有效值。
* @return VpcName vpc标签
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getVpcName() {
return this.VpcName;
}
/**
* Set vpc标签
注意:此字段可能返回 null,表示取不到有效值。
* @param VpcName vpc标签
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setVpcName(String VpcName) {
this.VpcName = VpcName;
}
/**
* Get 地域
注意:此字段可能返回 null,表示取不到有效值。
* @return Region 地域
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getRegion() {
return this.Region;
}
/**
* Set 地域
注意:此字段可能返回 null,表示取不到有效值。
* @param Region 地域
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setRegion(String Region) {
this.Region = Region;
}
/**
* Get 域名
注意:此字段可能返回 null,表示取不到有效值。
* @return Domain 域名
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getDomain() {
return this.Domain;
}
/**
* Set 域名
注意:此字段可能返回 null,表示取不到有效值。
* @param Domain 域名
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setDomain(String Domain) {
this.Domain = Domain;
}
/**
* Get 资产创建时间
注意:此字段可能返回 null,表示取不到有效值。
* @return AssetCreateTime 资产创建时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getAssetCreateTime() {
return this.AssetCreateTime;
}
/**
* Set 资产创建时间
注意:此字段可能返回 null,表示取不到有效值。
* @param AssetCreateTime 资产创建时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setAssetCreateTime(String AssetCreateTime) {
this.AssetCreateTime = AssetCreateTime;
}
/**
* Get 最近扫描时间
注意:此字段可能返回 null,表示取不到有效值。
* @return LastScanTime 最近扫描时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getLastScanTime() {
return this.LastScanTime;
}
/**
* Set 最近扫描时间
注意:此字段可能返回 null,表示取不到有效值。
* @param LastScanTime 最近扫描时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setLastScanTime(String LastScanTime) {
this.LastScanTime = LastScanTime;
}
/**
* Get 配置风险
注意:此字段可能返回 null,表示取不到有效值。
* @return ConfigurationRisk 配置风险
注意:此字段可能返回 null,表示取不到有效值。
*/
public Long getConfigurationRisk() {
return this.ConfigurationRisk;
}
/**
* Set 配置风险
注意:此字段可能返回 null,表示取不到有效值。
* @param ConfigurationRisk 配置风险
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setConfigurationRisk(Long ConfigurationRisk) {
this.ConfigurationRisk = ConfigurationRisk;
}
/**
* Get 网络攻击
注意:此字段可能返回 null,表示取不到有效值。
* @return Attack 网络攻击
注意:此字段可能返回 null,表示取不到有效值。
*/
public Long getAttack() {
return this.Attack;
}
/**
* Set 网络攻击
注意:此字段可能返回 null,表示取不到有效值。
* @param Attack 网络攻击
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setAttack(Long Attack) {
this.Attack = Attack;
}
/**
* Get 网络访问
注意:此字段可能返回 null,表示取不到有效值。
* @return Access 网络访问
注意:此字段可能返回 null,表示取不到有效值。
*/
public Long getAccess() {
return this.Access;
}
/**
* Set 网络访问
注意:此字段可能返回 null,表示取不到有效值。
* @param Access 网络访问
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setAccess(Long Access) {
this.Access = Access;
}
/**
* Get 扫描任务
注意:此字段可能返回 null,表示取不到有效值。
* @return ScanTask 扫描任务
注意:此字段可能返回 null,表示取不到有效值。
*/
public Long getScanTask() {
return this.ScanTask;
}
/**
* Set 扫描任务
注意:此字段可能返回 null,表示取不到有效值。
* @param ScanTask 扫描任务
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setScanTask(Long ScanTask) {
this.ScanTask = ScanTask;
}
/**
* Get 用户appid
注意:此字段可能返回 null,表示取不到有效值。
* @return AppId 用户appid
注意:此字段可能返回 null,表示取不到有效值。
*/
public Long getAppId() {
return this.AppId;
}
/**
* Set 用户appid
注意:此字段可能返回 null,表示取不到有效值。
* @param AppId 用户appid
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setAppId(Long AppId) {
this.AppId = AppId;
}
/**
* Get 用户uin
注意:此字段可能返回 null,表示取不到有效值。
* @return Uin 用户uin
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getUin() {
return this.Uin;
}
/**
* Set 用户uin
注意:此字段可能返回 null,表示取不到有效值。
* @param Uin 用户uin
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setUin(String Uin) {
this.Uin = Uin;
}
/**
* Get 昵称别名
注意:此字段可能返回 null,表示取不到有效值。
* @return NickName 昵称别名
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getNickName() {
return this.NickName;
}
/**
* Set 昵称别名
注意:此字段可能返回 null,表示取不到有效值。
* @param NickName 昵称别名
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setNickName(String NickName) {
this.NickName = NickName;
}
/**
* Get 端口
注意:此字段可能返回 null,表示取不到有效值。
* @return Port 端口
注意:此字段可能返回 null,表示取不到有效值。
*/
public Long getPort() {
return this.Port;
}
/**
* Set 端口
注意:此字段可能返回 null,表示取不到有效值。
* @param Port 端口
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setPort(Long Port) {
this.Port = Port;
}
/**
* Get 标签
注意:此字段可能返回 null,表示取不到有效值。
* @return Tag 标签
注意:此字段可能返回 null,表示取不到有效值。
*/
public Tag [] getTag() {
return this.Tag;
}
/**
* Set 标签
注意:此字段可能返回 null,表示取不到有效值。
* @param Tag 标签
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setTag(Tag [] Tag) {
this.Tag = Tag;
}
/**
* Get 内网ip
注意:此字段可能返回 null,表示取不到有效值。
* @return PrivateIp 内网ip
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getPrivateIp() {
return this.PrivateIp;
}
/**
* Set 内网ip
注意:此字段可能返回 null,表示取不到有效值。
* @param PrivateIp 内网ip
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setPrivateIp(String PrivateIp) {
this.PrivateIp = PrivateIp;
}
/**
* Get 公网ip
注意:此字段可能返回 null,表示取不到有效值。
* @return PublicIp 公网ip
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getPublicIp() {
return this.PublicIp;
}
/**
* Set 公网ip
注意:此字段可能返回 null,表示取不到有效值。
* @param PublicIp 公网ip
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setPublicIp(String PublicIp) {
this.PublicIp = PublicIp;
}
/**
* Get 状态
注意:此字段可能返回 null,表示取不到有效值。
* @return Status 状态
注意:此字段可能返回 null,表示取不到有效值。
*/
public Long getStatus() {
return this.Status;
}
/**
* Set 状态
注意:此字段可能返回 null,表示取不到有效值。
* @param Status 状态
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setStatus(Long Status) {
this.Status = Status;
}
/**
* Get 是否核心
注意:此字段可能返回 null,表示取不到有效值。
* @return IsCore 是否核心
注意:此字段可能返回 null,表示取不到有效值。
*/
public Long getIsCore() {
return this.IsCore;
}
/**
* Set 是否核心
注意:此字段可能返回 null,表示取不到有效值。
* @param IsCore 是否核心
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setIsCore(Long IsCore) {
this.IsCore = IsCore;
}
/**
* Get 是否新资产: 1新
注意:此字段可能返回 null,表示取不到有效值。
* @return IsNewAsset 是否新资产: 1新
注意:此字段可能返回 null,表示取不到有效值。
*/
public Long getIsNewAsset() {
return this.IsNewAsset;
}
/**
* Set 是否新资产: 1新
注意:此字段可能返回 null,表示取不到有效值。
* @param IsNewAsset 是否新资产: 1新
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setIsNewAsset(Long IsNewAsset) {
this.IsNewAsset = IsNewAsset;
}
public DBAssetVO() {
}
/**
* 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 DBAssetVO(DBAssetVO source) {
if (source.AssetId != null) {
this.AssetId = new String(source.AssetId);
}
if (source.AssetName != null) {
this.AssetName = new String(source.AssetName);
}
if (source.AssetType != null) {
this.AssetType = new String(source.AssetType);
}
if (source.VpcId != null) {
this.VpcId = new String(source.VpcId);
}
if (source.VpcName != null) {
this.VpcName = new String(source.VpcName);
}
if (source.Region != null) {
this.Region = new String(source.Region);
}
if (source.Domain != null) {
this.Domain = new String(source.Domain);
}
if (source.AssetCreateTime != null) {
this.AssetCreateTime = new String(source.AssetCreateTime);
}
if (source.LastScanTime != null) {
this.LastScanTime = new String(source.LastScanTime);
}
if (source.ConfigurationRisk != null) {
this.ConfigurationRisk = new Long(source.ConfigurationRisk);
}
if (source.Attack != null) {
this.Attack = new Long(source.Attack);
}
if (source.Access != null) {
this.Access = new Long(source.Access);
}
if (source.ScanTask != null) {
this.ScanTask = new Long(source.ScanTask);
}
if (source.AppId != null) {
this.AppId = new Long(source.AppId);
}
if (source.Uin != null) {
this.Uin = new String(source.Uin);
}
if (source.NickName != null) {
this.NickName = new String(source.NickName);
}
if (source.Port != null) {
this.Port = new Long(source.Port);
}
if (source.Tag != null) {
this.Tag = new Tag[source.Tag.length];
for (int i = 0; i < source.Tag.length; i++) {
this.Tag[i] = new Tag(source.Tag[i]);
}
}
if (source.PrivateIp != null) {
this.PrivateIp = new String(source.PrivateIp);
}
if (source.PublicIp != null) {
this.PublicIp = new String(source.PublicIp);
}
if (source.Status != null) {
this.Status = new Long(source.Status);
}
if (source.IsCore != null) {
this.IsCore = new Long(source.IsCore);
}
if (source.IsNewAsset != null) {
this.IsNewAsset = new Long(source.IsNewAsset);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "AssetId", this.AssetId);
this.setParamSimple(map, prefix + "AssetName", this.AssetName);
this.setParamSimple(map, prefix + "AssetType", this.AssetType);
this.setParamSimple(map, prefix + "VpcId", this.VpcId);
this.setParamSimple(map, prefix + "VpcName", this.VpcName);
this.setParamSimple(map, prefix + "Region", this.Region);
this.setParamSimple(map, prefix + "Domain", this.Domain);
this.setParamSimple(map, prefix + "AssetCreateTime", this.AssetCreateTime);
this.setParamSimple(map, prefix + "LastScanTime", this.LastScanTime);
this.setParamSimple(map, prefix + "ConfigurationRisk", this.ConfigurationRisk);
this.setParamSimple(map, prefix + "Attack", this.Attack);
this.setParamSimple(map, prefix + "Access", this.Access);
this.setParamSimple(map, prefix + "ScanTask", this.ScanTask);
this.setParamSimple(map, prefix + "AppId", this.AppId);
this.setParamSimple(map, prefix + "Uin", this.Uin);
this.setParamSimple(map, prefix + "NickName", this.NickName);
this.setParamSimple(map, prefix + "Port", this.Port);
this.setParamArrayObj(map, prefix + "Tag.", this.Tag);
this.setParamSimple(map, prefix + "PrivateIp", this.PrivateIp);
this.setParamSimple(map, prefix + "PublicIp", this.PublicIp);
this.setParamSimple(map, prefix + "Status", this.Status);
this.setParamSimple(map, prefix + "IsCore", this.IsCore);
this.setParamSimple(map, prefix + "IsNewAsset", this.IsNewAsset);
}
}