class ResponseStatusMapper extends AbstractParameterMapper<ResponseStatus> implements CustomConverter {

    @Override
    public ResponseStatus fromParameters(Map<String, Object> source, ResponseStatus responseStatus)
            throws MappingException {

        GeosupportReturnCode rc1 = responseStatus.getGeosupportReturnCode();
        if (rc1 == null) {
            rc1 = new GeosupportReturnCode();
            responseStatus.setGeosupportReturnCode(rc1);
        }

        convertToGeosupportReturnCodeOne(source, rc1);

        GeosupportReturnCode rc2 = responseStatus.getGeosupportReturnCode2();
        if (rc2 == null) {
            rc2 = new GeosupportReturnCode();
            responseStatus.setGeosupportReturnCode2(rc2);
        }

        convertToGeosupportReturnCodeTwo(source, rc2);

        List<String> similarNames = responseStatus.getSimilarNames();
        similarNames = similarNames != null ? similarNames : new ArrayList<>();

        convertToSimilarNamesList(source, similarNames);

        return responseStatus;
    }

    public  ResponseStatusMapper();

}