/// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
         if (NumberOfUsers != null)
         {
             hashCode = hashCode * 59 + NumberOfUsers.GetHashCode();
         }
         if (NumberOfTracks != null)
         {
             hashCode = hashCode * 59 + NumberOfTracks.GetHashCode();
         }
         if (LastLeqMean != null)
         {
             hashCode = hashCode * 59 + LastLeqMean.GetHashCode();
         }
         if (LastPleasentness != null)
         {
             hashCode = hashCode * 59 + LastPleasentness.GetHashCode();
         }
         if (Timestamp != null)
         {
             hashCode = hashCode * 59 + Timestamp.GetHashCode();
         }
         return(hashCode);
     }
 }
        /// <summary>
        /// Returns true if NoiseCaptureMeta instances are equal
        /// </summary>
        /// <param name="other">Instance of NoiseCaptureMeta to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(NoiseCaptureMeta other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     NumberOfUsers == other.NumberOfUsers ||
                     NumberOfUsers != null &&
                     NumberOfUsers.Equals(other.NumberOfUsers)
                     ) &&
                 (
                     NumberOfTracks == other.NumberOfTracks ||
                     NumberOfTracks != null &&
                     NumberOfTracks.Equals(other.NumberOfTracks)
                 ) &&
                 (
                     LastLeqMean == other.LastLeqMean ||
                     LastLeqMean != null &&
                     LastLeqMean.Equals(other.LastLeqMean)
                 ) &&
                 (
                     LastPleasentness == other.LastPleasentness ||
                     LastPleasentness != null &&
                     LastPleasentness.Equals(other.LastPleasentness)
                 ) &&
                 (
                     Timestamp == other.Timestamp ||
                     Timestamp != null &&
                     Timestamp.Equals(other.Timestamp)
                 ));
        }