Add support for Go lint and vet tools

Please remove getId, this method is only needed when the id is changed with respect to a previous release (to keep the serialization backward compatible).