public VmDevice(VmDeviceId id, VmDeviceGeneralType type, String device, String address,
Map<String, Object> specParams,
boolean isManaged,
Boolean isPlugged,
Boolean isReadOnly,
String alias,
Map<String, String> customProperties,
Guid snapshotId,
String logicalName) {
this.id = id;
this.type = type;
this.device = device;
this.address = address;
this.specParams = specParams;
this.managed = isManaged;
this.plugged = isPlugged;
this.readOnly = isReadOnly;
this.alias = alias;
this.customProperties = customProperties;
this.snapshotId = snapshotId;
this.logicalName = logicalName;
this.setAlias(alias);
}