
com.ksc.epc.model.DeviceAttribute Maven / Gradle / Ivy
package com.ksc.epc.model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import java.util.List;
@Data
@ToString
@EqualsAndHashCode
public class DeviceAttribute {
/**
* 设备属性ID
*/
private String deviceAttributeId;
/**
* 主机机型
*/
private String hostType;
/**
* 主机机型名称
*/
private String hostTypeName;
/**
* 内存
*/
private String memory;
/**
* 网卡
*/
private String networkCard;
/**
* CPU信息
*/
private List cpuDeviceSet;
/**
* GPU信息
*/
private List gpuDeviceSet;
/**
* 物理磁盘
*/
private List physicalDiskDeviceSet;
/**
* 价格信息
*/
private List priceSet;
public void addCpuDeviceSet(CpuDevice... cpuDeviceSet) {
if (this.cpuDeviceSet == null) {
this.cpuDeviceSet = new com.ksc.internal.SdkInternalList();
}
for (CpuDevice value : cpuDeviceSet) {
this.cpuDeviceSet.add(value);
}
}
public void setCpuDeviceSet(List cpuDeviceSet) {
this.cpuDeviceSet = new com.ksc.internal.SdkInternalList(cpuDeviceSet);
}
public void addGpuDeviceSet(GpuDevice... gpuDeviceSet) {
if (this.gpuDeviceSet == null) {
this.gpuDeviceSet = new com.ksc.internal.SdkInternalList();
}
for (GpuDevice value : gpuDeviceSet) {
this.gpuDeviceSet.add(value);
}
}
public void setGpuDeviceSet(List gpuDeviceSet) {
this.gpuDeviceSet = new com.ksc.internal.SdkInternalList(gpuDeviceSet);
}
public void addPhysicalDiskDeviceSet(PhysicalDiskDevice... physicalDiskDeviceSet) {
if (this.physicalDiskDeviceSet == null) {
this.physicalDiskDeviceSet = new com.ksc.internal.SdkInternalList();
}
for (PhysicalDiskDevice value : physicalDiskDeviceSet) {
this.physicalDiskDeviceSet.add(value);
}
}
public void setPhysicalDiskDeviceSet(List physicalDiskDeviceSet) {
this.physicalDiskDeviceSet = new com.ksc.internal.SdkInternalList(physicalDiskDeviceSet);
}
public void addPriceSet(MonthlyPrice... priceSet) {
if (this.priceSet == null) {
this.priceSet = new com.ksc.internal.SdkInternalList();
}
for (MonthlyPrice value : priceSet) {
this.priceSet.add(value);
}
}
public void setPriceSet(List priceSet) {
this.priceSet = new com.ksc.internal.SdkInternalList(priceSet);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy