/// <summary> /// Returns true if TermsOfService instances are equal /// </summary> /// <param name="other">Instance of TermsOfService to be compared</param> /// <returns>Boolean</returns> public bool Equals(TermsOfService 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) ) && ( Version == other.Version || Version != null && Version.Equals(other.Version) ) && ( AgreementFileData == other.AgreementFileData || AgreementFileData != null && AgreementFileData.Equals(other.AgreementFileData) ) && ( TeamIds == other.TeamIds || TeamIds != null && other.TeamIds != null && TeamIds.SequenceEqual(other.TeamIds) ) && ( AcceptedUserIds == other.AcceptedUserIds || AcceptedUserIds != null && other.AcceptedUserIds != null && AcceptedUserIds.SequenceEqual(other.AcceptedUserIds) ) && ( SubRealmId == other.SubRealmId || SubRealmId != null && SubRealmId.Equals(other.SubRealmId) )); }
/// <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) )); }