public static TDSQLPostgreSQLSinkDTO getFromRequest(TDSQLPostgreSQLSinkRequest request, String extParams) {
        TDSQLPostgreSQLSinkDTO dto = StringUtils.isNotBlank(extParams)
                ? TDSQLPostgreSQLSinkDTO.getFromJson(extParams)
                : new TDSQLPostgreSQLSinkDTO();
        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/sink/tdsqlpostgresql/TDSQLPostgreSQLSinkDTO.java