import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import com.thoughtworks.xstream.annotations.XStreamImplicit;
import java.util.List;
import cn.epi.lib_base.utils.StringUtil;
@XStreamAlias(“nics”)
public class Nics {
@XStreamImplicit(itemFieldName = “nic”)
private List nic;
public List getNic() {
return nic;
}
public void setNic(List nic) {
this.nic = nic;
}
@XStreamAlias(“nic”)
public static class NicBean {
@XStreamAlias(“actions”)
private String actions;
@XStreamAlias(“name”)
private String name;
@XStreamAlias(“vm”)
private String vm;
@XStreamAlias(“interface”)
private String interfaceX;
@XStreamAlias(“linked”)
private String linked;
@XStreamAlias(“plugged”)
private String plugged;
@XStreamAlias(“reported_devices”)
private ReportedDevicesBean reported_devices;
@XStreamAlias(“vnic_profile”)
private String vnic_profile;
@XStreamAlias(“mac”)
private String mac;
public String getActions() {
return actions;
}
public void setActions(String actions) {
this.actions = actions;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getVm() {
return vm;
}
public void setVm(String vm) {
this.vm = vm;
}
public String getInterfaceX() {
return interfaceX;
}
public void setInterfaceX(String interfaceX) {
this.interfaceX = interfaceX;
}
public String getLinked() {
return linked;
}
public void setLinked(Str