/// <summary> /// Returns true if TermsOfServiceSubmit instances are equal /// </summary> /// <param name="other">Instance of TermsOfServiceSubmit to be compared</param> /// <returns>Boolean</returns> public bool Equals(TermsOfServiceSubmit other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Uuid == other.Uuid || Uuid != null && Uuid.Equals(other.Uuid) ) && ( AgreementName == other.AgreementName || AgreementName != null && AgreementName.Equals(other.AgreementName) ) && ( AgreementFileData == other.AgreementFileData || AgreementFileData != null && AgreementFileData.Equals(other.AgreementFileData) ) && ( AutoUpdate == other.AutoUpdate || AutoUpdate.Equals(other.AutoUpdate) ) && ( SubRealmId == other.SubRealmId || SubRealmId != null && SubRealmId.Equals(other.SubRealmId) )); }