@ VisibleForTesting public TDSaveQueryRequest merge ( TDSavedQuery base ) { return new TDSaveQueryRequest ( name . or ( base . getName ( ) ) , cron . or ( base . getCron ( ) ) , type . or ( base . getType ( ) ) , query . or ( base . getQuery ( ) ) , timezone . or ( base . getTimezone ( ) ) , delay . or ( base . getDelay ( ) ) , database . or ( base . getDatabase ( ) ) , priority . or ( base . getPriority ( ) ) , retryLimit . or ( base . getRetryLimit ( ) ) , result . or ( base . getResult ( ) ) , engineVersion . isPresent ( ) ? engineVersion . get ( ) : base . getEngineVersion ( ) ) ; }
Apply this update to the given TDSaveQuery objects and create a new TDSaveQueryRequest object .