public static MongoDBSourceDTO getFromRequest(MongoDBSourceRequest request, String extParams) {
        MongoDBSourceDTO dto = StringUtils.isNotBlank(extParams)
                ? MongoDBSourceDTO.getFromJson(extParams)
                : new MongoDBSourceDTO();
        return CommonBeanUtils.copyProperties(request, dto, true);
    }
Get the dto instance from the request
inlong-manager/manager-pojo/src/main/java/org/apache/inlong/manager/pojo/source/mongodb/MongoDBSourceDTO.java