
com.tencentcloudapi.bm.v20180423.models.DeviceInfo 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.bm.v20180423.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class DeviceInfo extends AbstractModel{
/**
* 设备唯一ID
*/
@SerializedName("InstanceId")
@Expose
private String InstanceId;
/**
* 私有网络ID
*/
@SerializedName("VpcId")
@Expose
private String VpcId;
/**
* 子网ID
*/
@SerializedName("SubnetId")
@Expose
private String SubnetId;
/**
* 设备状态ID,取值:1:申领设备中 2:初始化中 4:运营中 7:隔离中 8:已隔离 10:解隔离中 16:故障中
*/
@SerializedName("DeviceStatus")
@Expose
private Long DeviceStatus;
/**
* 设备操作状态ID,取值:
1:运行中 2:正在关机 3:已关机 5:正在开机 7:重启中 9:重装中 12:绑定EIP 13:解绑EIP 14:绑定LB 15:解绑LB 19:更换IP中 20:制作镜像中 21:制作镜像失败 23:故障待重装
*/
@SerializedName("OperateStatus")
@Expose
private Long OperateStatus;
/**
* 操作系统ID,参考接口[查询操作系统信息(DescribeOsInfo)](https://cloud.tencent.com/document/product/386/32902)
*/
@SerializedName("OsTypeId")
@Expose
private Long OsTypeId;
/**
* RAID类型ID,参考接口[查询机型RAID方式以及系统盘大小(DescribeDeviceClassPartition)](https://cloud.tencent.com/document/product/386/32910)
*/
@SerializedName("RaidId")
@Expose
private Long RaidId;
/**
* 设备别名
*/
@SerializedName("Alias")
@Expose
private String Alias;
/**
* 用户AppId
*/
@SerializedName("AppId")
@Expose
private Long AppId;
/**
* 可用区
*/
@SerializedName("Zone")
@Expose
private String Zone;
/**
* 外网IP
*/
@SerializedName("WanIp")
@Expose
private String WanIp;
/**
* 内网IP
*/
@SerializedName("LanIp")
@Expose
private String LanIp;
/**
* 设备交付时间
*/
@SerializedName("DeliverTime")
@Expose
private String DeliverTime;
/**
* 设备到期时间
*/
@SerializedName("Deadline")
@Expose
private String Deadline;
/**
* 自动续费标识。0: 不自动续费; 1:自动续费
*/
@SerializedName("AutoRenewFlag")
@Expose
private Long AutoRenewFlag;
/**
* 设备类型
*/
@SerializedName("DeviceClassCode")
@Expose
private String DeviceClassCode;
/**
* 标签列表
*/
@SerializedName("Tags")
@Expose
private Tag [] Tags;
/**
* 计费模式。1: 预付费; 2: 后付费; 3:预付费转后付费中
*/
@SerializedName("CpmPayMode")
@Expose
private Long CpmPayMode;
/**
* 带外IP
*/
@SerializedName("DhcpIp")
@Expose
private String DhcpIp;
/**
* 所在私有网络别名
*/
@SerializedName("VpcName")
@Expose
private String VpcName;
/**
* 所在子网别名
*/
@SerializedName("SubnetName")
@Expose
private String SubnetName;
/**
* 所在私有网络CIDR
*/
@SerializedName("VpcCidrBlock")
@Expose
private String VpcCidrBlock;
/**
* 所在子网CIDR
*/
@SerializedName("SubnetCidrBlock")
@Expose
private String SubnetCidrBlock;
/**
* 标识是否是竞价实例。0: 普通设备; 1: 竞价实例设备
*/
@SerializedName("IsLuckyDevice")
@Expose
private Long IsLuckyDevice;
/**
* Get 设备唯一ID
* @return InstanceId 设备唯一ID
*/
public String getInstanceId() {
return this.InstanceId;
}
/**
* Set 设备唯一ID
* @param InstanceId 设备唯一ID
*/
public void setInstanceId(String InstanceId) {
this.InstanceId = InstanceId;
}
/**
* Get 私有网络ID
* @return VpcId 私有网络ID
*/
public String getVpcId() {
return this.VpcId;
}
/**
* Set 私有网络ID
* @param VpcId 私有网络ID
*/
public void setVpcId(String VpcId) {
this.VpcId = VpcId;
}
/**
* Get 子网ID
* @return SubnetId 子网ID
*/
public String getSubnetId() {
return this.SubnetId;
}
/**
* Set 子网ID
* @param SubnetId 子网ID
*/
public void setSubnetId(String SubnetId) {
this.SubnetId = SubnetId;
}
/**
* Get 设备状态ID,取值:1:申领设备中 2:初始化中 4:运营中 7:隔离中 8:已隔离 10:解隔离中 16:故障中
* @return DeviceStatus 设备状态ID,取值:1:申领设备中 2:初始化中 4:运营中 7:隔离中 8:已隔离 10:解隔离中 16:故障中
*/
public Long getDeviceStatus() {
return this.DeviceStatus;
}
/**
* Set 设备状态ID,取值:1:申领设备中 2:初始化中 4:运营中 7:隔离中 8:已隔离 10:解隔离中 16:故障中
* @param DeviceStatus 设备状态ID,取值:1:申领设备中 2:初始化中 4:运营中 7:隔离中 8:已隔离 10:解隔离中 16:故障中
*/
public void setDeviceStatus(Long DeviceStatus) {
this.DeviceStatus = DeviceStatus;
}
/**
* Get 设备操作状态ID,取值:
1:运行中 2:正在关机 3:已关机 5:正在开机 7:重启中 9:重装中 12:绑定EIP 13:解绑EIP 14:绑定LB 15:解绑LB 19:更换IP中 20:制作镜像中 21:制作镜像失败 23:故障待重装
* @return OperateStatus 设备操作状态ID,取值:
1:运行中 2:正在关机 3:已关机 5:正在开机 7:重启中 9:重装中 12:绑定EIP 13:解绑EIP 14:绑定LB 15:解绑LB 19:更换IP中 20:制作镜像中 21:制作镜像失败 23:故障待重装
*/
public Long getOperateStatus() {
return this.OperateStatus;
}
/**
* Set 设备操作状态ID,取值:
1:运行中 2:正在关机 3:已关机 5:正在开机 7:重启中 9:重装中 12:绑定EIP 13:解绑EIP 14:绑定LB 15:解绑LB 19:更换IP中 20:制作镜像中 21:制作镜像失败 23:故障待重装
* @param OperateStatus 设备操作状态ID,取值:
1:运行中 2:正在关机 3:已关机 5:正在开机 7:重启中 9:重装中 12:绑定EIP 13:解绑EIP 14:绑定LB 15:解绑LB 19:更换IP中 20:制作镜像中 21:制作镜像失败 23:故障待重装
*/
public void setOperateStatus(Long OperateStatus) {
this.OperateStatus = OperateStatus;
}
/**
* Get 操作系统ID,参考接口[查询操作系统信息(DescribeOsInfo)](https://cloud.tencent.com/document/product/386/32902)
* @return OsTypeId 操作系统ID,参考接口[查询操作系统信息(DescribeOsInfo)](https://cloud.tencent.com/document/product/386/32902)
*/
public Long getOsTypeId() {
return this.OsTypeId;
}
/**
* Set 操作系统ID,参考接口[查询操作系统信息(DescribeOsInfo)](https://cloud.tencent.com/document/product/386/32902)
* @param OsTypeId 操作系统ID,参考接口[查询操作系统信息(DescribeOsInfo)](https://cloud.tencent.com/document/product/386/32902)
*/
public void setOsTypeId(Long OsTypeId) {
this.OsTypeId = OsTypeId;
}
/**
* Get RAID类型ID,参考接口[查询机型RAID方式以及系统盘大小(DescribeDeviceClassPartition)](https://cloud.tencent.com/document/product/386/32910)
* @return RaidId RAID类型ID,参考接口[查询机型RAID方式以及系统盘大小(DescribeDeviceClassPartition)](https://cloud.tencent.com/document/product/386/32910)
*/
public Long getRaidId() {
return this.RaidId;
}
/**
* Set RAID类型ID,参考接口[查询机型RAID方式以及系统盘大小(DescribeDeviceClassPartition)](https://cloud.tencent.com/document/product/386/32910)
* @param RaidId RAID类型ID,参考接口[查询机型RAID方式以及系统盘大小(DescribeDeviceClassPartition)](https://cloud.tencent.com/document/product/386/32910)
*/
public void setRaidId(Long RaidId) {
this.RaidId = RaidId;
}
/**
* Get 设备别名
* @return Alias 设备别名
*/
public String getAlias() {
return this.Alias;
}
/**
* Set 设备别名
* @param Alias 设备别名
*/
public void setAlias(String Alias) {
this.Alias = Alias;
}
/**
* Get 用户AppId
* @return AppId 用户AppId
*/
public Long getAppId() {
return this.AppId;
}
/**
* Set 用户AppId
* @param AppId 用户AppId
*/
public void setAppId(Long AppId) {
this.AppId = AppId;
}
/**
* Get 可用区
* @return Zone 可用区
*/
public String getZone() {
return this.Zone;
}
/**
* Set 可用区
* @param Zone 可用区
*/
public void setZone(String Zone) {
this.Zone = Zone;
}
/**
* Get 外网IP
* @return WanIp 外网IP
*/
public String getWanIp() {
return this.WanIp;
}
/**
* Set 外网IP
* @param WanIp 外网IP
*/
public void setWanIp(String WanIp) {
this.WanIp = WanIp;
}
/**
* Get 内网IP
* @return LanIp 内网IP
*/
public String getLanIp() {
return this.LanIp;
}
/**
* Set 内网IP
* @param LanIp 内网IP
*/
public void setLanIp(String LanIp) {
this.LanIp = LanIp;
}
/**
* Get 设备交付时间
* @return DeliverTime 设备交付时间
*/
public String getDeliverTime() {
return this.DeliverTime;
}
/**
* Set 设备交付时间
* @param DeliverTime 设备交付时间
*/
public void setDeliverTime(String DeliverTime) {
this.DeliverTime = DeliverTime;
}
/**
* Get 设备到期时间
* @return Deadline 设备到期时间
*/
public String getDeadline() {
return this.Deadline;
}
/**
* Set 设备到期时间
* @param Deadline 设备到期时间
*/
public void setDeadline(String Deadline) {
this.Deadline = Deadline;
}
/**
* Get 自动续费标识。0: 不自动续费; 1:自动续费
* @return AutoRenewFlag 自动续费标识。0: 不自动续费; 1:自动续费
*/
public Long getAutoRenewFlag() {
return this.AutoRenewFlag;
}
/**
* Set 自动续费标识。0: 不自动续费; 1:自动续费
* @param AutoRenewFlag 自动续费标识。0: 不自动续费; 1:自动续费
*/
public void setAutoRenewFlag(Long AutoRenewFlag) {
this.AutoRenewFlag = AutoRenewFlag;
}
/**
* Get 设备类型
* @return DeviceClassCode 设备类型
*/
public String getDeviceClassCode() {
return this.DeviceClassCode;
}
/**
* Set 设备类型
* @param DeviceClassCode 设备类型
*/
public void setDeviceClassCode(String DeviceClassCode) {
this.DeviceClassCode = DeviceClassCode;
}
/**
* Get 标签列表
* @return Tags 标签列表
*/
public Tag [] getTags() {
return this.Tags;
}
/**
* Set 标签列表
* @param Tags 标签列表
*/
public void setTags(Tag [] Tags) {
this.Tags = Tags;
}
/**
* Get 计费模式。1: 预付费; 2: 后付费; 3:预付费转后付费中
* @return CpmPayMode 计费模式。1: 预付费; 2: 后付费; 3:预付费转后付费中
*/
public Long getCpmPayMode() {
return this.CpmPayMode;
}
/**
* Set 计费模式。1: 预付费; 2: 后付费; 3:预付费转后付费中
* @param CpmPayMode 计费模式。1: 预付费; 2: 后付费; 3:预付费转后付费中
*/
public void setCpmPayMode(Long CpmPayMode) {
this.CpmPayMode = CpmPayMode;
}
/**
* Get 带外IP
* @return DhcpIp 带外IP
*/
public String getDhcpIp() {
return this.DhcpIp;
}
/**
* Set 带外IP
* @param DhcpIp 带外IP
*/
public void setDhcpIp(String DhcpIp) {
this.DhcpIp = DhcpIp;
}
/**
* Get 所在私有网络别名
* @return VpcName 所在私有网络别名
*/
public String getVpcName() {
return this.VpcName;
}
/**
* Set 所在私有网络别名
* @param VpcName 所在私有网络别名
*/
public void setVpcName(String VpcName) {
this.VpcName = VpcName;
}
/**
* Get 所在子网别名
* @return SubnetName 所在子网别名
*/
public String getSubnetName() {
return this.SubnetName;
}
/**
* Set 所在子网别名
* @param SubnetName 所在子网别名
*/
public void setSubnetName(String SubnetName) {
this.SubnetName = SubnetName;
}
/**
* Get 所在私有网络CIDR
* @return VpcCidrBlock 所在私有网络CIDR
*/
public String getVpcCidrBlock() {
return this.VpcCidrBlock;
}
/**
* Set 所在私有网络CIDR
* @param VpcCidrBlock 所在私有网络CIDR
*/
public void setVpcCidrBlock(String VpcCidrBlock) {
this.VpcCidrBlock = VpcCidrBlock;
}
/**
* Get 所在子网CIDR
* @return SubnetCidrBlock 所在子网CIDR
*/
public String getSubnetCidrBlock() {
return this.SubnetCidrBlock;
}
/**
* Set 所在子网CIDR
* @param SubnetCidrBlock 所在子网CIDR
*/
public void setSubnetCidrBlock(String SubnetCidrBlock) {
this.SubnetCidrBlock = SubnetCidrBlock;
}
/**
* Get 标识是否是竞价实例。0: 普通设备; 1: 竞价实例设备
* @return IsLuckyDevice 标识是否是竞价实例。0: 普通设备; 1: 竞价实例设备
*/
public Long getIsLuckyDevice() {
return this.IsLuckyDevice;
}
/**
* Set 标识是否是竞价实例。0: 普通设备; 1: 竞价实例设备
* @param IsLuckyDevice 标识是否是竞价实例。0: 普通设备; 1: 竞价实例设备
*/
public void setIsLuckyDevice(Long IsLuckyDevice) {
this.IsLuckyDevice = IsLuckyDevice;
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "InstanceId", this.InstanceId);
this.setParamSimple(map, prefix + "VpcId", this.VpcId);
this.setParamSimple(map, prefix + "SubnetId", this.SubnetId);
this.setParamSimple(map, prefix + "DeviceStatus", this.DeviceStatus);
this.setParamSimple(map, prefix + "OperateStatus", this.OperateStatus);
this.setParamSimple(map, prefix + "OsTypeId", this.OsTypeId);
this.setParamSimple(map, prefix + "RaidId", this.RaidId);
this.setParamSimple(map, prefix + "Alias", this.Alias);
this.setParamSimple(map, prefix + "AppId", this.AppId);
this.setParamSimple(map, prefix + "Zone", this.Zone);
this.setParamSimple(map, prefix + "WanIp", this.WanIp);
this.setParamSimple(map, prefix + "LanIp", this.LanIp);
this.setParamSimple(map, prefix + "DeliverTime", this.DeliverTime);
this.setParamSimple(map, prefix + "Deadline", this.Deadline);
this.setParamSimple(map, prefix + "AutoRenewFlag", this.AutoRenewFlag);
this.setParamSimple(map, prefix + "DeviceClassCode", this.DeviceClassCode);
this.setParamArrayObj(map, prefix + "Tags.", this.Tags);
this.setParamSimple(map, prefix + "CpmPayMode", this.CpmPayMode);
this.setParamSimple(map, prefix + "DhcpIp", this.DhcpIp);
this.setParamSimple(map, prefix + "VpcName", this.VpcName);
this.setParamSimple(map, prefix + "SubnetName", this.SubnetName);
this.setParamSimple(map, prefix + "VpcCidrBlock", this.VpcCidrBlock);
this.setParamSimple(map, prefix + "SubnetCidrBlock", this.SubnetCidrBlock);
this.setParamSimple(map, prefix + "IsLuckyDevice", this.IsLuckyDevice);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy