public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = TestId;
         hashCode = (hashCode * 397) ^ (Title != null ? Title.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ MaxTime.GetHashCode();
         hashCode = (hashCode * 397) ^ (LevelOfDifficulty != null ? LevelOfDifficulty.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (RelevanceStatus != null ? RelevanceStatus.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ RelevanceDate.GetHashCode();
         return(hashCode);
     }
 }
        /// <inheritdoc />
        public override int GetHashCode()
        {
            unchecked
            {
                int hashCode = ChatId != null?ChatId.GetHashCode() : 0;

                hashCode = (hashCode * 397) ^ LastMessageNumber.GetHashCode();
                hashCode = (hashCode * 397) ^ Last.GetHashCode();
                hashCode = (hashCode * 397) ^ Limit.GetHashCode();
                hashCode = (hashCode * 397) ^ MinTime.GetHashCode();
                hashCode = (hashCode * 397) ^ MaxTime.GetHashCode();
                return(hashCode);
            }
        }