/// <summary> /// Returns true if LdapAuthenticationModeSubmit instances are equal /// </summary> /// <param name="other">Instance of LdapAuthenticationModeSubmit to be compared</param> /// <returns>Boolean</returns> public bool Equals(LdapAuthenticationModeSubmit other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Uuid == other.Uuid || Uuid != null && Uuid.Equals(other.Uuid) ) && ( Name == other.Name || Name != null && Name.Equals(other.Name) ) && ( HostName == other.HostName || HostName != null && HostName.Equals(other.HostName) ) && ( Port == other.Port || Port.Equals(other.Port) ) && ( IsLdaps == other.IsLdaps || IsLdaps.Equals(other.IsLdaps) ) && ( Account == other.Account || Account != null && Account.Equals(other.Account) ) && ( Password == other.Password || Password != null && Password.Equals(other.Password) ) && ( BaseDn == other.BaseDn || BaseDn != null && BaseDn.Equals(other.BaseDn) ) && ( LdapAttributes == other.LdapAttributes || LdapAttributes != null && other.LdapAttributes != null && LdapAttributes.SequenceEqual(other.LdapAttributes) )); }
/// <summary> /// Returns true if SecurityContractDefaultConfigurationLdapAuthMode instances are equal /// </summary> /// <param name="other">Instance of SecurityContractDefaultConfigurationLdapAuthMode to be compared</param> /// <returns>Boolean</returns> public bool Equals(SecurityContractDefaultConfigurationLdapAuthMode other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Name == other.Name || Name != null && Name.Equals(other.Name) ) && ( HostName == other.HostName || HostName != null && HostName.Equals(other.HostName) ) && ( Port == other.Port || Port.Equals(other.Port) ) && ( IsLdaps == other.IsLdaps || IsLdaps.Equals(other.IsLdaps) ) && ( Account == other.Account || Account != null && Account.Equals(other.Account) ) && ( BaseDn == other.BaseDn || BaseDn != null && BaseDn.Equals(other.BaseDn) ) && ( LdapAttributes == other.LdapAttributes || LdapAttributes != null && other.LdapAttributes != null && LdapAttributes.SequenceEqual(other.LdapAttributes) )); }