setHashes will also set build type when passed in oData