I dislike these auto-generated hash code functions. I prefer to use the built-in `Objects.hash()`

```Java
public int hashCode() {
  return Objects.hash(token, payload, invalidationTime, priority);
}
```