class AAIObjectMapper {

    public org.onap.aai.domain.yang.VolumeGroup mapVolumeGroup(VolumeGroup volumeGroup) {
        if (modelMapper.getTypeMap(VolumeGroup.class, org.onap.aai.domain.yang.VolumeGroup.class) == null) {
            modelMapper.addMappings(new PropertyMap<VolumeGroup, org.onap.aai.domain.yang.VolumeGroup>() {
                @Override
                protected void configure() {
                    map().setModelCustomizationId(source.getModelInfoVfModule().getModelCustomizationUUID());
                    map().setVfModuleModelCustomizationId(source.getModelInfoVfModule().getModelCustomizationUUID());
                }
            });
        }
        return modelMapper.map(volumeGroup, org.onap.aai.domain.yang.VolumeGroup.class);
    }

}