return product;
}
private static OperatingSystemSectionType createOperatingSystemSection(final TemplateDto disk)
{
final OSType type =
getIfPresent(OSType.class, Objects.firstNonNull(disk.getOsType(), "").toUpperCase())
.or(OSType.OTHER_64);
final OperatingSystemSectionType ossection = new OperatingSystemSectionType();
ossection.setId(type.getCode());
ossection.setVersion(disk.getOsVersion());
ossection.setDescription(CIMTypesUtils.createMsg(type.getDescription(), null));
return ossection;
}