com.tencentcloudapi.csip.v20221121.models.SubnetAsset 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.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 SubnetAsset extends AbstractModel {
/**
* appid
*/
@SerializedName("AppId")
@Expose
private String AppId;
/**
* UIN
*/
@SerializedName("Uin")
@Expose
private String Uin;
/**
* Asset ID
*/
@SerializedName("AssetId")
@Expose
private String AssetId;
/**
* Asset name
*/
@SerializedName("AssetName")
@Expose
private String AssetName;
/**
* Region
*/
@SerializedName("Region")
@Expose
private String Region;
/**
* VPC ID
*/
@SerializedName("VpcId")
@Expose
private String VpcId;
/**
* VPC name
*/
@SerializedName("VpcName")
@Expose
private String VpcName;
/**
* Tags
Note: This field may return·null, indicating that no valid values can be obtained.
*/
@SerializedName("Tag")
@Expose
private Tag [] Tag;
/**
* User name
*/
@SerializedName("Nick")
@Expose
private String Nick;
/**
* CIDR block
*/
@SerializedName("CIDR")
@Expose
private String CIDR;
/**
* Availability zone
*/
@SerializedName("Zone")
@Expose
private String Zone;
/**
* Number of CVMs
*/
@SerializedName("CVM")
@Expose
private Long CVM;
/**
* Number of available IPs
*/
@SerializedName("AvailableIp")
@Expose
private Long AvailableIp;
/**
* Creation time
*/
@SerializedName("CreateTime")
@Expose
private String CreateTime;
/**
* Configuration risks
*/
@SerializedName("ConfigureRisk")
@Expose
private Long ConfigureRisk;
/**
* Number of tasks.
*/
@SerializedName("ScanTask")
@Expose
private Long ScanTask;
/**
* Last scan time
*/
@SerializedName("LastScanTime")
@Expose
private String LastScanTime;
/**
* Whether it's a critical asset
Note: This field may return·null, indicating that no valid values can be obtained.
*/
@SerializedName("IsCore")
@Expose
private Long IsCore;
/**
* Whether it's a newly-added asset. Values: `1` (Yes), `0` (No)
Note: This field may return·null, indicating that no valid values can be obtained.
*/
@SerializedName("IsNewAsset")
@Expose
private Long IsNewAsset;
/**
* Get appid
* @return AppId appid
*/
public String getAppId() {
return this.AppId;
}
/**
* Set appid
* @param AppId appid
*/
public void setAppId(String AppId) {
this.AppId = AppId;
}
/**
* Get UIN
* @return Uin UIN
*/
public String getUin() {
return this.Uin;
}
/**
* Set UIN
* @param Uin UIN
*/
public void setUin(String Uin) {
this.Uin = Uin;
}
/**
* Get Asset ID
* @return AssetId Asset ID
*/
public String getAssetId() {
return this.AssetId;
}
/**
* Set Asset ID
* @param AssetId Asset ID
*/
public void setAssetId(String AssetId) {
this.AssetId = AssetId;
}
/**
* Get Asset name
* @return AssetName Asset name
*/
public String getAssetName() {
return this.AssetName;
}
/**
* Set Asset name
* @param AssetName Asset name
*/
public void setAssetName(String AssetName) {
this.AssetName = AssetName;
}
/**
* Get Region
* @return Region Region
*/
public String getRegion() {
return this.Region;
}
/**
* Set Region
* @param Region Region
*/
public void setRegion(String Region) {
this.Region = Region;
}
/**
* Get VPC ID
* @return VpcId VPC ID
*/
public String getVpcId() {
return this.VpcId;
}
/**
* Set VPC ID
* @param VpcId VPC ID
*/
public void setVpcId(String VpcId) {
this.VpcId = VpcId;
}
/**
* Get VPC name
* @return VpcName VPC name
*/
public String getVpcName() {
return this.VpcName;
}
/**
* Set VPC name
* @param VpcName VPC name
*/
public void setVpcName(String VpcName) {
this.VpcName = VpcName;
}
/**
* Get Tags
Note: This field may return·null, indicating that no valid values can be obtained.
* @return Tag Tags
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public Tag [] getTag() {
return this.Tag;
}
/**
* Set Tags
Note: This field may return·null, indicating that no valid values can be obtained.
* @param Tag Tags
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public void setTag(Tag [] Tag) {
this.Tag = Tag;
}
/**
* Get User name
* @return Nick User name
*/
public String getNick() {
return this.Nick;
}
/**
* Set User name
* @param Nick User name
*/
public void setNick(String Nick) {
this.Nick = Nick;
}
/**
* Get CIDR block
* @return CIDR CIDR block
*/
public String getCIDR() {
return this.CIDR;
}
/**
* Set CIDR block
* @param CIDR CIDR block
*/
public void setCIDR(String CIDR) {
this.CIDR = CIDR;
}
/**
* Get Availability zone
* @return Zone Availability zone
*/
public String getZone() {
return this.Zone;
}
/**
* Set Availability zone
* @param Zone Availability zone
*/
public void setZone(String Zone) {
this.Zone = Zone;
}
/**
* Get Number of CVMs
* @return CVM Number of CVMs
*/
public Long getCVM() {
return this.CVM;
}
/**
* Set Number of CVMs
* @param CVM Number of CVMs
*/
public void setCVM(Long CVM) {
this.CVM = CVM;
}
/**
* Get Number of available IPs
* @return AvailableIp Number of available IPs
*/
public Long getAvailableIp() {
return this.AvailableIp;
}
/**
* Set Number of available IPs
* @param AvailableIp Number of available IPs
*/
public void setAvailableIp(Long AvailableIp) {
this.AvailableIp = AvailableIp;
}
/**
* Get Creation time
* @return CreateTime Creation time
*/
public String getCreateTime() {
return this.CreateTime;
}
/**
* Set Creation time
* @param CreateTime Creation time
*/
public void setCreateTime(String CreateTime) {
this.CreateTime = CreateTime;
}
/**
* Get Configuration risks
* @return ConfigureRisk Configuration risks
*/
public Long getConfigureRisk() {
return this.ConfigureRisk;
}
/**
* Set Configuration risks
* @param ConfigureRisk Configuration risks
*/
public void setConfigureRisk(Long ConfigureRisk) {
this.ConfigureRisk = ConfigureRisk;
}
/**
* Get Number of tasks.
* @return ScanTask Number of tasks.
*/
public Long getScanTask() {
return this.ScanTask;
}
/**
* Set Number of tasks.
* @param ScanTask Number of tasks.
*/
public void setScanTask(Long ScanTask) {
this.ScanTask = ScanTask;
}
/**
* Get Last scan time
* @return LastScanTime Last scan time
*/
public String getLastScanTime() {
return this.LastScanTime;
}
/**
* Set Last scan time
* @param LastScanTime Last scan time
*/
public void setLastScanTime(String LastScanTime) {
this.LastScanTime = LastScanTime;
}
/**
* Get Whether it's a critical asset
Note: This field may return·null, indicating that no valid values can be obtained.
* @return IsCore Whether it's a critical asset
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public Long getIsCore() {
return this.IsCore;
}
/**
* Set Whether it's a critical asset
Note: This field may return·null, indicating that no valid values can be obtained.
* @param IsCore Whether it's a critical asset
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public void setIsCore(Long IsCore) {
this.IsCore = IsCore;
}
/**
* Get Whether it's a newly-added asset. Values: `1` (Yes), `0` (No)
Note: This field may return·null, indicating that no valid values can be obtained.
* @return IsNewAsset Whether it's a newly-added asset. Values: `1` (Yes), `0` (No)
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public Long getIsNewAsset() {
return this.IsNewAsset;
}
/**
* Set Whether it's a newly-added asset. Values: `1` (Yes), `0` (No)
Note: This field may return·null, indicating that no valid values can be obtained.
* @param IsNewAsset Whether it's a newly-added asset. Values: `1` (Yes), `0` (No)
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public void setIsNewAsset(Long IsNewAsset) {
this.IsNewAsset = IsNewAsset;
}
public SubnetAsset() {
}
/**
* 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 SubnetAsset(SubnetAsset source) {
if (source.AppId != null) {
this.AppId = new String(source.AppId);
}
if (source.Uin != null) {
this.Uin = new String(source.Uin);
}
if (source.AssetId != null) {
this.AssetId = new String(source.AssetId);
}
if (source.AssetName != null) {
this.AssetName = new String(source.AssetName);
}
if (source.Region != null) {
this.Region = new String(source.Region);
}
if (source.VpcId != null) {
this.VpcId = new String(source.VpcId);
}
if (source.VpcName != null) {
this.VpcName = new String(source.VpcName);
}
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.Nick != null) {
this.Nick = new String(source.Nick);
}
if (source.CIDR != null) {
this.CIDR = new String(source.CIDR);
}
if (source.Zone != null) {
this.Zone = new String(source.Zone);
}
if (source.CVM != null) {
this.CVM = new Long(source.CVM);
}
if (source.AvailableIp != null) {
this.AvailableIp = new Long(source.AvailableIp);
}
if (source.CreateTime != null) {
this.CreateTime = new String(source.CreateTime);
}
if (source.ConfigureRisk != null) {
this.ConfigureRisk = new Long(source.ConfigureRisk);
}
if (source.ScanTask != null) {
this.ScanTask = new Long(source.ScanTask);
}
if (source.LastScanTime != null) {
this.LastScanTime = new String(source.LastScanTime);
}
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 + "AppId", this.AppId);
this.setParamSimple(map, prefix + "Uin", this.Uin);
this.setParamSimple(map, prefix + "AssetId", this.AssetId);
this.setParamSimple(map, prefix + "AssetName", this.AssetName);
this.setParamSimple(map, prefix + "Region", this.Region);
this.setParamSimple(map, prefix + "VpcId", this.VpcId);
this.setParamSimple(map, prefix + "VpcName", this.VpcName);
this.setParamArrayObj(map, prefix + "Tag.", this.Tag);
this.setParamSimple(map, prefix + "Nick", this.Nick);
this.setParamSimple(map, prefix + "CIDR", this.CIDR);
this.setParamSimple(map, prefix + "Zone", this.Zone);
this.setParamSimple(map, prefix + "CVM", this.CVM);
this.setParamSimple(map, prefix + "AvailableIp", this.AvailableIp);
this.setParamSimple(map, prefix + "CreateTime", this.CreateTime);
this.setParamSimple(map, prefix + "ConfigureRisk", this.ConfigureRisk);
this.setParamSimple(map, prefix + "ScanTask", this.ScanTask);
this.setParamSimple(map, prefix + "LastScanTime", this.LastScanTime);
this.setParamSimple(map, prefix + "IsCore", this.IsCore);
this.setParamSimple(map, prefix + "IsNewAsset", this.IsNewAsset);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy