/// <summary> /// Returns true if EncryptNofuJohoResponse instances are equal /// </summary> /// <param name="other">Instance of EncryptNofuJohoResponse to be compared</param> /// <returns>Boolean</returns> public bool Equals(EncryptNofuJohoResponse other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( EncryptedNofuJoho == other.EncryptedNofuJoho || EncryptedNofuJoho != null && EncryptedNofuJoho.Equals(other.EncryptedNofuJoho) ) && ( NofuJokyo == other.NofuJokyo || NofuJokyo != null && NofuJokyo.Equals(other.NofuJokyo) ) && ( NofuNichiji == other.NofuNichiji || NofuNichiji != null && NofuNichiji.Equals(other.NofuNichiji) )); }
/// <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 (EncryptedNofuJoho != null) { hashCode = hashCode * 59 + EncryptedNofuJoho.GetHashCode(); } if (NofuJokyo != null) { hashCode = hashCode * 59 + NofuJokyo.GetHashCode(); } if (NofuNichiji != null) { hashCode = hashCode * 59 + NofuNichiji.GetHashCode(); } return(hashCode); } }