use of com.sequenceiq.cloudbreak.api.model.PlatformDisksJson in project cloudbreak by hortonworks.
the class PlatformDiskTypesToPlatformDisksJsonConverter method convert.
@Override
public PlatformDisksJson convert(PlatformDisks source) {
PlatformDisksJson json = new PlatformDisksJson();
json.setDefaultDisks(PlatformConverterUtil.convertDefaults(source.getDefaultDisks()));
json.setDiskTypes(PlatformConverterUtil.convertPlatformMap(source.getDiskTypes()));
json.setDiskMappings(diskMappingsConvert(source.getDiskMappings()));
json.setDisplayNames(PlatformConverterUtil.convertDisplayNameMap(source.getDiskDisplayNames()));
return json;
}
Aggregations