public override int GetHashCode()
        {
            int hashcode = 157;

            unchecked {
                hashcode = (hashcode * 397) + Term.GetHashCode();
                if (__isset.lastLogIndex)
                {
                    hashcode = (hashcode * 397) + LastLogIndex.GetHashCode();
                }
                if (__isset.lastLogTerm)
                {
                    hashcode = (hashcode * 397) + LastLogTerm.GetHashCode();
                }
                if (__isset.follower)
                {
                    hashcode = (hashcode * 397) + Follower.GetHashCode();
                }
                if (__isset.followerIdentifier)
                {
                    hashcode = (hashcode * 397) + FollowerIdentifier.GetHashCode();
                }
                hashcode = (hashcode * 397) + RequirePartitionTable.GetHashCode();
                if (__isset.header)
                {
                    hashcode = (hashcode * 397) + Header.GetHashCode();
                }
            }
            return(hashcode);
        }
        public override int GetHashCode()
        {
            int hashcode = 157;

            unchecked {
                hashcode = (hashcode * 397) + Term.GetHashCode();
                hashcode = (hashcode * 397) + LastLogTerm.GetHashCode();
                hashcode = (hashcode * 397) + LastLogIndex.GetHashCode();
                hashcode = (hashcode * 397) + Elector.GetHashCode();
                if (__isset.header)
                {
                    hashcode = (hashcode * 397) + Header.GetHashCode();
                }
                if (__isset.dataLogLastIndex)
                {
                    hashcode = (hashcode * 397) + DataLogLastIndex.GetHashCode();
                }
                if (__isset.dataLogLastTerm)
                {
                    hashcode = (hashcode * 397) + DataLogLastTerm.GetHashCode();
                }
            }
            return(hashcode);
        }